Line 15 of the code
my $gb=Bio::DB::GenBank;
should be
my $gb = new Bio::DB::GenBank;
(indirect object notation), or better yet
my $gb = Bio::DB::GenBank->new;
or
my $gb = Bio::DB::GenBank->new();
which avoid the syntactic ambiguities of indirect object notation.
Give a man a fish: <%-{-{-{-<
In reply to Re^3: Get Fasta file with Protein Sequences given a file with Genbank Ids using Perl
by AnomalousMonk
in thread Get Fasta file with Protein Sequences given a file with Genbank Ids using Perl
by dimitris852
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |