Generate the Panel of Normal files for TNseq and TNscope.
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.

47 Zeilen
1.1KB

  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 docker
  10. String cluster_config
  11. String disk_size
  12. String sample=basename(normal_bam, ".sorted.deduped.realigned.recaled.bam")
  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. }