ls *.fastq | xargs -I ./bbmap.sh How to correctly enter the arguments of this shell script? There are two of them.
Single-handed, not batch it works ---
./bbmap.sh ref=ref.fa # creating index file from the input reference ./bbmap.sh in=SRR1163136.fastq out=mapped.sam # performing mapping/alignment and producing SAM output