Compute Ti/Tv only if bi-allelic
This commit is contained in:
parent
253a07fdb1
commit
18ed954741
|
|
@ -224,7 +224,7 @@ public class VariantSummary extends VariantEvaluator implements StandardEval {
|
|||
allVariantCounts.inc(type, ALL);
|
||||
|
||||
// type specific calculations
|
||||
if ( type == Type.SNP ) {
|
||||
if ( type == Type.SNP && eval.isBiallelic() ) {
|
||||
titvTable = VariantContextUtils.isTransition(eval) ? transitionsPerSample : transversionsPerSample;
|
||||
titvTable.inc(type, ALL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue