def test_non_coding_large(self):
     feats = [(23044091,23044218),(23045020,23045059),(23042605,23042660)]
     feats.sort()
     search_start = 2304000
     search_end = 23045091
     cns_size = 30
     non_coding_seq = non_coding(feats,cns_size,search_start,search_end)
 def test_non_coding_geneends(self):
     feats =[(30,33),(38,40),(55,68)]
     search_start = 20
     search_end = 68
     cns_size = 5
     non_coding_seq = non_coding(feats,cns_size,search_start,search_end)
     expected = [[41, 42, 43, 44, 45, 46, 47, 48, 49], [20, 21, 22, 23, 24]]
     self.assertEqual(expected,non_coding_seq)
 def test_non_coding(self):
     feats =[(30,33),(38,40),(55,60)]
     search_start = 0
     search_end = 68
     cns_size = 5
     non_coding_seq = non_coding(feats,cns_size,search_start,search_end)
     expected = [[41, 42, 43, 44, 45, 46, 47, 48, 49], [0, 1, 2, 3, 4, 5, 6,
         7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
         24], [61], [62], [63]]
     self.assertEqual(expected,non_coding_seq)