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.

33 lines
514B

  1. task Dedup {
  2. File unsorted_bam
  3. String sample
  4. String docker
  5. String cluster_config
  6. String disk_size
  7. command <<<
  8. set -o pipefail
  9. set -e
  10. cp ${unsorted_bam} ./
  11. input = basename ${unsorted_bam}
  12. /src/Bismark-0.18.2/deduplicate_bismark -p --bam ./${input}
  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 Dedup_bam = "${sample}_R1_bismark_bt2_pe.deduplicated.bam"
  22. }
  23. }