Question: several FASTA file to one
0
gravatar for nora
12 months ago by
nora40
algeria
nora40 wrote:

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

alignment sequence assembly • 353 views
ADD COMMENTlink modified 12 months ago by RamRS23k • written 12 months ago by nora40
1

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 REPLYlink modified 12 months ago • written 12 months ago by genomax70k
1

Circular thing on the *.fa glob.

ADD REPLYlink written 12 months ago by RamRS23k

yes, but I need to do this on windows

ADD REPLYlink modified 12 months ago • written 12 months ago by nora40

If you use PowerShell, the same command applies.

ADD REPLYlink written 12 months ago by jrj.healey13k

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 REPLYlink modified 12 months ago • written 12 months ago by genomax70k

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 REPLYlink modified 12 months ago • written 12 months ago by RamRS23k
1
gravatar for RamRS
12 months ago by
RamRS23k
Houston, TX
RamRS23k wrote:

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 COMMENTlink written 12 months ago by RamRS23k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1510 users visited in the last hour