Fix bug where indels being incorrectly classified in VariantEval module
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4929 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
5583fa179b
commit
caedfed860
|
|
@ -337,7 +337,7 @@ public class IndelStatistics extends VariantEvaluator {
|
|||
|
||||
|
||||
// See first if indel is a repetition of bases before current
|
||||
int indStart = refBases.length/2-eventLength;
|
||||
int indStart = refBases.length/2-eventLength+1;
|
||||
|
||||
boolean done = false;
|
||||
int numRepetitions = 0;
|
||||
|
|
@ -359,7 +359,7 @@ public class IndelStatistics extends VariantEvaluator {
|
|||
|
||||
// now do it forward
|
||||
done = false;
|
||||
indStart = refBases.length/2;
|
||||
indStart = refBases.length/2+1;
|
||||
while (!done) {
|
||||
if (indStart + eventLength >= refBases.length)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue