Generate the Panel of Normal files for TNseq and TNscope.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

4 anos atrás
4 anos atrás
123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. task Realigner {
  2. File ref_dir
  3. String fasta
  4. File dbmills_dir
  5. String db_mills
  6. String SENTIEON_INSTALL_DIR
  7. String SENTIEON_LICENSE
  8. File deduped_bam
  9. File deduped_bam_index
  10. String docker
  11. String cluster_config
  12. String disk_size
  13. String sample=basename(deduped_bam, ".sorted.deduped.bam")
  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 ${deduped_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. }