def test_qc_warnings_2(self): # Large assembly size. warnings = get_qc_warnings(10000000, 250000, 'no', True) self.assertEqual(warnings, 'total_size')
def test_qc_warnings_8(self): # All three warnings. warnings = get_qc_warnings(2000000, 1000, 'yes (1000)', True) self.assertEqual(warnings, 'total_size,N50,ambiguous_bases')
def test_qc_warnings_1(self): # A perfectly nice assembly - yields no warnings. warnings = get_qc_warnings(5500000, 250000, 'no', True) self.assertEqual(warnings, '-')
def test_qc_warnings_7(self): # Has ambiguous bases warnings = get_qc_warnings(5500000, 250000, 'yes (50)', True) self.assertEqual(warnings, 'ambiguous_bases')
def test_qc_warnings_6(self): # Small N50. warnings = get_qc_warnings(5500000, 1000, 'no', True) self.assertEqual(warnings, 'N50')
def test_qc_warnings_5(self): # Small assembly size, but not KpSC so no warning. warnings = get_qc_warnings(2000000, 250000, 'no', False) self.assertEqual(warnings, '-')
def test_qc_warnings_4(self): # Small assembly size. warnings = get_qc_warnings(2000000, 250000, 'no', True) self.assertEqual(warnings, 'total_size')
def test_qc_warnings_3(self): # Large assembly size, but not KpSC so no warning. warnings = get_qc_warnings(10000000, 250000, 'no', False) self.assertEqual(warnings, '-')