Esempio n. 1
0
 def test_validate_srna(self):
     sorf = {"strain": "aaa", "strand": "+", "start": 2, "end": 6,
             "starts": [str(2)], "ends": [str(10)], "seq": "ATGTA",
             "type": "3utr", "print": False, "rbs": ["1"], "start_TSS": "1",
             "with_TSS": ["TSS:3_+"], "srna": ["sRNA:2-5_+"], "candidate": ["AAA"]}
     srnas = sd.validate_srna([2], [6], sorf)
     self.assertListEqual(srnas, ['sRNA:2-5_+'])
 def test_validate_srna(self):
     sorf = {"strain": "aaa", "strand": "+", "start": 2, "end": 6,
             "starts": [str(2)], "ends": [str(10)], "seq": "ATGTA",
             "type": "3utr", "print": False, "rbs": ["1"], "start_TSS": "1",
             "with_TSS": ["TSS_3+"], "srna": ["sRNA:2-5_+"], "candidate": ["AAA"]}
     srnas = sd.validate_srna([2], [6], sorf)
     self.assertListEqual(srnas, ['sRNA:2-5_+'])