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.

Dedup.wdl 580B

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
123456789101112131415161718192021222324252627282930313233
  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. /src/Bismark-0.18.2/deduplicate_bismark -p --bam ${unsorted_bam}
  11. outputdir= dirname ${unsorted_bam}
  12. bam= "${sample}_R1_bismark_bt2_pe.deduplicated.bam"
  13. cp ${outputdir}/${bam} ./
  14. >>>
  15. runtime {
  16. docker:docker
  17. cluster: cluster_config
  18. systemDisk: "cloud_ssd 40"
  19. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  20. }
  21. output {
  22. File Dedup_bam = "${sample}_R1_bismark_bt2_pe.deduplicated.bam"
  23. }
  24. }