Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^4: Command or Perl script for changing headers of multiple FASTA files in a specific order listed in a txt file

by Anonymous Monk
on Sep 12, 2017 at 12:08 UTC ( [id://1199192]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     Chimpanzee_AMY2B_CDS.fasta                 MP.C_AMY2B
    Human_AMY2B_CDS.fasta                      FP.H_AMY2B
    
  2. or download this
     for i in $(seq 1 $(ls *.fasta |wc -l)); do sed -n "$i"p headers.txt| sed 's/^/>/'> test/$(ls *.fasta| sed -n "$i"p); cat $(ls *.fasta| sed -n "$i"p)| sed '1d' >>test/$(ls *.fasta| sed -n "$i"p); done

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-20 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found