obo2tsv parses a gene ontology obo file to tsv. It will include for each term columns for parent terms as well as child terms.


$ obo2tsv -u \
-o go-basic.tsv -c 4 \

Links to other --organism can be found on


$ obo2tsv --help

usage: obo2tsv [-h] [-i INPUT] [-u URL] [-o OUTPUT] [-c CPUS]
               [--organism ORGANISM]

obo to tsv parser

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        go-basic.obo file. Files can be downloaded from
                        (default: None)
  -u URL, --url URL     If no go-basic.obo input file is specified, a url to a
                        target obo file can be specified instead. (default:
  -o OUTPUT, --output OUTPUT
                        Name of output tab separated file. (default: go-
  -c CPUS, --cpus CPUS  Number of cpus. (default: 36)
  --organism ORGANISM   Optional, merge GO obo.tsv with a GO annotation for an
                        organism: either a link to a file on
                        associations/gene_association.fb.gz or the path for
                        the respective downloded .gz file. (default: None)