Calculate the bed coverage of multiple BAM files before and after dedup
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
12345678910111213141516171819202122232425262728293031323334
  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. Boolean include_dup
  9. command <<<
  10. set -e -o pipefail
  11. mkdir -p /cromwell_root/tmp/bedtools
  12. cp ${sep=' ' bai} /cromwell_root/tmp/bedtools
  13. cd /cromwell_root/tmp/bedtools
  14. if ${include_dup}; then
  15. bedtools multicov -D -bams ${sep=' ' bam} -bed ${bed_file} > /bedtools/revread_count.txt
  16. else
  17. bedtools multicov -bams ${sep=' ' bam} -bed ${bed_file} > /bedtools/revread_count.txt
  18. fi
  19. >>>
  20. runtime {
  21. docker:docker
  22. cluster:cluster_config
  23. systemDisk:"cloud_ssd 40"
  24. dataDisk:"cloud_ssd " + disk_size + " /cromwell_root/"
  25. }
  26. output {
  27. File read_count = "/bedtools/revread_count.txt"
  28. }
  29. }