in reply to Extract multiple lists od Identifiers from a FASTA file
I think Bio::SeqIO from bioperl is probably still the recommended solution rather than rolling your own parser. That aside you’re missing parens on open when you create your output file so it’s not parsing the way you intend and you may not be seeing errors from there if you do have problems. Using the three arg open and parens would be better/current best practice.
my $outfile = qq{$path/$name.faa}; open( my $out_fh, q{>}, $outfile ) or die qq{problem writing to ‘$outf +ile’: $!};
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Extract multiple lists of Identifiers from a FASTA file
by hippo (Archbishop) on Aug 04, 2022 at 12:26 UTC | |
by BillKSmith (Monsignor) on Aug 04, 2022 at 12:58 UTC |