Entering edit mode
2.8 years ago
sara
•
0
i'm trying to make bwa i have multiple fastq files and want output of multiple sam files, however, the line does snot seem to work efficiently as it outputs all the data in only the first sam file.
for i in *.fastq.gz; do bwa mem bwaIndex/Homo_sapiens.GRCh38.dna_sm.chromosome.22.fa "$i" > $i.sam; done
how can i solve this probelm ?
single data
I tried the lines in the links nothing seem to work, the output is added to the first file.
Since you don't show what you actually tried you can see if it was anything like this:
I tried this line and worked for me, thank you