Exemplo n.º 1
0
        public void GetPloidyFromGenotypes_DotIsIgnored()
        {
            var genotypes = new[] { Genotype.GetGenotype("."), Genotype.GetGenotype("1|2"), Genotype.GetGenotype("0/2") };
            var ploidy    = AlleleBlock.GetMaxPloidy(genotypes);

            Assert.Equal(2, ploidy);
        }