Question: several FASTA file to one
0
gravatar for nora
7 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 • 273 views
ADD COMMENTlink modified 7 months ago by RamRS20k • written 7 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 7 months ago • written 7 months ago by genomax63k
1

Circular thing on the *.fa glob.

ADD REPLYlink written 7 months ago by RamRS20k

yes, but I need to do this on windows

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

If you use PowerShell, the same command applies.

ADD REPLYlink written 7 months ago by jrj.healey11k

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 7 months ago • written 7 months ago by genomax63k

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 7 months ago • written 7 months ago by RamRS20k
1
gravatar for RamRS
7 months ago by
RamRS20k
Houston, TX
RamRS20k 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 7 months ago by RamRS20k
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: 1757 users visited in the last hour