Solve merge conflict
This commit is contained in:
commit
3e031a540f
|
|
@ -150,14 +150,12 @@ public class IndelGenotypeLikelihoodsCalculationModel extends GenotypeLikelihood
|
|||
// case 1: current insertion is prefix of indel in hash map
|
||||
consensusIndelStrings.put(s, cnt + 1);
|
||||
foundKey = true;
|
||||
break;
|
||||
} else if (indelString.startsWith(s)) {
|
||||
// case 2: indel stored in hash table is prefix of current insertion
|
||||
// In this case, new bases are new key.
|
||||
consensusIndelStrings.remove(s);
|
||||
consensusIndelStrings.put(indelString, cnt + 1);
|
||||
foundKey = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!foundKey)
|
||||
|
|
@ -172,7 +170,6 @@ public class IndelGenotypeLikelihoodsCalculationModel extends GenotypeLikelihood
|
|||
// case 1: current insertion is suffix of indel in hash map
|
||||
consensusIndelStrings.put(s, cnt + 1);
|
||||
foundKey = true;
|
||||
break;
|
||||
} else if (indelString.endsWith(s)) {
|
||||
// case 2: indel stored in hash table is suffix of current insertion
|
||||
// In this case, new bases are new key.
|
||||
|
|
@ -180,7 +177,6 @@ public class IndelGenotypeLikelihoodsCalculationModel extends GenotypeLikelihood
|
|||
consensusIndelStrings.remove(s);
|
||||
consensusIndelStrings.put(indelString, cnt + 1);
|
||||
foundKey = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!foundKey)
|
||||
|
|
|
|||
Loading…
Reference in New Issue