task depth { File bam File bai String sample_id File bed String docker String cluster_config String disk_size command <<< /opt/conda/bin/samtools depth -b ${bed} ${bam} > ${sample_id}.depth >>> runtime { docker:docker cluster: cluster_config systemDisk: "cloud_ssd 40" dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/" } output { File bam_depth = "${sample_id}.depth" } }