[Bioperl-l] Each_DBLink : only returning 1 entry ?

Jean-Jack M. Riethoven pow@ebi.ac.uk
Thu, 30 Aug 2001 15:31:30 +0100


Thanks for the quick reply, Ewan.

> Buggy. Well spotted/
>
> > 2. How can I get the database code for the main accession number.
> >
>
> $seq->accession_number;

Actually, with my second question I meant to ask: how do I get the database
abbreviation code for a particalur sequence object.. E.g. I have a sequence
object with accession_number X02158, is there someway to get a value back
that tells me this sequence (or acc_number) is in fact part of EMBL
(Genbank/DDBJ), or SWISS_PROT, or...

JJ