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.

31 lines
784B

  1. task fastp {
  2. String sample_id
  3. File read1
  4. File read2
  5. String adapter_sequence
  6. String adapter_sequence_r2
  7. String docker
  8. String cluster
  9. command <<<
  10. fastp --thread 4 -l 50 -q 20 -u 20 --adapter_sequence ${adapter_sequence} --adapter_sequence_r2 ${adapter_sequence_r2} --detect_adapter_for_pe -i ${read1} -I ${read2} -o ${sample_id}_R1.fastq.gz -O ${sample_id}_R2.fastq.gz -j ${sample_id}.json -h ${sample_id}.html
  11. >>>
  12. runtime {
  13. docker: docker
  14. cluster: cluster
  15. systemDisk: "cloud_ssd 40"
  16. dataDisk: "cloud_ssd 200 /cromwell_root/"
  17. }
  18. output {
  19. File json = "${sample_id}.json"
  20. File report = "${sample_id}.html"
  21. File Trim_R1 = "${sample_id}_R1.fastq.gz"
  22. File Trim_R2 = "${sample_id}_R2.fastq.gz"
  23. }
  24. }