NAME
Bio::Annotation::DBLink - Database Link
SYNOPSIS
$annotation = $seq->annotation;
foreach my $link ( $annotation->each_DBLink() ) {
print "Linked to ",$link->primary_id()," in ",$link->database,"\n";
}
DESCRIPTION
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.
CONTACT
Ewan Birney <birney@ebi.ac.uk>
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
database
Title : database
Usage : $self->database($newval)
Function:
Example :
Returns : value of database
Args : newvalue (optional)
primary_id
Title : primary_id
Usage : $self->primary_id($newval)
Function:
Example :
Returns : value of primary_id
Args : newvalue (optional)
optional_id
Title : optional_id
Usage : $self->optional_id($newval)
Function:
Example :
Returns : value of optional_id
Args : newvalue (optional)
comment
Title : comment
Usage : $self->comment($newval)
Function:
Example :
Returns : value of comment
Args : newvalue (optional)