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.

42 lines
859B

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