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.

24 lines
561B

  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. command {
  10. /opt/conda/bin/trimmomatic PE -threads 20 -phred33 ${read1} ${read2} -baseout ${baseout_gz} ILLUMINACLIP:${adapter}:2:30:10:1:true HEADCROP:10 LEADING:10 TRAILING:10 SLIDINGWINDOW:4:15 MINLEN:36
  11. }
  12. runtime {
  13. docker: docker
  14. cluster: cluster
  15. }
  16. output {
  17. File read_1p = baseout + "_1P.fq.gz"
  18. File read_2p = baseout + "_2P.fq.gz"
  19. }
  20. }