Calculate the bed coverage of multiple BAM files before and after dedup
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.

bedtools.wdl 445B

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
1234567891011121314151617181920212223242526
  1. task bedtools {
  2. Array[File] input_samples
  3. File bed_file
  4. String docker
  5. String cluster_config
  6. String disk_size
  7. command <<<
  8. set -e -o pipefail
  9. bedtools multicov -bams ${sep=' ' input_samples} -bed ${bed_file} > revread_count.txt
  10. >>>
  11. runtime {
  12. docker:docker
  13. cluster:cluster_config
  14. systemDisk:"cloud_ssd 40"
  15. dataDisk:"cloud_ssd " + disk_size + " /cromwell_root/"
  16. }
  17. output {
  18. File read_count = "revread_count.txt"
  19. }
  20. }