PrefixCommonsAligner

class PrefixCommonsAligner[source]

Bases: Aligner

Aligner for Prefix Commons.

Instantiate the aligner.

Attributes Summary

curation_header

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

include_new

Should new entries be included automatically? Only set this true for aligners of very high confidence (e.g., OBO Foundry but not BioPortal)

key

The key for the external registry

Methods Summary

get_curation_row(external_id, external_entry)

Prepare curation rows for unaligned Prefix Commons registry entries.

getter()

Get the Life Science Registry.

Attributes Documentation

curation_header: ClassVar[Sequence[str]] = ('name', 'miriam', 'bioportal', 'description', 'example', 'pattern', 'uri_format')

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

include_new: ClassVar[bool] = False

Should new entries be included automatically? Only set this true for aligners of very high confidence (e.g., OBO Foundry but not BioPortal)

key: ClassVar[str] = 'prefixcommons'

The key for the external registry

Methods Documentation

get_curation_row(external_id, external_entry)[source]

Prepare curation rows for unaligned Prefix Commons registry entries.

Return type

Sequence[str]

getter()

Get the Life Science Registry.