\(GO_3\)

Table of Contents

GO3

\(GO_3\). is a Python library to work with the Gene Ontology (GO). It can calculate similarities between individual terms or between sets of terms. It also can calculate similarities between genes directly with the associated GO Terms from any given sub-ontology: MF, BP or CC.

Main features

Installation

go3 is provided as binary wheels for most platforms on PyPI (Linux, Windows and MacOS). You can run

pip install go3

go3 does not ship with any prebuilt GO Ontology by default. If you don’t provide any .obo, when you try to load the ontology into memory it automatically downloads the last version of go-basic.obo.

Examples

import go3

# Initialize the ontology
go3.load_go_terms()

# Load an specific GO Term
term_1 = go3.get_term_by_id("GO:0006397")

print(term_1.name)
#> mRNA processing

Examples in batch computing