Command or Perl script for concatenating multiple files in a specific order listed in a txt file
1
1
Entering edit mode
6.7 years ago

Assalm o alikum everyone!

I want to concatenate 100 of FASTA files present in single directory according to a specific order listed in a file by using perl kindly guide me how to do so ???

Is there any command to concatenate files into single file in such a way ???

perl script concatenation multiple files • 3.1k views
ADD COMMENT
4
Entering edit mode
6.7 years ago
GenoMax 141k

Assuming the files are in order in file_of_files: cat file_of_files | xargs cat >> final.fa should work.

ADD COMMENT
0
Entering edit mode

Thank you so much,, It works :)

ADD REPLY

Login before adding your answer.

Traffic: 2065 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6