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.

34 lines
1.0KB

  1. task Call_meth {
  2. File ref_dir
  3. File Dedup_bam
  4. String sample
  5. String docker
  6. String cluster_config
  7. String disk_size
  8. command <<<
  9. set -o pipefail
  10. set -e
  11. /src/Bismark-0.20.1/bismark_methylation_extractor -p --no_overlap --comprehensive --report --bedGraph --genome_folder ${ref_dir} ${Dedup_bam}
  12. >>>
  13. runtime {
  14. docker:docker
  15. cluster: cluster_config
  16. systemDisk: "cloud_ssd 40"
  17. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  18. }
  19. output {
  20. File bedGraph = "${sample}_R1_bismark_bt2_pe.deduplicated.bedGraph.gz"
  21. File cov = "${sample}_R1_bismark_bt2_pe.bismark.deduplicated.cov.gz"
  22. File splitting_report = "${sample}_R1_bismark_bt2_pe_splitting_report.deduplicated.txt"
  23. File CHG_context = "CHG_context_${sample}_R1_bismark_bt2_pe.deduplicated.txt"
  24. File CHH_context = "CHH_context_${sample}_R1_bismark_bt2_pe.deduplicated.txt"
  25. File CpG_context = "CpG_context_${sample}_R1_bismark_bt2_pe.deduplicated.txt"
  26. File Mbias = "${sample}_R1_bismark_bt2_pe.deduplicated.M-bias.txt"
  27. }
  28. }