N2TAligner

class N2TAligner[source]

Bases: Aligner

Aligner for the N2T.

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.

get_skip()

Get the prefixes in N2T that should be skipped.

getter()

Get the N2T registry.

Attributes Documentation

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

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

key: ClassVar[str] = 'n2t'

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]

get_skip()[source]

Get the prefixes in N2T that should be skipped.

Return type

Mapping[str, str]

getter()

Get the N2T registry.