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

47 lignes
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.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 --tumor_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 --tumor_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. }