PHI-base / PHI5_web_display

PHI5_web_display will allow to display PHI-Canto data
1 stars 0 forks source link

Physical Interaction annotations are missing from host gene pages #54

Closed jseager7 closed 1 year ago

jseager7 commented 2 years ago

The host gene pages do not show Physical Interaction annotations that involve the host gene: this information is only shown on the pathogen gene pages, but it should be shown on both pathogen and host gene pages.

For example, given the following physical_interaction annotation:

{
    "checked": "no",
    "creation_date": "2021-04-19",
    "curator": {
        "community_curated": false
    },
    "evidence_code": "Two-hybrid",
    "figure": "Figure 5a",
    "gene": "Magnaporthe oryzae G4MXR2",
    "interacting_genes": [
        "Oryza sativa Q5NBT9"
    ],
    "publication": "PMID:30610168",
    "status": "new",
    "submitter_comment": "Other methods also used, coIP and BiFC.",
    "type": "physical_interaction"
},

The display is correct on the pathogen gene page for MGG_08054 (PHIG:294):

image

But the corresponding host gene page (TPR1 of Oryza sativa, PHIG:290) does not display any Physical Interaction annotations.

Here's a mockup of what we expect to see on the host gene page:

image

Basically, whenever a physical_interaction annotation is found in the JSON export, the interaction must be displayed on the gene page for the gene in the gene property, and on the gene page for all genes listed in the interacting_genes property (though I think there will only ever be one gene in the interacting_genes array).

Note also that when the gene of the gene page is in the interacting_genes array, then the "Interacting organism" column group must be populated with the gene (and organism) from the gene property of the physical_interaction annotation.

jashobanta-mcpl commented 1 year ago

Fixed and deployed

jseager7 commented 1 year ago

Confirmed as fixed for PHIG:290 (the gene referenced by PHIG:294).

image