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.

4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
3 vuotta sitten
4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
3 vuotta sitten
4 vuotta sitten
4 vuotta sitten
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. task BQSR {
  2. File ref_dir
  3. File dbsnp_dir
  4. File dbmills_dir
  5. String sample
  6. String SENTIEON_INSTALL_DIR
  7. String SENTIEON_LICENSE
  8. String fasta
  9. String dbsnp
  10. String db_mills
  11. File deduped_bam
  12. File deduped_bam_index
  13. String docker
  14. String cluster_config
  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 -t $nt \
  22. -r ${ref_dir}/${fasta} -i ${deduped_bam} \
  23. --algo QualCal \
  24. -k ${dbsnp_dir}/${dbsnp} -k ${dbmills_dir}/${db_mills} \
  25. ${sample}_recal_data.table
  26. ${SENTIEON_INSTALL_DIR}/bin/sentieon driver -t $nt \
  27. -r ${ref_dir}/${fasta} -i ${deduped_bam} -q ${sample}_recal_data.table \
  28. --algo QualCal -k ${dbsnp_dir}/${dbsnp} -k ${dbmills_dir}/${db_mills} \
  29. ${sample}_recal_data.table.post --algo ReadWriter ${sample}.sorted.deduped.recaled.bam
  30. ${SENTIEON_INSTALL_DIR}/bin/sentieon driver -t $nt --algo QualCal \
  31. --plot --before ${sample}_recal_data.table --after ${sample}_recal_data.table.post ${sample}_recal_data.csv
  32. ${SENTIEON_INSTALL_DIR}/bin/sentieon plot bqsr -o ${sample}_bqsrreport.pdf ${sample}_recal_data.csv
  33. >>>
  34. runtime {
  35. docker: docker
  36. cluster: cluster_config
  37. systemDisk: "cloud_ssd 40"
  38. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  39. }
  40. output {
  41. File recal_table = "${sample}_recal_data.table"
  42. File recal_post = "${sample}_recal_data.table.post"
  43. File recaled_bam = "${sample}.sorted.deduped.recaled.bam"
  44. File recaled_bam_index = "${sample}.sorted.deduped.recaled.bam.bai"
  45. File recal_csv = "${sample}_recal_data.csv"
  46. File bqsrreport_pdf = "${sample}_bqsrreport.pdf"
  47. }
  48. }