floratos-lab / geworkbench-web

geWorkbench web application - the evolution of geWorkbench project into the age of cloud computing.
3 stars 3 forks source link

CNKB - the value of gene type and annotation are not populated #26

Closed minyou closed 10 years ago

minyou commented 10 years ago

the value of gene type and annotation are not populated when a query is performed.

minyou commented 10 years ago

This problem is fixed by adding three fields "molecularFunction", "cellularComponent", "biologicalProcesse" to AnnotationEntry table. Then Goterm ID can be stored in these fields. Then cnkb can use these Goterm IDs to retrieve detailed information from GeneOntologyTree.

Please note: GeneOntologyTree.getInstance() is called when geWorkbench web server starts, then application has enough time to build GeneOntologyTree.

minyou commented 10 years ago

replace goInfoStr and geneType by using their goterm Ids Currently cnkb displays "Biological Process" on column "Go Annotation", please see ralated mantis bug 2765