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.

29 lines
574B

  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. mkdir -p /cromwell_root/tmp/bedtools
  10. cp ${bam} ${bai} /cromwell_root/tmp/bedtools
  11. cd /cromwell_root/tmp/bedtools
  12. bedtools multicov -bams GCCACATA_S9_L001_R1_001.sorted.bam F1_S6_L001_R1_001.sorted.bam -bed ${bed_file} > revread_count.txt
  13. >>>
  14. runtime {
  15. docker:docker
  16. cluster:cluster_config
  17. systemDisk:"cloud_ssd 40"
  18. dataDisk:"cloud_ssd " + disk_size + " /cromwell_root/"
  19. }
  20. output {
  21. File read_count = "revread_count.txt"
  22. }
  23. }