def test_compare_sorf_srna(self): sorfs = [{ "strain": "aaa", "strand": "+", "start": 2, "end": 6, "starts": [str(2)], "ends": [str(10)], "seq": "ATGTA", "type": "3utr", "print": False, "rbs": [1] }] sd.compare_sorf_srna(sorfs, self.example.srnas, "test") self.assertListEqual(sorfs, [{ 'print': False, 'starts': ['2'], 'seq': 'ATGTA', 'strand': '+', 'srna': ['srna0:5-8_f'], 'end': 6, 'rbs': [1], 'ends': ['10'], 'start': 2, 'strain': 'aaa', 'type': '3utr' }])
def test_compare_sorf_srna(self): sorfs = [{"strain": "aaa", "strand": "+", "start": 2, "end": 6, "starts": [str(2)], "ends": [str(10)], "seq": "ATGTA", "type": "3utr", "print": False, "rbs": [1]}] sd.compare_sorf_srna(sorfs, self.example.srnas, "test") self.assertListEqual(sorfs, [{'print': False, 'starts': ['2'], 'seq': 'ATGTA', 'strand': '+', 'srna': ['srna0:5-8_f'], 'end': 6, 'rbs': [1], 'ends': ['10'], 'start': 2, 'strain': 'aaa', 'type': '3utr'}])