goatools.go_search module¶ Used to find all genes or gene products annotated w/GO terms that match a regex. class goatools.go_search.GoSearch(fin_go_basic_obo, go2items, log=None, goa_srch_hdrs=None)[source]¶ Bases: object Returns GOs matching a regex pattern. DEF_SRCH_HDRS = ['name']¶ get_matching_gos(compiled_pattern, **kws)[source]¶ Return all GOs which match the user regex pattern. add_children_gos(gos)[source]¶ Return children of input gos plus input gos. get_items(gos)[source]¶ Given GO terms, return genes or gene products for the GOs.