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.

DownSample.wdl 477B

3 years ago
1234567891011121314151617181920212223242526
  1. task DownSample {
  2. String sample_id
  3. File fastq
  4. Float p
  5. String docker_seqkit
  6. String cluster_config
  7. String disk_size
  8. command <<<
  9. set -o pipefail
  10. set -e
  11. seqkit sample --two-pass -s 100 -p ${p} ${fastq} -o ${sample_id}.fastq.gz
  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 out_fastq = "${sample_id}.fastq.gz"
  21. }
  22. }