RNA-seq pipeline with tophat2 + cufflinks + trimmomatic + fastqc
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.

21 line
444B

  1. task trimmomatic {
  2. File read1
  3. File read2
  4. File adapter
  5. String base = sub(basename(read),"\\.\\S+$", "")
  6. String docker
  7. command {
  8. trimmomatic PE -threads 20 -phred33 ${read1} ${read2} -baseout ${base}.fq.gz ILLUMINACLIP:${adapter}:2:30:10:1:true HEADCROP:10 LEADING:10 TRAILING:10 SLIDINGWINDOW:4:15 MINLEN:36
  9. }
  10. runtime {
  11. dockerTag: docker
  12. }
  13. output {
  14. File read_1p = base + "_1P.fq.gz"
  15. File read_2p = base + "_2P.fq.gz"
  16. }
  17. }