NAME
Bio::Tools::EUtilities::Info::LinkInfo - Class for storing einfo link data.
VERSION
version 1.77
SYNOPSIS
## should not create instance directly; Bio::Tools::EUtilities does this ### get a LinkInfo object using Bio:Tools::EUtilitiesprint "Link name: ",$link->get_link_name,"\n";print "Link name: ",$link->get_link_menu_name,"\n";print "Link desc: ",$link->get_link_description,"\n";print "DBFrom: ",$link->get_dbfrom,"\n"; # database linked fromprint "DBTo: ",$link->get_dbto,"\n"; # database linked to
DESCRIPTION
This class handles data output (XML) from both einfo and elink, and centers on describing data that either describes how NCBI databases are linked together via link names, or how databases are linked to outside databases (LinkOut).
Further documentation for Link and Field subclass methods is included below.
For more information on einfo see:
http://eutils.ncbi.nlm.nih.gov/entrez/query/static/einfo_help.html
new
Title : newNote : *** should not be called by end-users ***Usage : my $ct = Bio::Tools::EUtilities::Info::LinkInfo;Function : returns new LinkInfo instanceReturns : Bio::Tools::EUtilities::Info::LinkInfo instanceArgs : none (all data added via _add_data, most methods are getters only)
get_database
Title : get_databaseUsage : my $db = $info->get_database;Function : returns single database name (eutil-compatible). This is thequeried database. For elinks (which have 'db' and 'dbfrom')this is equivalent to db/dbto (use get_dbfrom() to for the latter)Returns : stringArgs : none
get_db (alias for get_database)
get_dbto (alias for get_database)
get_dbfrom
Title : get_dbfromUsage : my $origdb = $link->get_dbfrom;Function : returns referring databaseReturns : stringArgs : noneNote :
get_link_name
Title : get_link_nameUsage : $ln = $link->get_link_name;Function : returns raw link name (eutil-compatible)Returns : stringArgs : none
get_link_description
Title : get_link_descriptionUsage : $desc = $link->get_link_description;Function : returns the (more detailed) link descriptionReturns : stringArgs : none
get_link_menu_name
Title : get_link_menu_nameUsage : my $mn = $link->get_link_menu_name;Function : returns formal menu nameReturns : stringArgs : none
get_priority
Title : get_priorityUsage : my $mn = $link->get_priority;Function : returns priority rankingReturns : integerArgs : noneNote : only set when using elink and cmd set to 'acheck'
get_html_tag
Title : get_html_tagUsage : my $tag = $link->get_html_tag;Function : returns HTML tagReturns : stringArgs : noneNote : only set when using elink and cmd set to 'acheck'
get_url
Title : get_urlUsage : my $url = $link->get_url;Function : returns URL string; note that the string isn't usable directly buthas the ID replaced with the tag <@UID@>Returns : stringArgs : noneNote : only set when using elink and cmd set to 'acheck'
to_string
Title : to_stringUsage : $foo->to_string()Function : converts current object to stringReturns : noneArgs : (optional) simple data for text formattingNote : Used generally for debugging and for various print methods
FEEDBACK
Mailing lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated.
[email protected] - General discussionhttps://bioperl.org/Support.html - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list: [email protected] rather than to the module maintainer directly. Many experienced and reponsive 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.
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/bio-eutilities/issues
AUTHOR
Chris Fields <[email protected]>
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.