Bio::I...iableI(3pm)
β¨ Bio::IdentifiableI β¨
okay so bestie, this is the manual page for Bio::IdentifiableI π and if you clock the page header it's also floating around as Bio::I...iableI(3pm) in the User Contributed Perl Documentation set π
anyway, let's get into it.
π NAME π
Bio::IdentifiableI β the interface for objects with identifiers π¦
πΈ SYNOPSIS πΈ
# to test this is an identifiable object
$obj->isa("Bio::IdentifiableI") ||
$obj->throw("$obj does not implement the Bio::IdentifiableI interface");
# Accessors
$object_id = $obj->object_id();
$namespace = $obj->namespace();
$authority = $obj->authority();
$version = $obj->version();
# Gets authority:namespace:object_id
$lsid = $obj->lsid_string();
# Gets namespace:object_id.version
$ns_string = $obj->namespace_string();
π DESCRIPTION π
So this interface describes the methods you're expected to have on identifiable objects β like, the ones that carry identifiers meant to make sense across a whole bunch of instances and/or domains π. It's modeled after the pretty much ubiquitous ideas for names in bioinformatics, which are:
databasename:object_id.version
Example time, lowkey iconic:
swissprot:P012334.2
or:
GO:0007048
The object will also work with LSID proposals, which bring in the concept of an authority β that's the DNS name of the organisation assigning the namespace π. See http://lsid.sourceforge.net/.
Helper functions are provided so you can build the useful strings β¨:
lsid_stringβ string complying to the LSID standardnamespace_stringβ string complying to the usual convention ofnamespace:object_id.version
π«Ά FEEDBACK π«Ά
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules, fr fr. Send your comments and suggestions preferably to one of the Bioperl mailing lists. Your participation is much appreciated π
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly π. Many experienced and responsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible β the more deets the better, no cap.
Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution π. Bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
π AUTHOR - Ewan Birney π
Email birney@ebi.ac.uk
π₯ Implementation Specific Functions π₯
These functions are the ones that a specific implementation must define. No skipping, bestie π
object_id
- Title:
object_id - Usage:
$string = $obj->object_id() - Function: a string which represents the stable primary identifier in this namespace of this object. For DNA sequences this is its accession_number, similarly for protein sequences
- Returns: A scalar
- Status: Virtual
version
- Title:
version - Usage:
$version = $obj->version() - Function: a number which differentiates between versions of the same object. Higher numbers are considered to be later and more relevant, but a single object described the same identifier should represent the same concept
- Returns: A number
- Status: Virtual
authority
- Title:
authority - Usage:
$authority = $obj->authority() - Function: a string which represents the organisation which granted the namespace, written as the DNS name for organisation (eg, wormbase.org)
- Returns: A scalar
- Status: Virtual
namespace
- Title:
namespace - Usage:
$string = $obj->namespace() - Function: A string representing the name space this identifier is valid in, often the database name or the name describing the collection
- Returns: A scalar
- Status: Virtual
π§ Implementation optional functions π§
These functions are helper functions that are provided by the interface but can be overridden if so wished β¨
lsid_string
- Title:
lsid_string - Usage:
$string = $obj->lsid_string() - Function: a string which gives the LSID standard notation for the identifier of interest
- Returns: A scalar
namespace_string
- Title:
namespace_string - Usage:
$string = $obj->namespace_string() - Function: a string which gives the common notation of
namespace:object_id.version - Returns: A scalar
okay that's the whole page, you ate that π go forth and identify your objects responsibly π¦
mwah, this one's served up on perl v5.32.1, dated 2021-08-15 π periodt π
π¦ where this page comes from
- debian bookworm: libbio-perl-perl 1.7.8-1 Β· Perl
- debian trixie: libbio-perl-perl 1.7.8-1 Β· Perl
- ubuntu jammy: libbio-perl-perl 1.7.8-1 Β· Perl
- ubuntu noble: libbio-perl-perl 1.7.8-1 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms