Automated integrated analysis software for genomics data of the cancer patients.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

Haplotyper.wdl 1.0KB

2 år sedan
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. }