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.

27 lines
401B

  1. task bedtools {
  2. File bam
  3. File bai
  4. File bed_file
  5. String docker
  6. String cluster_config
  7. String disk_size
  8. command <<<
  9. bedtools multicov -bams ${bam} -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. }