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
675B

  1. task trimmomatic {
  2. File read1
  3. File read2
  4. File adapter
  5. String baseout
  6. String baseout_gz = baseout + ".fq.gz"
  7. String docker
  8. String cluster
  9. String disk_size
  10. command <<<
  11. nt=$(nproc)
  12. /opt/conda/bin/trimmomatic PE -threads $nt -phred33 ${read1} ${read2} -baseout ${baseout_gz} ILLUMINACLIP:${adapter}:2:30:10:1:true HEADCROP:10 LEADING:10 TRAILING:10 SLIDINGWINDOW:4:15 MINLEN:36
  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 read_1p = baseout + "_1P.fq.gz"
  22. File read_2p = baseout + "_2P.fq.gz"
  23. }
  24. }