Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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


Comment on Re^2: renaming 1000's of FASTA files
Select or Download Code

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 musing on the Monastery: (8)
As of 2014-09-16 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (157 votes), past polls