Entering edit mode
7.7 years ago
br.tania
▴
50
I have downloaded the assembly fasta files for all chromosomes for an organism from NCBI. Now I want to map my unique data (WGS) to the genome. How to combine the chromosome-wise fasta files to give a fasta file for the whole genome? This needs to be done to run BWA, right?
Thanks a lot. That was useful.
How to combine the chromosome-wise fasta files to give a fasta file for the whole genome? what was the answer to this question?
This question has been asked multiple times. You can simply do
cat chr*.fa > genome.fa
. (replacechr*
with whatever names you have). If the names follow no pattern then docat file1.fa file2.fa ... file_last.fa > genome.fa
.Which software is recommended for this task?
genomax posted the command you would use in your command line.
I m using Windows 10, where i have to put these commands?
Do you have Ubuntu bash for Windows 10 installed? Otherwise you may be able to do
copy file1 file2 > final
in a windows command prompt. You can't get much done with plain Windows 10 in terms of NGS data analysis (unless you use one of the commercial software packages).