task battenberg { String sample_id String docker String cluster String disk_size command <<< set -o pipefail set -e cp /opt/battenberg_reference/a.R ./ Rscript a.R echo ${sample_id} echo ${sample_id} > ${sample_id}_test.txt cp data.csv ${sample_id}.csv >>> runtime { docker : docker cluster: cluster systemDisk: "cloud_ssd 40" dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/" } output { File subclones = "${sample_id}.csv" File s_test = "${sample_id}_test.txt" } }