Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: renaming 1000's of FASTA files

by Cristoforo (Deacon)
on Jul 11, 2011 at 17:03 UTC ( #913729=note: print w/ replies, xml ) Need Help??


in reply to Re: renaming 1000's of FASTA files
in thread renaming 1000's of FASTA files

Shouldn't this code:

if (exists ($seq_id{$id})) { print ">"; print $seq_id{$fasta_id}; print "\n".$seq."\n"; }

be

if (exists ($seq_id{$id})) { print ">"; print $seq_id{$id}; print "\n".$seq."\n"; }
and

$seq_id{$fasta_id} => $_; be $seq_id{$fasta_id} = $_;

Update: Corrected print $seq_id{$id}; from print $id

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://913729]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-08-27 15:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (380 votes). Check out past polls.