BioPortalAligner

class BioPortalAligner[source]

Bases: bioregistry.align.utils.Aligner

Aligner for BioPortal.

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 BioPortal registry.

prepare_external(external_id, external_entry)

Prepare BioPortal data to be added to the Bioregistry for each BioPortal registry entry.

Attributes Documentation

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

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

key: ClassVar[str] = 'bioportal'

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 BioPortal registry.

prepare_external(external_id, external_entry)[source]

Prepare BioPortal data to be added to the Bioregistry for each BioPortal registry entry.

Return type

Dict[str, Any]