Bio::Annotation::DBLink - Database Link
$annotation = $seq->annotation; foreach my $link ( $annotation->each_DBLink() ) { print "Linked to ",$link->primary_id()," in ",$link->database,"\n"; }
Provides an object which represents a link from one onbject to something in another database without proscribing what is in the other database. It gives back strings for the "primary_id", something like the accession number or the main id for the database and "database" being a string representation of the database.
Ewan Birney <birney@ebi.ac.uk>
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
Title : database Usage : $self->database($newval) Function: Example : Returns : value of database Args : newvalue (optional)
Title : primary_id Usage : $self->primary_id($newval) Function: Example : Returns : value of primary_id Args : newvalue (optional)
Title : optional_id Usage : $self->optional_id($newval) Function: Example : Returns : value of optional_id Args : newvalue (optional)
Title : comment Usage : $self->comment($newval) Function: Example : Returns : value of comment Args : newvalue (optional)
To install Bio::Seq, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::Seq
CPAN shell
perl -MCPAN -e shell install Bio::Seq
For more information on module installation, please visit the detailed CPAN module installation guide.