Automated integrated analysis software for genomics data of the cancer patients.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

52 linhas
1.0KB

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