several FASTA file to one
1
0
Entering edit mode
5.8 years ago
nora ▴ 40

hi I downloaded several FASTA files (> 200) of RNA 16S to do global alignment, so there is an assembly method of all sequences in a single file without use copy paste thank you

assembly sequence alignment • 1.3k views
ADD COMMENT
1
Entering edit mode

so there is an assembly method of all the sequences in a single file

If you just mean combine the contents of many files into one then you can do cat file*.fa > total.fa on linux.

ADD REPLY
1
Entering edit mode

Circular thing on the *.fa glob.

ADD REPLY
0
Entering edit mode

yes, but I need to do this on windows

ADD REPLY
0
Entering edit mode

If you use PowerShell, the same command applies.

ADD REPLY
0
Entering edit mode

With a regular command prompt on Windows

type file*.fa > total.fa

will do the trick. But use PowerShell if you are using Win10.

ADD REPLY
0
Entering edit mode

See: https://superuser.com/questions/434870/what-is-the-windows-equivalent-of-the-unix-command-cat

Also, you should mention this in your question, as the norm with bioinformatics is a Linux-based OS.

ADD REPLY
1
Entering edit mode
5.8 years ago
Ram 43k

You're just looking to concatenate the files. Isolate all these files are in a dir called fasta_files, and then you can use cat *.fasta >all.fa

ADD COMMENT

Login before adding your answer.

Traffic: 2284 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