Entering edit mode
8.9 years ago
usgenome2018
▴
40
Want to run BBMap for a set of 30 .fastq files
Tried
#!/bin/bash
for n in {ls*.fastq}
do
./bbmap.sh "in=$n" "out={.}"
done
and (with GNU parallel)
ls *fastq | parallel ./bbmap.sh {} mapped_ {.}
What to change in code to make it align .fastq files against a preset reference?
Thx
Can you not just add the reference file to the command line?
reference has been preset
Preset where? How? What errors are you recieving?
problem is to input the in and out arguments of the bbmap.sh script in a bash for loop or in the parallell pipeline, errors are no arguments recognized correctly, thread exceptions, thank you