Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

35 lines
947B

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