Hi,
Thanks for developing such a excellent tool! I want to pyensembl to get all exon coordinates of a transcript. It seems transcript.exon_intervals is the most straightforward way, but I found the coordinates I got from transcript.exon_intervals are not same as those from [transcript.exons.start transcript.exons.end].
For example, the transcript ENST00000321265:
Transcript(transcript_id='ENST00000321265', transcript_name='NUDC-001', gene_id='ENSG00000090273', biotype='protein_coding', contig='1', start=27248217, end=27273353, strand='+', genome='User-defined')
When I use transcript.exons, it shows there are 9 exons:
I found the first 9 intervals are same as those in transcript.exons. I want to know why there is such difference. Which one should I believe(exons or exon_intervals)? Thanks!
(The ensembl release I used is 75, human)
Hi, Thanks for developing such a excellent tool! I want to pyensembl to get all exon coordinates of a transcript. It seems transcript.exon_intervals is the most straightforward way, but I found the coordinates I got from transcript.exon_intervals are not same as those from [transcript.exons.start transcript.exons.end]. For example, the transcript ENST00000321265:
Transcript(transcript_id='ENST00000321265', transcript_name='NUDC-001', gene_id='ENSG00000090273', biotype='protein_coding', contig='1', start=27248217, end=27273353, strand='+', genome='User-defined')
When I use transcript.exons, it shows there are 9 exons:But when I use transcript.exon_intervals, there are 2049 intervals:
I found the first 9 intervals are same as those in transcript.exons. I want to know why there is such difference. Which one should I believe(exons or exon_intervals)? Thanks! (The ensembl release I used is 75, human)
Yang