Generating a VAF file from one FASTQ file parallelly. And then parallelized read the set of VAF files by vaf_ncm.py.
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.

29 line
588B

  1. task fastq_ncm {
  2. File fq1
  3. File fq2
  4. String out_id
  5. String subsampling_rate
  6. String docker
  7. String cluster_config
  8. String disk_size
  9. command <<<
  10. set -o pipefail
  11. set -e
  12. nt=$(nproc)
  13. export NCM_HOME=/opt/NGSCheckMate
  14. /opt/NGSCheckMate/ngscheckmate_fastq -1 ${fq1} -2 ${fq2} /opt/NGSCheckMate/SNP/SNP.pt -p $nt -s ${subsampling_rate} > ${out_id}.vaf
  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 vaf="${out_id}.vaf"
  24. }
  25. }