wikipathways / wikipathways/GPML2RDF

Add enzymes/genes/proteins from a group to an interaction

Open
#52 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

In the RDF, all the GeneProduct/Protein DataNodes are stored as being part of the pathway.

However, if a geneprod/protein is part of a group or complex, there is no connection to the interaction it is connected to... The dcterms:isPartOf only refers to the PW, not to an interaction.
See my statements in bold from the last GPML2RDF run from Jenkins.

See for example: WP1604; UGT1A6 info in the RDF for the group:

http://identifiers.org/ensembl/ENSG00000167165
a wp:Protein , wp:DataNode ;
rdfs:label "UGT1A6"^^xsd:string ;
dc:identifier http://identifiers.org/ensembl/ENSG00000167165 ;
dc:source "Ensembl"^^xsd:string ;
dcterms:identifier "ENSG00000167165"^^xsd:string ;
dcterms:isPartOf http://identifiers.org/wikipathways/WP1604_r95222 ;
wp:bdbEnsembl http://identifiers.org/ensembl/ENSG00000167165 ;
wp:bdbEntrezGene http://identifiers.org/ncbigene/54578 ;
wp:bdbHgncSymbol http://identifiers.org/hgnc.symbol/UGT1A6 ;
wp:bdbUniprot http://identifiers.org/uniprot/C9JMY5 , http://identifiers.org/uniprot/H7C5F8 , http://identifiers.org/uniprot/B5MCT4 , http://identifiers.org/uniprot/P19224 , http://identifiers.org/uniprot/Q5DSZ8 ;
wp:isAbout http://rdf.wikipathways.org/Pathway/WP1604_r95222/DataNode/a2799 .

While for a protein that has been connected separately to an interaction (such as Cyp2D6):

http://identifiers.org/ncbigene/1565
a wp:GeneProduct , wp:DataNode ;
rdfs:label "CYP2D6"^^xsd:string ;
dc:identifier http://identifiers.org/ncbigene/1565 ;
dc:source "Entrez Gene"^^xsd:string ;
dcterms:bibliographicCitation http://identifiers.org/pubmed/16778732 , http://identifiers.org/pubmed/15625333 , http://identifiers.org/pubmed/1782973 ;
dcterms:identifier "1565"^^xsd:string ;
dcterms:isPartOf http://rdf.wikipathways.org/Pathway/WP1604_r95222/WP/Interaction/id67727403 , http://identifiers.org/wikipathways/WP1604_r95222 ;
wp:bdbEnsembl http://identifiers.org/ensembl/ENSG00000100197 ;
wp:bdbEntrezGene http://identifiers.org/ncbigene/1565 , http://identifiers.org/ncbigene/107987479 , http://identifiers.org/ncbigene/107987478 ;
wp:bdbHgncSymbol http://identifiers.org/hgnc.symbol/CYP2D6 ;
wp:bdbUniprot http://identifiers.org/uniprot/E7ENE7 , http://identifiers.org/uniprot/C1ID52 , http://identifiers.org/uniprot/H7BY38 , http://identifiers.org/uniprot/P10635 ;
wp:isAbout http://rdf.wikipathways.org/Pathway/WP1604_r95222/DataNode/a5cfa .

And see the following example (WP2542) for the complex for MsrB2 (only connected to PW):

http://identifiers.org/ensembl/ENSG00000148450
a wp:GeneProduct , wp:DataNode ;
rdfs:label "MsrB2"^^xsd:string ;
dc:identifier http://identifiers.org/ensembl/ENSG00000148450 ;
dc:source "Ensembl"^^xsd:string ;
dcterms:identifier "ENSG00000148450"^^xsd:string ;
dcterms:isPartOf http://identifiers.org/wikipathways/WP2542_r97769 ;
wp:bdbEnsembl http://identifiers.org/ensembl/ENSG00000148450 ;
wp:bdbEntrezGene http://identifiers.org/ncbigene/22921 ;
wp:bdbHgncSymbol http://identifiers.org/hgnc.symbol/MSRB2 ;
wp:bdbUniprot http://identifiers.org/uniprot/H0YE51 , http://identifiers.org/uniprot/Q9Y3D2 ;
wp:isAbout http://rdf.wikipathways.org/Pathway/WP2542_r97769/DataNode/c2ce3 .

And for FMO (uniquely connected, and therefor connected to an interaction):
http://rdf.wikipathways.org/Pathway/WP2542_r97769/WP/Interaction/idd5b178a2
a wp:Catalysis , wp:DirectedInteraction , wp:Interaction ;
dcterms:isPartOf http://identifiers.org/wikipathways/WP2542_r97769 ;
wp:isAbout http://rdf.wikipathways.org/Pathway/WP2542_r97769/Interaction/idd5b178a2 ;
wp:participants http://identifiers.org/wikipedia.en/Flavin-containing_monooxygenase , http://rdf.wikipathways.org/Pathway/WP2542_r97769/WP/Interaction/id1d00538b ;
wp:source http://identifiers.org/wikipedia.en/Flavin-containing_monooxygenase ;
wp:target http://rdf.wikipathways.org/Pathway/WP2542_r97769/WP/Interaction/id1d00538b .

And, another gene (CYP1A2) which is part of a complex, and part of a unique interaction), is also not connected to an interaction (but is is present as 2 datanodes):

http://identifiers.org/ensembl/ENSG00000140505
a wp:GeneProduct , wp:DataNode ;
rdfs:label "CYP1A2"^^xsd:string ;
dc:identifier http://identifiers.org/ensembl/ENSG00000140505 ;
dc:source "Ensembl"^^xsd:string ;
dcterms:identifier "ENSG00000140505"^^xsd:string ;
dcterms:isPartOf http://identifiers.org/wikipathways/WP2542_r97769 ;
wp:bdbEnsembl http://identifiers.org/ensembl/ENSG00000140505 ;
wp:bdbEntrezGene http://identifiers.org/ncbigene/1544 ;
wp:bdbHgncSymbol http://identifiers.org/hgnc.symbol/CYP1A2 ;
wp:bdbUniprot http://identifiers.org/uniprot/P05177 ;
wp:isAbout http://rdf.wikipathways.org/Pathway/WP2542_r97769/DataNode/d8d1c , http://rdf.wikipathways.org/Pathway/WP2542_r97769/DataNode/e312f .

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by tracing the GPML2RDF converter's handling of groups, complexes, and interaction participants, using the WP1604 and WP2542 RDF examples as fixtures. Done means group or complex GeneProduct/Protein DataNodes also have dcterms:isPartOf links to their connected interactions without losing pathway membership.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.