You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi team, thanks again for maintaining this library.
We (together with @fkgruber) are trying to use pyensembl with a custom genome build based on GENCODE v48, but we’re running into issues where variant effects are not inferred correctly. For example,
Protein/transcript ID version handling.
It looks like pyensembl trims version suffixes from FASTA IDs (e.g. .1 in ENSPxxx.1), which seems to break mapping between GTF and FASTA entries.
GENCODE GTF includes versioned IDs directly (e.g. ENSTxxx.7, ENSPxxx.1)
Ensembl GTF separates version into a different field (transcript_version, protein_version)
The version trimming seems to occur at these places:
Hi team, thanks again for maintaining this library.
We (together with @fkgruber) are trying to use pyensembl with a custom genome build based on GENCODE v48, but we’re running into issues where variant effects are not inferred correctly. For example,
So far we've identified some potential issues:
Protein/transcript ID version handling.
It looks like pyensembl trims version suffixes from FASTA IDs (e.g.
.1inENSPxxx.1), which seems to break mapping between GTF and FASTA entries.ENSTxxx.7,ENSPxxx.1)transcript_version,protein_version)The version trimming seems to occur at these places:
Biotype field naming differences.
GENCODE uses:
gene_typetranscript_type, while pyensembl expects:gene_biotype,transcript_biotypeModifications to GENCODE GTF to make it work for pyensembl
Questions
Happy to help test or contribute if useful. Thanks again for your work on this project.