tanghaibao / goatools

Python library to handle Gene Ontology (GO) terms
BSD 2-Clause "Simplified" License
771 stars 211 forks source link

Better support for obsolete terms (#276, thanks @Maxim-Karpov) #277

Closed tanghaibao closed 1 year ago

tanghaibao commented 1 year ago

This PR adds option --obsolete to find_enrichment.py.

  --obsolete {keep,replace,skip}
                        Strategy for handling obsolete GO terms (default: skip)

The replace strategy updates the obsolete GO term with terms suggested in replaced_by and consider.