pypath.inputs.go.go_annotations_solr§

pypath.inputs.go.go_annotations_solr(organism=9606, aspects=('C', 'F', 'P'), references=False)[source]§

Queries GO annotations by AmiGO Solr.

Before other methods have been provided to access GO. Now this is the preferred method to get annotations. Returns terms in dict of dicts and annotations in dict of dicts of sets. In both dicts the keys are aspects by their one letter codes. In the term dicts keys are GO accessions and values are their names. In the annotation dicts keys are UniProt IDs and values are sets of GO accessions.

Parameters:
  • organism (int) – NCBI Taxonomy ID of one organism. Default is human (9606).

  • aspects (tuple) – GO aspects: C, F and P for cellular_component, molecular_function and biological_process, respectively.

  • references (bool) – Retrieve the references (PubMed IDs) for the annotations. Currently not implemented.