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.

32 lines
674B

  1. task qualimap{
  2. String sample_id
  3. File bam_file
  4. File bam_bai
  5. File annot_gff
  6. String docker
  7. String cluster_config
  8. String disk_size
  9. String out_dir = sample_id+'_BamQC'
  10. command <<<
  11. set -o pipefail
  12. set -exo
  13. nt=$(nproc)
  14. /opt/qualimap/qualimap bamqc -bam ${bam_file} -gff ${annot_gff} -outformat PDF:HTML -nt $nt -outdir ${out_dir} --java-mem-size=32G
  15. tar -zcvf ${out_dir}.tar ${out_dir}
  16. >>>
  17. runtime{
  18. docker:docker
  19. cluster:cluster_config
  20. systemDisk:"cloud_ssd 40"
  21. dataDisk:"cloud_ssd " + disk_size + " /cromwell_root/"
  22. }
  23. output{
  24. File out_file = "${out_dir}.tar"
  25. }
  26. }