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.

33 Zeilen
765B

  1. task mergePoN {
  2. Array[File] pon_vcfs
  3. String panel_id
  4. String docker
  5. String cluster_config
  6. String disk_size
  7. command <<<
  8. set -o pipefail
  9. set -e
  10. mkdir -p /cromwell_root/tmp/bcftools
  11. for i in ${sep=" " pon_vcfs}
  12. do
  13. bcftools view $i -Oz -o /cromwell_root/tmp/bcftools/$(basename $i.gz)
  14. bcftools index /cromwell_root/tmp/bcftools/$(basename $i.gz) -f
  15. done
  16. bcftools merge -m all -f PASS,. --force-samples /cromwell_root/tmp/bcftools/*.vcf.gz | bcftools plugin fill-AN-AC | bcftools filter -i 'SUM(AC)>1' > ${panel_id}_pon.vcf
  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 panel_of_normal_vcf = "${panel_id}_pon.vcf"
  26. }
  27. }