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

39 lines
1.2KB

  1. task bamdst {
  2. File bam
  3. File bed
  4. String sample
  5. String docker
  6. String cluster_config
  7. String disk_size
  8. command <<<
  9. set -o pipefail
  10. set -e
  11. nt=$(nproc)
  12. bamdst -p ${bed} -o ./ ${bam}
  13. cp ./chromosomes.report ./${sample}_chromosomes.report
  14. cp ./coverage.report ./${sample}_coverage.report
  15. cp ./depth_distribution.plot ./${sample}_depth_distribution.plot
  16. cp ./insertsize.plot ./${sample}_insertsize.plot
  17. cp ./region.tsv.gz ./${sample}_region.tsv.gz
  18. cp ./uncover.bed ./${sample}_uncover.bed
  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 chromosomes.report = "${sample}_chromosomes.report"
  28. File coverage.report = "${sample}_coverage.report"
  29. File depth_distribution.plot = "${sample}_depth_distribution.plot"
  30. File depth.tsv.gz = "${sample}_depth.tsv.gz"
  31. File insertsize.plot = "${sample}_insertsize.plot"
  32. File region.tsv.gz = "${sample}_region.tsv.gz"
  33. File uncover.bed = "${sample}_uncover.bed"
  34. }
  35. }