Automated integrated analysis software for genomics data of the cancer patients.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

57 lignes
1.6KB

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