bamdst is a lightweight tool to stat the depth coverage of target regions of bam file(s).
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.

bamdst.wdl 1.2KB

il y a 5 ans
il y a 5 ans
12345678910111213141516171819202122232425262728293031323334353637383940
  1. task bamdst {
  2. File bam
  3. File bai
  4. File bed
  5. String sample
  6. String docker
  7. String cluster_config
  8. String disk_size
  9. command <<<
  10. set -o pipefail
  11. set -e
  12. nt=$(nproc)
  13. bamdst -p ${bed} -o ./ ${bam}
  14. cp ./chromosomes.report ./${sample}_chromosomes.report
  15. cp ./coverage.report ./${sample}_coverage.report
  16. cp ./depth_distribution.plot ./${sample}_depth_distribution.plot
  17. cp ./insertsize.plot ./${sample}_insertsize.plot
  18. cp ./region.tsv.gz ./${sample}_region.tsv.gz
  19. cp ./uncover.bed ./${sample}_uncover.bed
  20. >>>
  21. runtime {
  22. docker: docker
  23. cluster: cluster_config
  24. systemDisk: "cloud_ssd 40"
  25. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  26. }
  27. output {
  28. File chromosomes.report = "${sample}_chromosomes.report"
  29. File coverage.report = "${sample}_coverage.report"
  30. File depth_distribution.plot = "${sample}_depth_distribution.plot"
  31. File depth.tsv.gz = "${sample}_depth.tsv.gz"
  32. File insertsize.plot = "${sample}_insertsize.plot"
  33. File region.tsv.gz = "${sample}_region.tsv.gz"
  34. File uncover.bed = "${sample}_uncover.bed"
  35. }
  36. }