from fastq to bam files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

qualimapBAMqc.wdl 575B

3 년 전
12345678910111213141516171819202122232425262728
  1. task qualimapBAMqc {
  2. File bam
  3. String bamname = basename(bam,".bam")
  4. String docker
  5. String cluster_config
  6. String disk_size
  7. command <<<
  8. set -o pipefail
  9. set -e
  10. nt=$(nproc)
  11. /opt/qualimap/qualimap bamqc -bam ${bam} -outformat PDF:HTML -nt $nt -outdir ${bamname}_bamqc --java-mem-size=32G
  12. tar -zcvf ${bamname}_bamqc_qualimap.zip ${bamname}_bamqc
  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 bamqc_zip = "${bamname}_bamqc_qualimap.zip"
  22. }
  23. }