Genomic feature coordinates with names and introns

62 views
Skip to first unread message

B

unread,
Jun 25, 2018, 9:45:15 AM6/25/18
to ebi-proteins-api
Hello!

I'm looking for some help stitching together a request to your API, accessed here.  I'm using P01106 here for demonstration.  I'd like protein features with their descriptions ("Note" fields), positioned on the genome, with intron gaps.

1) This query gets aa coordinates for features with descriptions (e.g.: I can tell this is a "NR LBD" domain):
$curl -sX GET --header 'Accept:text/x-gff' 'https://www.ebi.ac.uk/proteins/api/features?offset=0&size=-1&accession=P01106' | grep -i "domain"
P10275 UniProtKB DOMAIN 669 900 . . . Note=NR LBD;Ontology_term=ECO:0000255;evidence=ECO:0000255|PROSITE-ProRule:PRU01189

2) This query gets genomic coordinates for features, but the Note field is lost:
$curl -sX GET --header 'Accept:text/x-gff' 'https://www.ebi.ac.uk/proteins/api/coordinates?offset=0&size=-1&accession=P10275' | grep -i "domain"
P10275 UniProtKB domain 669 900 . + . \
  GenomeLocStart=67711521;GenomeLocEnd=67723778;Chromosome=X;EnsemblTranslationId=ENSP00000363822;EnsemblGeneId=ENSG00000169083;EnsemblTranscriptId=ENST00000374690

Finally, if you go to those coordinates in the UCSC browser:




















You can clearly see this region contains four or five introns, which the genome loci returned by query (2) fail to reflect.

First - can I issue a single query that pulls the Note field for genomic coordinate queries?  Second - do you have any amenities to deal with introns in your API?

Thanks for developing such a great resource,
Brendan

B

unread,
Jun 25, 2018, 9:46:33 AM6/25/18
to ebi-proteins-api
Correction - I switched to "P10275" partway through this because it better illustrates the intron issue

Jie Luo

unread,
Jul 19, 2018, 7:07:39 AM7/19/18
to ebi-proteins-api
Hi 
The Note data NR LBD is in xml and json output. We will update our API to add the note to gff output in the next release

The coordinate service only have exons no introns, i am afraid. 
Reply all
Reply to author
Forward
0 new messages