Generate the Panel of Normal files for TNseq and TNscope.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

42 Zeilen
1.0KB

  1. task Dedup {
  2. String SENTIEON_INSTALL_DIR
  3. String SENTIEON_LICENSE
  4. String sample
  5. File sorted_bam
  6. File sorted_bam_index
  7. String docker
  8. String cluster_config
  9. String disk_size
  10. command <<<
  11. set -o pipefail
  12. set -e
  13. export SENTIEON_LICENSE=${SENTIEON_LICENSE}
  14. nt=$(nproc)
  15. ${SENTIEON_INSTALL_DIR}/bin/sentieon driver -t $nt -i ${sorted_bam} --algo LocusCollector --fun score_info ${sample}_score.txt
  16. ${SENTIEON_INSTALL_DIR}/bin/sentieon driver -t $nt -i ${sorted_bam} --algo Dedup --rmdup --score_info ${sample}_score.txt --metrics ${sample}_dedup_metrics.txt ${sample}.sorted.deduped.bam
  17. >>>
  18. runtime {
  19. docker: docker
  20. cluster: cluster_config
  21. systemDisk: "cloud_ssd 40"
  22. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  23. }
  24. output {
  25. File score = "${sample}_score.txt"
  26. File dedup_metrics = "${sample}_dedup_metrics.txt"
  27. File deduped_bam = "${sample}.sorted.deduped.bam"
  28. File deduped_bam_index = "${sample}.sorted.deduped.bam.bai"
  29. }
  30. }