合并fastq文件
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.

29 lines
429B

  1. task mergefq {
  2. File fq1
  3. File fq2
  4. File fq3
  5. String fq_m
  6. String disk_size
  7. String cluster_config
  8. command <<<
  9. set -euo pipefail
  10. if [ ! ${fq3} ]; then
  11. cat ${fq1} ${fq2} > ${fq_m}
  12. else
  13. cat ${fq1} ${fq2} ${fq3} > ${fq_m}
  14. fi
  15. >>>
  16. runtime {
  17. docker: docker
  18. systemDisk: "cloud_ssd 40"
  19. cluster: cluster_config
  20. dataDisk:"cloud_ssd " + disk_size + " /cromwell_root/"
  21. }
  22. output {
  23. File merge_fq = "${fq_m}"
  24. }
  25. }