Not logged in : Login |
```#+ summary: Get annotations from SGN, Ensembl and UniProt given a gene ID. #+ tags: #+ - Get annotations given a gene #+ defaults: #+ - geneid: "'Solyc01g00500*'" PREFIX rdf: PREFIX rdfs: PREFIX owl: PREFIX dcterms: PREFIX dc: PREFIX skos: PREFIX uniprot: PREFIX so: PREFIX go: PREFIX Gene: PREFIX ensembl: PREFIX bif: SELECT ?gene_id ?gene_name ?transcript_id ?sgn_des ?uniprot_acc ?uniprot_reviewed ?uniprot_existence (GROUP_CONCAT(DISTINCT(?uniprot_des); separator=", ") AS ?uniprot_des) (REPLACE(GROUP_CONCAT(DISTINCT(CONCAT(?go_id, ' [', ?go_term, ']')); separator="; "), ' \\[\\]', '') AS ?uniprot_goa) FROM FROM FROM FROM FROM FROM FROM FROM FROM WHERE { ?gene a Gene: ; dcterms:identifier ?gene_id ; so:transcribed_to ?transcript . ?transcript rdfs:comment ?sgn_des ; dcterms:identifier ?transcript_id . OPTIONAL { ?transcript owl:sameAs/so:translates_to ?ensembl_prot . ?ensembl_prot ensembl:CHECKSUM|ensembl:SEQUENCE_MATCH ?uniprot . ?uniprot dc:identifier ?uniprot_acc ; dc:description ?uniprot_des ; uniprot:existence/rdfs:label ?uniprot_existence ; uniprot:reviewed ?uniprot_reviewed . OPTIONAL { ?uniprot uniprot:encodedBy/skos:prefLabel ?gene_name. } OPTIONAL { ?go ^uniprot:classifiedWith ?uniprot ; go:id ?go_id OPTIONAL { ?go rdfs:label ?go_term } } } ?gene_id bif:contains ?_geneid } GROUP BY ?gene_id ?gene_name ?transcript_id ?sgn_des ?uniprot_acc ?uniprot_reviewed ?uniprot_existence ```
Attributes | Values |
---|---|
type | |
comment |
|
described by | |
description |
|
target | |
topic | |
is potentialAction of | |
is isWebServiceOf of |