String disk_size | String disk_size | ||||
command <<< | command <<< | ||||
cat ${region} | whlie read a | |||||
do | |||||
cat ${region} | whlie read a; do | |||||
/opt/conda/bin/samtools view -b ${bam} "$a" > $a.${sample}.bam | /opt/conda/bin/samtools view -b ${bam} "$a" > $a.${sample}.bam | ||||
/opt/conda/bin/samtools index $a.${sample}.bam | |||||
done | |||||
/opt/conda/bin/samtools index $a.${sample}.bam; done | |||||
>>> | >>> | ||||
runtime { | runtime { |