Germline & Somatic short variant discovery (SNVs + Indels) for WGS & WES.
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.

46 lines
947B

  1. task Realigner {
  2. File ref_dir
  3. File dbmills_dir
  4. String SENTIEON_INSTALL_DIR
  5. String SENTIEON_LICENSE
  6. String sample
  7. String fasta
  8. File Dedup_bam
  9. File Dedup_bam_index
  10. String db_mills
  11. String docker
  12. String cluster_config
  13. String disk_size
  14. command <<<
  15. set -o pipefail
  16. set -e
  17. export SENTIEON_LICENSE=${SENTIEON_LICENSE}
  18. nt=$(nproc)
  19. ${SENTIEON_INSTALL_DIR}/bin/sentieon driver -t $nt \
  20. -r ${ref_dir}/${fasta} \
  21. -i ${Dedup_bam} \
  22. --algo Realigner -k ${dbmills_dir}/${db_mills} ${sample}.sorted.deduped.realigned.bam
  23. >>>
  24. runtime {
  25. docker: docker
  26. cluster: cluster_config
  27. systemDisk: "cloud_ssd 40"
  28. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  29. }
  30. output {
  31. File realigner_bam = "${sample}.sorted.deduped.realigned.bam"
  32. File realigner_bam_index = "${sample}.sorted.deduped.realigned.bam.bai"
  33. }
  34. }