Bio::T...LinkSet(3pm)
π¦ Bio::Tools::EUtilities::Link::LinkSet π¦
okay so bestie, welcome to Bio::Tools::EUtilities::Link::LinkSet β Class for EUtils LinkSets. yes that's the whole name, it's giving long module name energy but we move π
. This page comes to you from the User Contributed Perl Documentation, which is exactly what it sounds like β the people's docs, fr fr.
β¨ VERSION β¨
version 1.77 β current, fresh, slaying πΈ
π SYNOPSIS π
# ...
look, the synopsis is literally just a comment. iconic behavior honestly. sometimes the vibe is mystery π
π DESCRIPTION π
# ...
also just a comment. no notes. the whole description is a mood. π«Ά
what we do get is the full tour of every method this class has, so buckle up:
π get_ids π
- Title:
get_ids - Usage:
my @ids = $linkset->get_ids - Function: hands you back the list of retrieved IDs
- Returns: an array of IDs
- Args: none
- Notes: the
Cmd/Descriptiontea is as follows:acheckβ same asget_submitted_idslcheckβ same asget_submitted_idsncheckβ same asget_submitted_idsprlinksβ same asget_submitted_idsllinksβ same asget_submitted_idsllinkslibβ same asget_submitted_idsneighborβ linked IDs for database inget_databaseneighbor_historyβ linked IDs for database inget_database
π« get_database π«
- Title:
get_database - Usage:
my $db = $info->get_database; - Function: returns a single database name (eutil-compatible). this is the queried database. for elinks (which have both
'db'and'dbfrom') this is equivalent to db/dbto β useget_dbfrom()for the latter. heads up: this only ever returns the first db, and in some cases that's lowkey not what you want (say, when multiple dbs are queried) - Returns: string
- Args: none
- Notes: with all elink cmd arguments
π get_db (alias for get_database)
same thing, different name, no cap. call it whatever feels right bestie π«Ά
π get_dbto (alias for get_database)
again β a whole other alias for get_database. the duality of (a) method π
π get_databases π
- Title:
get_databases - Usage:
my $string = $linkset->get_databases; - Function: retrieve databases referred to for this linkset β these may be present as a single database or embedded in
- Returns: array of strings
- Args: none
ngl the original Function line just kinda... ends there. mid-sentence. the sentence is giving cliffhanger π but we are not about to invent the rest of it, so here it stands.
π get_dbs (alias for get_databases)
you guessed it β alias for get_databases. so many names for one vibe β¨
π¦ get_dbfrom π¦
- Title:
get_dbfrom - Usage:
my $string = $linkset->get_dbfrom; - Function: retrieve the originating database for this linkset
- Returns: string
- Args: none
π get_link_names π
- Title:
get_link_names - Usage:
my $string = $linkset->get_link_names; - Function: retrieve eutil-compatible link names
- Returns: array of strings
- Args: none
- Notes: each LinkSet can hold multiple LinkInfo objects (each one containing a link name). also, some LinkSets define a single link name. this returns an array with all unique linknames globbed from both sources, if they're present and defined π
π§ get_link_name π§
- Title:
get_link_name - Usage:
my $string = $linkset->get_link_name; - Function: retrieve an eutil-compatible link name
- Returns: a single link name
- Args: none
πΈ get_submitted_ids πΈ
- Title:
get_submitted_ids - Usage:
my $string = $linkset->get_submitted_ids; - Function: retrieve the original ID list
- Returns: string
- Args: none
β has_scores β
- Title:
has_scores - Usage:
if (my $linkset->has_scores) {...} - Function: returns
TRUEif score data is present - Returns: Boolean
- Args: none
π₯ get_scores π₯
- Title:
get_scores - Usage:
%scores = $linkset->get_scores; - Function: returns a flattened list or a hash ref containing
ID => scorepairs - Returns: hash or hash ref (depends on whether you're in list or scalar context, iykyk)
- Args: none
π get_score_by_id π
- Title:
get_score_by_id - Usage:
$score = $linkset->get_score_by_id($id); - Function: returns the score for one particular primary ID
- Returns: integer
- Args:
[REQUIRED]Primary ID for the score lookup β do not skip this one bestie, it's required fr fr
π has_linkout π
- Title:
has_linkout - Usage:
if ($linkset->has_linkout) {...} - Function: returns
TRUEif the single ID present in this linkset has a linkout - Returns: boolean
- Args: none
- Notes: this checks
cmd=lcheck(a boolean for a linkout) and also backcheckscmd=acheckfor databases with the name'LinkOut'
π has_neighbor π
- Title:
has_neighbor - Usage:
if ($linkset->has_neighbor) {...} - Function: returns
TRUEif the single ID present in this linkset has a neighbor in the same database - Returns: boolean
- Args: none
- Notes: this checks
cmd=ncheck(boolean for a neighbor in the same database); no other checks are performed at this time
π« next_UrlLink π«
- Title:
next_UrlLink - Usage:
while (my $url = $linkset->next_UrlLink) {...} - Function: iterate through UrlLink objects
- Returns:
Bio::Tools::EUtilities::Link::UrlLink - Args:
π get_UrlLinks π
- Title:
get_UrlLinks - Usage:
my @urls = $linkset->get_UrlLinks - Function: returns all UrlLink objects
- Returns: list of
Bio::Tools::EUtilities::Link::UrlLink - Args:
π¦ next_LinkInfo π¦
- Title:
next_LinkInfo - Usage:
while (my $info = $linkset->next_LinkInfo) {...} - Function: iterate through LinkInfo objects
- Returns:
Bio::Tools::EUtilities::Link::LinkInfo - Args:
π get_LinkInfo π
- Title:
get_LinkInfo - Usage:
my @links = $linkset->get_LinkInfo - Function: returns all LinkInfo objects
- Returns: list of
Bio::Tools::EUtilities::Link::LinkInfo - Args:
π§ rewind π§
- Title:
rewind - Usage:
$info->rewind() # rewinds all (default)
$info->rewind('links') # rewinds only links
- Function: 'rewinds' (resets) the specified iterators β all of them if you pass no arg
- Returns: none
- Args:
[OPTIONAL]String:'all'β all iterators (default)'linkinfo'or'linkinfos'β LinkInfo objects only'urllinks'β UrlLink objects only
β to_string β
- Title:
to_string - Usage:
$foo->to_string() - Function: converts the current object to a string
- Returns: none
- Args: (optional) simple data for text formatting
- Note: used generally for debugging and for various print methods
π FEEDBACK π
π¬ Mailing lists π¬
user feedback is literally an integral part of the evolution of this and other Bioperl modules β like, integral integral. send your comments and suggestions preferably to the Bioperl mailing list, and your participation is much appreciated π«Ά
bioperl-l@bioperl.org - General discussion
https://bioperl.org/Support.html - 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. there are lots of experienced, responsive experts who'll be able to look at the problem and quickly address it. and please include a thorough description of the problem, with code and data examples, if at all possible. the more detail the better, bestie π
π Reporting bugs π
report bugs to the Bioperl bug tracking system so we can keep track of the bugs and their resolution. bug reports can be submitted via the web:
https://github.com/bioperl/bio-eutilities/issues
π AUTHOR π
Chris Fields <cjfields@bioperl.org>
π COPYRIGHT π
this software is copyright (c) 2006-2013 by Chris Fields.
this software is available under the same terms as the perl 5 programming language system itself.
and that's the whole page, bestie β perl v5.40.0, dated 2025-01-27, User Contributed Perl Documentation π β¨ go forth and link your sets π¦
π¦ where this page comes from
- debian trixie: libbio-eutilities-perl 1.77-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libbio-eutilities-perl 1.77-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libbio-eutilities-perl 1.77-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms