示例#1
0
 def test_parse_hgts_jane4(self):
     """ Test functionality of parse_hgts() for Jane 4
     """
     with open(self.jane4_output_hgt_fp, 'r') as f:
         output = parse_hgts(f, 'jane4')
     self.assertEqual(int(output), 1)
示例#2
0
 def test_parse_hgts_rangerdtl(self):
     """ Test functionality of parse_hgts() for RANGER-DTL-U
     """
     with open(self.rangerdtl_output_hgt_fp, 'r') as f:
         output = parse_hgts(f, 'ranger-dtl')
     self.assertEqual(int(output), 1)
示例#3
0
 def test_parse_hgts_riatahgt(self):
     """ Test functionality of parse_hgts() for RIATA-HGT in PhyloNet
     """
     with open(self.riatahgt_output_hgt_fp, 'r') as f:
         output = parse_hgts(f, 'riata-hgt')
     self.assertEqual(int(output), 1)
示例#4
0
 def test_parse_hgts_trex(self):
     """ Test functionality of parse_hgts() for TREX
     """
     with open(self.trex_output_hgt_fp, 'r') as f:
         output = parse_hgts(f, 'trex')
     self.assertEqual(int(output), 1)
示例#5
0
 def test_parse_hgts_jane4(self):
     """ Test functionality of parse_hgts() for Jane 4
     """
     with open(self.jane4_output_hgt_fp, 'r') as f:
         output = parse_hgts(f, 'jane4')
     self.assertEqual(int(output), 1)
示例#6
0
 def test_parse_hgts_riatahgt(self):
     """ Test functionality of parse_hgts() for RIATA-HGT in PhyloNet
     """
     with open(self.riatahgt_output_hgt_fp, 'r') as f:
         output = parse_hgts(f, 'riata-hgt')
     self.assertEqual(int(output), 1)
示例#7
0
 def test_parse_hgts_rangerdtl(self):
     """ Test functionality of parse_hgts() for RANGER-DTL-U
     """
     with open(self.rangerdtl_output_hgt_fp, 'r') as f:
         output = parse_hgts(f, 'ranger-dtl')
     self.assertEqual(int(output), 1)
示例#8
0
 def test_parse_hgts_trex(self):
     """ Test functionality of parse_hgts() for TREX
     """
     with open(self.trex_output_hgt_fp, 'r') as f:
         output = parse_hgts(f, 'trex')
     self.assertEqual(int(output), 1)