Germline & Somatic short variant discovery (SNVs + Indels) for WGS & WES.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

3 年前
3 年前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. task Haplotyper {
  2. File ref_dir
  3. File dbsnp_dir
  4. String SENTIEON_INSTALL_DIR
  5. String SENTIEON_LICENSE
  6. String fasta
  7. File recaled_bam
  8. File recaled_bam_index
  9. String dbsnp
  10. String sample
  11. String docker
  12. String cluster_config
  13. String disk_size
  14. File? regions
  15. Int? interval_padding
  16. command <<<
  17. set -o pipefail
  18. set -e
  19. export SENTIEON_LICENSE=${SENTIEON_LICENSE}
  20. nt=$(nproc)
  21. if [ ${regions} ]; then
  22. INTERVAL="--interval ${regions} --interval_padding ${interval_padding}"
  23. else
  24. INTERVAL=""
  25. fi
  26. ${SENTIEON_INSTALL_DIR}/bin/sentieon driver -t $nt \
  27. --interval ${regions} -r ${ref_dir}/${fasta} \
  28. -i ${recaled_bam} \
  29. --algo Haplotyper -d ${dbsnp_dir}/${dbsnp} \
  30. ${sample}.Haplotyper.vcf
  31. >>>
  32. runtime {
  33. docker: docker
  34. cluster: cluster_config
  35. systemDisk: "cloud_ssd 40"
  36. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  37. }
  38. output {
  39. File vcf = "${sample}.Haplotyper.vcf"
  40. File vcf_idx = "${sample}.Haplotyper.vcf.idx"
  41. }
  42. }