statonlab / hardwoods_site

Hardwoods Genomics bugs, data loading, and general issues
GNU General Public License v3.0
2 stars 1 forks source link

Multiple genome versions - GO and KEGG #519

Closed mestato closed 5 years ago

mestato commented 5 years ago

Bug description

We have two different genome analyses and associated features w/ functional annotation loaded for C. mollissima (1.1 and 3.2). This should result in a drop down on the X-ray pane (GO and KEGG specifically) to select the genome analysis, but that isn't present. Instead results seem to be only from v1.1 features.

GO: https://www.hardwoodgenomics.org/organism/Castanea/mollissima?tripal_pane=group_ontology

KEGG: https://www.hardwoodgenomics.org/organism/Castanea/mollissima?tripal_pane=group_kegg_browser

Location

Screenshots

Additional info

almasaeed2010 commented 5 years ago

Before we dig too deep into this, I am gonna re-run the indexer to see if that helps. If it doesn't, it probably means that the functionality does not exist.

almasaeed2010 commented 5 years ago

We might be able to get this done without having to change the indexing process by limiting results to a given analysis. We'd need to figure out how to extract unique analyses for an organism that we care about (ie interpro, go, kegg analyses only instead of all analyses).

We currently have the following info:

This solution however might slow down the initial loading of the tree significantly. If that's the case, we'll have to enable caching or indexing depending on how slow it gets.

almasaeed2010 commented 5 years ago

This is now available live for the browser. Unfortunately the listing page doesn't use the same functions to build the results table so we'll have to re-implement the solution for there as well.

almasaeed2010 commented 5 years ago

Ok I think this is ready and live.

@mestato can you take a look when you get a chance? https://www.hardwoodgenomics.org/organism/Castanea/mollissima?tripal_pane=group_kegg_browser

Note this organism (as of today) does not have GO terms loaded for the new 3.2/4.1 version but does have KEGG

almasaeed2010 commented 5 years ago

@mestato the issue we encountered in the entities list page has been fixed. It now takes into account the selected analysis.

Screen Shot 2019-05-10 at 7 43 59 AM