Exemplo n.º 1
0
    def test_shouldKeep_kpic_gappy_keep(self):
        ## setup
        mode = TrimmingMode.kpic_gappy
        gappyness = 0.70
        gaps = 0.9
        parsimony_informative = False
        constant_site = True

        assert True == shouldKeep(mode, parsimony_informative, constant_site,
                                  gappyness, gaps)
Exemplo n.º 2
0
    def test_shouldKeep_kpic_trim(self):
        ## setup
        mode = TrimmingMode.kpic
        gappyness = 0.95
        gaps = 0.9
        parsimony_informative = False
        constant_site = False

        assert False == shouldKeep(mode, parsimony_informative, constant_site,
                                   gappyness, gaps)