[Bioperl-l] Problems reading Genbank file

Paul Gordon gordonp@niji.imb.nrc.ca
Tue, 14 Nov 2000 13:31:20 -0400 (AST)


> I am trying to read some sequences from a genbank flat file and store the
> sequences in a hash with the accession number of the sequences as the key. But
> when I want to print the accession number all I get is 'unknown'

I get this too, the accession part doesn't seem too smart, so I use the
display_id, which has always worked so far.

>     $key = $seq->accession_number;
      $key = $seq->display_id;