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.

28 line
676B

  1. task fastqc {
  2. File read1
  3. File read2
  4. String docker
  5. String cluster
  6. String disk_size
  7. command <<<
  8. set -o pipefail
  9. set -e
  10. nt=$(nproc)
  11. fastqc -t $nt -o ./ ${read1}
  12. fastqc -t $nt -o ./ ${read2}
  13. >>>
  14. runtime {
  15. docker:docker
  16. cluster: cluster
  17. systemDisk: "cloud_ssd 40"
  18. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  19. }
  20. output {
  21. File read1_html = sub(basename(read1), "\\.(fastq|fq)\\.gz$", "_fastqc.html")
  22. File read1_zip = sub(basename(read1), "\\.(fastq|fq)\\.gz$", "_fastqc.zip")
  23. File read2_html = sub(basename(read2), "\\.(fastq|fq)\\.gz$", "_fastqc.html")
  24. File read2_zip = sub(basename(read2), "\\.(fastq|fq)\\.gz$", "_fastqc.zip")
  25. }
  26. }