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.

28 lines
584B

  1. task tophat2 {
  2. File gtf
  3. File genome_directory
  4. String idx_prefix
  5. File read1
  6. File read2
  7. String base = basename(read1, ".fq.gz")
  8. String baseout
  9. String docker
  10. String cluster
  11. command <<<
  12. tophat -p 8 -G ${gtf} -o ${base} ${genome_directory}/${idx_prefix} ${read1} ${read2}
  13. >>>
  14. runtime {
  15. docker: docker
  16. cluster: cluster
  17. systemDisk: "cloud_ssd 40"
  18. dataDisk: "cloud_ssd 200 /cromwell_root/"
  19. }
  20. output {
  21. File accepted_hits = "${base}/${base}_accepted_hits.bam"
  22. File unmapped_bam = "${base}/${base}_unmapped.bam"
  23. }
  24. }