您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

28 行
496B

  1. task DownSample {
  2. String sample_id
  3. File fastq
  4. Int n
  5. String docker
  6. String cluster_config
  7. String disk_size
  8. command <<<
  9. set -o pipefail
  10. set -e
  11. nt=$(nproc)
  12. seqkit sample --two-pass --threads $nt -s 100 -n ${n} ${fastq} -o ${sample_id}.fastq.gz
  13. >>>
  14. runtime {
  15. docker: docker
  16. cluster: cluster_config
  17. systemDisk: "cloud_ssd 40"
  18. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  19. }
  20. output {
  21. File out_fastq = "${sample_id}.fastq.gz"
  22. }
  23. }