Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

45 lines
910B

  1. task TNseq {
  2. File ref_dir
  3. File dbsnp_dir
  4. String sample
  5. String SENTIEON_INSTALL_DIR
  6. String SENTIEON_LICENSE
  7. String tumor_name
  8. String normal_name
  9. String docker
  10. String cluster_config
  11. String fasta
  12. File corealigner_bam
  13. File corealigner_bam_index
  14. String dbsnp
  15. String disk_size
  16. command <<<
  17. set -o pipefail
  18. set -e
  19. export SENTIEON_LICENSE=${SENTIEON_LICENSE}
  20. nt=$(nproc)
  21. ${SENTIEON_INSTALL_DIR}/bin/sentieon driver -r ${ref_dir}/${fasta} -t $nt -i ${corealigner_bam} --algo TNhaplotyper --tumor_sample ${tumor_name} --normal_sample ${normal_name} --dbsnp ${dbsnp_dir}/${dbsnp} ${sample}.TNseq.TN.vcf
  22. >>>
  23. runtime {
  24. docker:docker
  25. cluster: cluster_config
  26. systemDisk: "cloud_ssd 40"
  27. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  28. }
  29. output {
  30. File TNseq_vcf= "${sample}.TNseq.TN.vcf"
  31. File TNseq_vcf_index = "${sample}.TNseq.TN.vcf.idx"
  32. }
  33. }