String disk_size | String disk_size | ||||
command <<< | command <<< | ||||
/opt/conda/bin/samtools view ${bam} -H ${sep=" " pos} | /opt/conda/bin/samtools view -bS - | /opt/conda/bin/samtools sort > ${sample}.bam | |||||
/opt/conda/bin/samtools view -b ${bam} ${sep=" " pos} | opt/conda/bin/samtools sort - > ${sample}.bam | |||||
/opt/conda/bin/samtools index ${sample}.bam | /opt/conda/bin/samtools index ${sample}.bam | ||||
>>> | >>> | ||||