NAME
KBase::Bio::IDServer
DESCRIPTION
$idserver = Bio::KBase::IDServer->new($url)
Create an ID server client.
$result = kbase_ids_to_external_ids(ids)
Given a set of KBase identifiers, look up the associated external identifiers. If no external ID is associated with the KBase id, no entry will be present in the return.
$result = external_ids_to_kbase_ids(external_db, ext_ids)
Given a set of external identifiers, look up the associated KBase identifiers. If no KBase ID is associated with the external id, no entry will be present in the return.
$result = register_ids(prefix, db_name, ids)
Register a set of identifiers. All will be assigned identifiers with the given prefix.
If an external ID has already been registered, the existing registration will be returned instead of a new ID being allocated.
$result = allocate_id_range(kbase_id_prefix, count)
Allocate a set of identifiers. This allows efficient registration of a large number of identifiers (e.g. several thousand features in a genome).
The return is the first identifier allocated.
$result = register_allocated_ids(prefix, db_name, assignments)
Register the mappings for a set of external identifiers. The KBase identifiers used here were previously allocated using allocate_id_range.
Does not return a value.