A tool for multi-genome mapping and quality control.
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.

30 line
732B

  1. task fastq_screen {
  2. File read
  3. File ref_dir
  4. File fastq_screen_conf
  5. String docker
  6. String cluster_config
  7. String disk_size
  8. command <<<
  9. set -o pipefail
  10. set -e
  11. nt=$(nproc)
  12. mkdir -p /cromwell_root/tmp
  13. cp -r ${ref_dir} /cromwell_root/tmp/
  14. fastq_screen --aligner bowtie2 --conf ${fastq_screen_conf} --threads $nt --outdir ./ ${read}
  15. >>>
  16. runtime {
  17. docker:docker
  18. cluster: cluster_config
  19. systemDisk: "cloud_ssd 40"
  20. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  21. }
  22. output {
  23. File png = sub(basename(read), "\\.(fastq|fq)\\.gz$", "_screen.html")
  24. File txt = sub(basename(read), "\\.(fastq|fq)\\.gz$", "_screen.png")
  25. File html = sub(basename(read), "\\.(fastq|fq)\\.gz$", "_screen.txt")
  26. }
  27. }