Calculate the bed coverage of multiple BAM files before and after dedup
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

27 lines
441B

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