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ů.

fastqscreen.wdl 803B

před 4 roky
123456789101112131415161718192021222324252627282930
  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. command <<<
  10. set -o pipefail
  11. set -e
  12. mkdir -p /cromwell_root/tmp
  13. cp -r ${screen_ref_dir} /cromwell_root/tmp/
  14. fastq_screen --aligner bowtie2 --conf ${fastq_screen_conf} --top 1000000 --threads 8 ${read1}
  15. fastq_screen --aligner bowtie2 --conf ${fastq_screen_conf} --top 1000000 --threads 8 ${read2}
  16. >>>
  17. runtime {
  18. docker:docker
  19. }
  20. output {
  21. File png1 = "${read1name}_screen.png"
  22. File txt1 = "${read1name}_screen.txt"
  23. File html1 = "${read1name}_screen.html"
  24. File png2 = "${read2name}_screen.png"
  25. File txt2 = "${read2name}_screen.txt"
  26. File html2 = "${read2name}_screen.html"
  27. }
  28. }