Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No protein version from overlap/id/:id end point results #1786

Open
XLIU-hub opened this issue Nov 8, 2024 · 1 comment
Open

No protein version from overlap/id/:id end point results #1786

XLIU-hub opened this issue Nov 8, 2024 · 1 comment
Assignees

Comments

@XLIU-hub
Copy link

XLIU-hub commented Nov 8, 2024

Describe the issue

Hi, I am using the rest api end point overlap/id/:id to retrieve features (gene -> transcript -> exon -> cds) that overlap with a transcript region. I cannot find version numbers to all the protein identifiers, for example (https://rest.ensembl.org/overlap/id/ENST00000396373?feature=gene;feature=transcript;feature=exon;feature=cds;content-type=text/x-gff3)

Do you think maybe I can get this features info and the protein version info in one go? @pemtaschner Or I can get this protein version from other api endpoints?

Many thnaks!

@nakib103 nakib103 self-assigned this Nov 8, 2024
@nakib103
Copy link
Contributor

Hello @XLIU-hub ,

Thanks for your query!

You can get the protein version using the lookup/id/:id endpoint, for example -

https://rest.ensembl.org/lookup/id/ENSP00000441463?content-type=application/json
{
  "Parent": "ENST00000545027",
  "length": 88,
  "end": 11840483,
  "version": 1,
  "object_type": "Translation",
  "id": "ENSP00000441463",
  "db_type": "core",
  "start": 11752501,
  "species": "homo_sapiens"
}

Best regards,
Nakib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants