Germline & Somatic short variant discovery (SNVs + Indels) for WGS & WES.
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

Realigner.wdl 1.1KB

hace 4 años
123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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? regions
  9. File Dedup_bam
  10. File Dedup_bam_index
  11. String db_mills
  12. String docker
  13. String cluster_config
  14. String disk_size
  15. command <<<
  16. set -o pipefail
  17. set -e
  18. export SENTIEON_LICENSE=${SENTIEON_LICENSE}
  19. nt=$(nproc)
  20. if [ ${regions} != "" ]; then
  21. ${SENTIEON_INSTALL_DIR}/bin/sentieon driver -r ${ref_dir}/${fasta} -t $nt -i ${Dedup_bam} --algo Realigner -k ${dbmills_dir}/${db_mills} --interval_list ${regions} ${sample}.sorted.deduped.realigned.bam
  22. else
  23. ${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
  24. fi
  25. >>>
  26. runtime {
  27. docker: docker
  28. cluster: cluster_config
  29. systemDisk: "cloud_ssd 40"
  30. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  31. }
  32. output {
  33. File realigner_bam = "${sample}.sorted.deduped.realigned.bam"
  34. File realigner_bam_index = "${sample}.sorted.deduped.realigned.bam.bai"
  35. }
  36. }