require that snps be biallelic before we pass them to the TiTv calculation.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3316 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
3b52ac67e0
commit
72e030a670
|
|
@ -143,6 +143,7 @@ public class SimpleMetricsByAC extends VariantEvaluator {
|
|||
|
||||
if (eval != null &&
|
||||
eval.isSNP() &&
|
||||
eval.isBiallelic() &&
|
||||
eval.hasGenotypes()) {
|
||||
if ( metrics == null )
|
||||
metrics = new MetricsByAc(2 * eval.getNSamples());
|
||||
|
|
|
|||
Loading…
Reference in New Issue