Пример #1
0
 def test_find_contribs_from_reads_wts_save_min_reads(self):
     self.args.min_reads = 2
     self.wts = [1, 1, 2]
     res = assemble._find_contribs_from_reads(self.mix_mat, self.wts,
                                              self.args)
     exp = [0, 4]
     self.assertEqual(res, exp)
Пример #2
0
 def test_find_contribs_from_reads_wts_all_one_min_reads(self):
     self.args.min_reads = 2
     res = assemble._find_contribs_from_reads(self.mix_mat, self.wts,
                                              self.args)
     exp = [0]
     self.assertEqual(res, exp)