Generate the Panel of Normal files for TNseq and TNscope.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

PoN.wdl 1.1KB

4 år sedan
4 år sedan
4 år sedan
4 år sedan
4 år sedan
4 år sedan
4 år sedan
4 år sedan
4 år sedan
4 år sedan
4 år sedan
4 år sedan
4 år sedan
12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. task PoN {
  2. String SENTIEON_INSTALL_DIR
  3. String SENTIEON_LICENSE
  4. File ref_dir
  5. String fasta
  6. File regions
  7. File normal_bam
  8. File normal_bam_index
  9. String sample=basename(normal_bam, ".*")
  10. String docker
  11. String cluster_config
  12. String disk_size
  13. command <<<
  14. set -o pipefail
  15. set -e
  16. export SENTIEON_LICENSE=${SENTIEON_LICENSE}
  17. nt=$(nproc)
  18. if [ ${regions} ]; then
  19. INTERVAL="--interval ${regions}"
  20. else
  21. INTERVAL=""
  22. fi
  23. ${SENTIEON_INSTALL_DIR}/bin/sentieon driver -t $nt $INTERVAL -r ${ref_dir}/${fasta} -i ${normal_bam} \
  24. --algo TNhaplotyper2 --normal_sample ${sample} ${sample}.TNseq.PoN.vcf
  25. ${SENTIEON_INSTALL_DIR}/bin/sentieon driver -t $nt $INTERVAL -r ${ref_dir}/${fasta} -i ${normal_bam} \
  26. --algo TNscope --normal_sample ${sample} ${sample}.TNscope.PoN.vcf
  27. >>>
  28. runtime {
  29. docker: docker
  30. cluster: cluster_config
  31. systemDisk: "cloud_ssd 40"
  32. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  33. }
  34. output {
  35. File TNseq_pon_vcf = "${sample}.TNseq.PoN.vcf"
  36. File TNscope_pon_vcf = "${sample}.TNscope.PoN.vcf"
  37. }
  38. }