openvax / pyensembl

Python interface to access reference genome features (such as genes, transcripts, and exons) from Ensembl
Apache License 2.0
365 stars 66 forks source link

Ensemble version of transcript in python API? #242

Open arogozhnikov opened 3 years ago

arogozhnikov commented 3 years ago

Ensemble GTF file keeps versions of transcripts, is there way to get those for Transcript object?

iskandr commented 3 years ago

I think we strip it out when parsing the GTF, which I think got added to keep compat. with older GTFs that didn't have these versions.

It wouldn't be hard to keep the versions when present, I'll look into whether that can happen just in pyensembl or also requires changing gtfparse.

arogozhnikov commented 3 years ago

that would be nice. Particular usecases:

austinv11 commented 2 weeks ago

Has there been any update to this? I need to retain transcript ids and transcript versions when doing genome queries.