合并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.

mergefq.wdl 415B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
123456789101112131415161718192021222324252627
  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. systemDisk: "cloud_ssd 40"
  18. cluster: cluster_config
  19. dataDisk:"cloud_ssd " + disk_size + " /cromwell_root/"
  20. }
  21. output {
  22. File merge_fq = "${fq_m}"
  23. }
  24. }