Infer and visualize copy number from high-throughput DNA sequencing data.
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.

28 lines
606B

  1. task samtools {
  2. Array[File] tumor_bam
  3. Array[File] normal_bam
  4. String docker
  5. String cluster
  6. String disk_size
  7. command <<<
  8. set -o pipefail
  9. set -e
  10. nt=$(nproc)
  11. mkdir -p /cromwell_root/tmp/samtools
  12. cd /cromwell_root/tmp/samtools
  13. /opt/conda/bin/samtools index ${sep=' ' tumor_bam}
  14. /opt/conda/bin/samtools index ${sep=' ' normal_bam}
  15. >>>
  16. runtime {
  17. docker: docker
  18. cluster: cluster
  19. systemDisk: "cloud_ssd 40"
  20. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  21. }
  22. output {
  23. Array[File] bam_index = glob("/cromwell_root/tmp/samtools/*bai")
  24. }
  25. }