Go

A module for parsing Gene Ontology go.obo files for use in converting GO terms from short to long form.

gfftk.go.go_term_dict()

Parses the Gene Ontology file and returns GO lookup dictionary, version, and date.

The go.obo.gz file is included in the GFFtk package, it can be updated in site-packages/gfftk/data/go.obo.gz

Returns:

  • go (dict of dict) – dictionary of go_term: { “name”: str, “namespace”: str}

  • format_version (str) – version of the go.obo file

  • release_date (str) – release data of the go.obo file