[Bioperl-l] Genbank LOCUS entry

Matthias Adams matze at bioinf.uni-leipzig.de
Wed Feb 2 17:54:43 EST 2005


Hello!

On Wed, Feb 02, 2005 at 05:11:33PM -0500, Jason Stajich wrote:
>            $temp_line = sprintf ("%-12s%-15s%13s %s%4s%-8s%-8s %3s %-s",
>                                   'LOCUS', $seq->id(),$len,
>                                   (lc($alpha) eq 'protein') ? ('aa','', 
> '') :
>                                   ('bp', '',$mol),$circular,
>                                   $div,$date);
Thanks a lot for this suggestion! I have read the Bio::SeqIO::GenBank
code and found what I was looking for.
I wasn't aware of the fact that $seqio->next_seq gives me a RichSeq
object.

But maybe the documentation of Bio::Seq::display_id is a little bit
ambiguous, isn't it?

Matze.


More information about the Bioperl-l mailing list