UniProtAligner

class UniProtAligner[source]

Bases: Aligner

Aligner for UniProt.

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_curation_row(external_id, external_entry)

Prepare curation rows for unaligned BioPortal registry entries.

getter()

Get the UniProt registry.

Attributes Documentation

curation_header: ClassVar[Sequence[str]] = ('id', 'name', 'uri_format', 'category')

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

key: ClassVar[str] = 'uniprot'

The key for the external registry

Methods Documentation

get_curation_row(external_id, external_entry)[source]

Prepare curation rows for unaligned BioPortal registry entries.

Return type

Sequence[str]

getter()

Get the UniProt registry.

Return type

Mapping[str, Mapping[str, str]]