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:
delangel 2011-01-04 18:01:48 +00:00
parent 5583fa179b
commit caedfed860
1 changed files with 2 additions and 2 deletions

View File

@ -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;