-singularity run 'docker://bicf/gudmaprbkdedup:2.0.0' samtools index -@ `nproc` -b ./test_data/bam/small/Q-Y5JA_1M.se.sorted.deduped.bam Q-Y5JA_1M.se.sorted.deduped.bam.bai
-for i in {chr1,chr2,chr8}; do echo "singularity run 'docker://bicf/gudmaprbkdedup:2.0.0' samtools view -b Q-Y5JA_1M.se.sorted.deduped.bam ${i} > Q-Y5JA_1M.se.sorted.deduped.${i}.bam; singularity run 'docker://bicf/gudmaprbkdedup:2.0.0' samtools index -@ \`nproc\` -b Q-Y5JA_1M.se.sorted.deduped.${i}.bam Q-Y5JA_1M.se.sorted.deduped.${i}.bam.bai"; done | parallel -j `nproc` -k
-singularity run 'docker://bicf/gudmaprbkdedup:2.0.0' "for i in {chr1,chr2,chr8}; do