You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Haplotyper.wdl 898B

4 年之前
4 年之前
4 年之前
4 年之前
4 年之前
4 年之前
4 年之前
4 年之前
4 年之前
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. task Haplotyper {
  2. File ref_dir
  3. File dbsnp_dir
  4. String SENTIEON_INSTALL_DIR
  5. String fasta
  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. String INTERVAL = if ${regions} then "--interval ${regions} --interval_padding ${interval_padding}" else ""
  16. command <<<
  17. set -o pipefail
  18. set -e
  19. export SENTIEON_LICENSE=192.168.0.55:8990
  20. nt=$(nproc)
  21. ${SENTIEON_INSTALL_DIR}/bin/sentieon driver -r ${ref_dir}/${fasta} -t $nt \
  22. -i ${recaled_bam} ${INTERVAL} \
  23. --algo Haplotyper -d ${dbsnp_dir}/${dbsnp} ${sample}_hc.vcf
  24. >>>
  25. runtime {
  26. docker:docker
  27. cluster: cluster_config
  28. systemDisk: "cloud_ssd 40"
  29. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  30. }
  31. output {
  32. File vcf = "${sample}_hc.vcf"
  33. File vcf_idx = "${sample}_hc.vcf.idx"
  34. }
  35. }