Bio::I...ctionI(3pm)

πŸ“¦
version 1.7.8 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– Bio::IdCollectionI πŸ’–

okay so bestie, gather round, because we're talking about Bio::IdCollectionI β€” the interface for objects with multiple identifiers 🌈. This little icon is part of the User Contributed Perl Documentation collection, and honestly? she's giving "backstage pass to the whole identifier party" energy. Periodt. πŸ’…


✨ NAME ✨

Bio::IdCollectionI β€” an interface for objects with multiple identifiers, each one repping a different authority. no cap. πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

first things first, bestie β€” vibe check whether your object actually is one of these identifiable collection girlies:

# to test this is an identifiable collection object

$obj->isa("Bio::IdCollectionI") ||
  $obj->throw("$obj does not implement the Bio::IdCollectionI interface");

then the accessors, aka the fun part πŸ¦‹:

# accessors
@authorities = $obj->id_authorities();
@ids         = $obj->ids();
$id          = $obj->ids($authority);

🌸 DESCRIPTION 🌸

okay so real talk: this interface describes the methods you're expected to have on objects that carry multiple identifiers, and each of those identifiers is controlled by a different authority. it's giving "everyone has their own manager" and honestly we respect it. πŸ’œ


πŸ’Œ FEEDBACK πŸ’Œ

Mailing Lists πŸ“¬

user feedback is an integral part of the evolution of this and other Bioperl modules β€” like, genuinely, it's the main character of the whole glow-up. send your comments and suggestions preferably to one of the Bioperl mailing lists. your participation is much appreciated, fr fr 🫢

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 detail the better, bestie β€” it's giving "help me help you" 😭✨

Reporting Bugs πŸ›

report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. bug reports can be submitted via the web:

https://github.com/bioperl/bioperl-live/issues

πŸ‘‘ AUTHOR - Lincoln Stein πŸ‘‘

email lstein@cshl.org β€” icon behavior, we stan. πŸ’–


🧚 Implementation Specific Functions 🧚

these functions are the ones that a specific implementation must define. like, no skipping, this is the homework. πŸ“

id_authorities

Title   : id_authorities
Usage   : @array    = $obj->id_authorities()
Function: Return the authorities which have names for this object.
          The authorities can then be used to select ids.

Returns : An array
Status  : Virtual

ids

Title   : ids
Usage   : @ids    = $obj->ids([$authority1,$authority2...])
Function: return a list of Bio::IdentifiableI objects, optionally
          filtered by the list of authorities.

Returns : A list of Bio::IdentifiableI objects.
Status  : Virtual
🫢 heads up bestie: both of these are marked Virtual β€” meaning the interface is telling you what to implement, not how. that part is on you, and you're gonna slay it.

that's the whole page, babes πŸ’• this gem ships with perl v5.32.1 and the doc itself is dated 2021-08-15 β€” iconic, timeless, still ate. mwah πŸ’‹ ✨ πŸ¦‹

πŸ“¦ where this page comes from