WormBase / genedesc_generator

Automated gene descriptions generator for model organism databases
Other
1 stars 0 forks source link

For each evidence group (and aspect), keep the most granular GO term #6

Closed rankishore closed 6 years ago

rankishore commented 6 years ago

For each evidence group (Experimental, Sequence based analysis, Phylogenetic analysis, and electronic and computational analysis), in each aspect (P, C or F) keep the most granular GO term. This can be done by excluding the parent term(s) of any of the GO terms, in an iterative process.

valearna commented 6 years ago

We firstly collect all terms and then, for each of them, we get the set of their parents (all the nodes above them in the ontology) and we remove these parents, if present, from the set of terms.