Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: renaming 1000's of FASTA files

by Cristoforo (Curate)
on Jul 11, 2011 at 17:03 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://913729]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-19 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found