Generate the Panel of Normal files for TNseq and TNscope.
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.

mergePoN.wdl 807B

il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
123456789101112131415161718192021222324252627282930313233
  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. }