You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
486B

  1. task depth {
  2. File bam
  3. File bam_index
  4. String chromosome
  5. String sample_name
  6. String docker
  7. String disk_size
  8. String cluster_config
  9. command <<<
  10. set -o pipefail
  11. set -e
  12. /opt/conda/bin/samtools depth ${bam} -r ${chromosome} > ${sample_name}.depth.txt
  13. >>>
  14. runtime {
  15. docker:docker
  16. cluster:cluster_config
  17. systemDisk: "cloud_ssd 40"
  18. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  19. }
  20. output {
  21. File depth = "${sample_name}.depth.txt"
  22. }
  23. }