Calculate the bed coverage of multiple BAM files before and after dedup
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

bedtools.wdl 569B

5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
123456789101112131415161718192021222324252627282930
  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. mkdir -p /cromwell_root/tmp/bedtools
  11. cp ${sep=' ' bai} /cromwell_root/tmp/bedtools
  12. cd /cromwell_root/tmp/bedtools
  13. bedtools multicov -bams ${sep=' ' bam} -bed ${bed_file} > ~/revread_count.txt
  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 read_count = "revread_count.txt"
  23. }
  24. }