in reply to Re^2: 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
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: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Get Fasta file with Protein Sequences given a file with Genbank Ids using Perl
by dimitris852 (Acolyte) on Mar 21, 2016 at 05:28 UTC | |
by 1nickt (Canon) on Mar 21, 2016 at 05:33 UTC | |
by dimitris852 (Acolyte) on Mar 21, 2016 at 05:38 UTC | |
by kevbot (Vicar) on Mar 21, 2016 at 05:39 UTC | |
by AnomalousMonk (Archbishop) on Mar 21, 2016 at 05:36 UTC |