def test_transcript_splice_junctions(): f = dummy('g.gff') features = Feature.from_file(f.name) juncs = transcript_splice_junctions(features) eq_({ 'Chr1_40.1': [220, 302], 'Chr1_364.1': [83], 'Chr1_366.1': [90, 196, 326, 535], }, juncs)
def test_transcript_splice_junctions(): f = dummy('g.gff') features = Feature.from_file(f.name) juncs = transcript_splice_junctions(features) eq_( { 'Chr1_40.1': [220, 302], 'Chr1_364.1': [83], 'Chr1_366.1': [90, 196, 326, 535], }, juncs)
def mapper_init(self): """TODO""" features = Feature.from_file(self.options.reference) self.junctions = transcript_splice_junctions(features)