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.

34 line
542B

  1. task Trim {
  2. File fastq_1
  3. File fastq_2
  4. String docker
  5. String cluster_config
  6. String sample
  7. String disk_size
  8. command <<<
  9. set -o pipefail
  10. set -e
  11. trim_galore --clip_R1 4 --clip_R2 4 --three_prime_clip_R1 4 --three_prime_clip_R2 4 --paired ${fastq_1} ${fastq_2}
  12. >>>
  13. runtime {
  14. docker:docker
  15. cluster: cluster_config
  16. systemDisk: "cloud_ssd 40"
  17. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  18. }
  19. output {
  20. File trim_read1 = "${sample}_R1_val_1.fq"
  21. File trim_read2 = "${sample}_R2_val_2.fq"
  22. }
  23. }