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.

fastqscreen.wdl 703B

5 年之前
123456789101112131415161718192021222324252627282930
  1. task fastq_screen {
  2. File read1
  3. File screen_ref_dir
  4. File fastq_screen_conf
  5. String read1name = basename(read1,".fastq.gz")
  6. String docker
  7. String cluster_config
  8. String disk_size
  9. command <<<
  10. set -o pipefail
  11. set -e
  12. nt=$(nproc)
  13. mkdir -p /cromwell_root/tmp
  14. cp -r ${screen_ref_dir} /cromwell_root/tmp/
  15. fastq_screen --aligner bowtie2 --conf ${fastq_screen_conf} --top 100000 --threads $nt ${read1}
  16. >>>
  17. runtime {
  18. docker:docker
  19. cluster: cluster_config
  20. systemDisk: "cloud_ssd 40"
  21. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  22. }
  23. output {
  24. File png1 = "${read1name}_screen.png"
  25. File txt1 = "${read1name}_screen.txt"
  26. File html1 = "${read1name}_screen.html"
  27. }
  28. }