Changeset 6011


Ignore:
Timestamp:
Sep 25, 2020, 9:00:41 AM (12 months ago)
Author:
Nicklas Nordborg
Message:

Fixes #1267: Mutation signature results are assigned to incorrect annotations

The code has been fixed. Already existing information need to be fixed by manual procedure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/branches/4.27-stable/src/net/sf/basedb/reggie/grid/VariantCallingJobCreator.java

    r5964 r6011  
    864864          if (m.matches())
    865865          {
    866             int index = Values.getInt(m.group(1));
     866            int index = Values.getInt(m.group(1))-1;
    867867            float score = Values.getFloat(m.group(2));
    868             if (score > 0 && index > 0 && index < mutationSignatureScore.length)
     868            if (score > 0 && index >= 0 && index < mutationSignatureScore.length)
    869869            {
    870870              mutationSignatureScore[index] = score;
Note: See TracChangeset for help on using the changeset viewer.