GoAligner

class GoAligner(force_download: bool | None = None)[source]

Bases: Aligner

An aligner for the Gene Ontology (GO) registry.

Instantiate the aligner.

Attributes Summary

curation_header

Header to put on the curation table, corresponding to get_curation_row()

key

The key for the external registry

Methods Summary

get_skip()

Get the skipped GO identifiers.

getter()

Get the GO registry.

prepare_external(external_id, external_entry)

Prepare GO data to be added to the bioregistry for each GO registry entry.

Attributes Documentation

curation_header: ClassVar[Sequence[str]] = ('name', 'description')

Header to put on the curation table, corresponding to get_curation_row()

key: ClassVar[str] = 'go'

The key for the external registry

Methods Documentation

get_skip() Mapping[str, str][source]

Get the skipped GO identifiers.

getter()

Get the GO registry.

prepare_external(external_id: str, external_entry: Mapping[str, Any]) Dict[str, Any][source]

Prepare GO data to be added to the bioregistry for each GO registry entry.