Automated integrated analysis software for genomics data of the cancer patients.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

40 Zeilen
1.0KB

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