in reply to Re^4: Get Fasta file with Protein Sequences given a file with Genbank Ids using Perl
in thread Get Fasta file with Protein Sequences given a file with Genbank Ids using Perl

I haven't read the Bio::DB::GenBank documentation (please feel free to do so ;-), but I suspect that write_sequence is a method of that class and so maybe needs to be called something like
    $gb->write_sequence( ">>roar.fa", 'fasta', $seq );


Give a man a fish:  <%-{-{-{-<