Generate the Panel of Normal files for TNseq and TNscope.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

42 行
1.0KB

  1. task PON {
  2. String SENTIEON_INSTALL_DIR
  3. String SENTIEON_LICENSE
  4. String sample
  5. File ref_dir
  6. String fasta
  7. File cosmic_dir
  8. String cosmic_vcf
  9. File dbsnp_dir
  10. String dbsnp
  11. File regions
  12. File normal_recaled_bam
  13. File normal_recaled_bam_index
  14. String docker
  15. String cluster_config
  16. String disk_size
  17. command <<<
  18. set -o pipefail
  19. set -e
  20. export SENTIEON_LICENSE=${SENTIEON_LICENSE}
  21. nt=$(nproc)
  22. mkdir -p /cromwell_root/tmp/cosmic/
  23. cp ${cosmic_dir}/${cosmic_vcf} /cromwell_root/tmp/cosmic/
  24. ${SENTIEON_INSTALL_DIR}/bin/sentieon util vcfindex /cromwell_root/tmp/cosmic/${cosmic_vcf}
  25. ${SENTIEON_INSTALL_DIR}/bin/sentieon driver -t $nt --interval ${regions} -r ${ref_dir}/${fasta} -i ${normal_recaled_bam} --algo TNhaplotyper --detect_pon --cosmic /cromwell_root/tmp/cosmic/${cosmic_vcf} --dbsnp ${dbsnp_dir}/${dbsnp} ${sample}_pon.vcf
  26. >>>
  27. runtime {
  28. docker: docker
  29. cluster: cluster_config
  30. systemDisk: "cloud_ssd 40"
  31. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  32. }
  33. output {
  34. File pon_vcf = "${sample}_pon.vcf"
  35. }
  36. }