A tool for multi-genome mapping and quality control.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

fastq_screen.wdl 732B

il y a 3 ans
1234567891011121314151617181920212223242526272829
  1. task fastq_screen {
  2. File read
  3. File ref_dir
  4. File fastq_screen_conf
  5. String docker
  6. String cluster_config
  7. String disk_size
  8. command <<<
  9. set -o pipefail
  10. set -e
  11. nt=$(nproc)
  12. mkdir -p /cromwell_root/tmp
  13. cp -r ${ref_dir} /cromwell_root/tmp/
  14. fastq_screen --aligner bowtie2 --conf ${fastq_screen_conf} --threads $nt --outdir ./ ${read}
  15. >>>
  16. runtime {
  17. docker:docker
  18. cluster: cluster_config
  19. systemDisk: "cloud_ssd 40"
  20. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  21. }
  22. output {
  23. File png = sub(basename(read), "\\.(fastq|fq)\\.gz$", "_screen.html")
  24. File txt = sub(basename(read), "\\.(fastq|fq)\\.gz$", "_screen.png")
  25. File html = sub(basename(read), "\\.(fastq|fq)\\.gz$", "_screen.txt")
  26. }
  27. }