Fix for variant summary -- now treats all 50 bp deletions or insertions as CNVs

This commit is contained in:
Mark DePristo 2011-12-07 09:02:49 -05:00
parent 3060a4a15e
commit 6bf18899df
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ public class VariantSummary extends VariantEvaluator implements StandardEval {
return Type.SNP;
case INDEL:
for ( int l : vc.getIndelLengths() )
if ( l > MAX_INDEL_LENGTH )
if ( Math.abs(l) > MAX_INDEL_LENGTH )
return Type.CNV;
return Type.INDEL;
case SYMBOLIC: