def test_make_most_abundant(self): """make_most_abundant should return function with correct behavior""" ids = "R27DLI_4812 R27DLI_600 R27DLI_727 U1PLI_403 U1PLI_8969".split() seqs = dict(MinimalFastaParser(dna_seqs.splitlines(), label_to_name=label_to_name)) f = make_most_abundant(seqs) result = f(ids, seqs) assert result in ["R27DLI_4812", "R27DLI_727", "U1PLI_8969"]
def test_make_most_abundant(self): """make_most_abundant should return function with correct behavior""" ids = \ "R27DLI_4812 R27DLI_600 R27DLI_727 U1PLI_403 U1PLI_8969".split() seqs = dict(MinimalFastaParser(dna_seqs.splitlines(), label_to_name=label_to_name)) f = make_most_abundant(seqs) result = f(ids, seqs) assert result in ['R27DLI_4812','R27DLI_727','U1PLI_8969']
def test_make_most_abundant(self): """make_most_abundant should return function with correct behavior""" ids = \ "R27DLI_4812 R27DLI_600 R27DLI_727 U1PLI_403 U1PLI_8969".split( ) seqs = dict(parse_fasta(dna_seqs.splitlines(), label_to_name=label_to_name)) f = make_most_abundant(seqs) result = f(ids, seqs) assert result in ['R27DLI_4812', 'R27DLI_727', 'U1PLI_8969']