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.

merge_mendelian.wdl 710B

1234567891011121314151617181920212223242526
  1. task merge_mendelian {
  2. File D5_trio_vcf
  3. File D6_trio_vcf
  4. File consensus_vcf
  5. String chromo
  6. String docker
  7. String cluster_config
  8. String disk_size
  9. command <<<
  10. cat ${D5_trio_vcf} | grep -v '##' > ${chromo}.D5.txt
  11. cat ${D6_trio_vcf} | grep -v '##' > ${chromo}.D6.txt
  12. cat ${consensus_vcf} | grep -v '##' > ${chromo}.consensus.txt
  13. python /opt/merge_two_family_with_genotype.py -LCL5 ${chromo}.D5.txt -LCL6 ${chromo}.D6.txt -genotype ${chromo}.consensus.txt -family ${chromo}.mendelian
  14. >>>
  15. runtime {
  16. docker:docker
  17. cluster: cluster_config
  18. systemDisk: "cloud_ssd 40"
  19. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  20. }
  21. output {
  22. File chromo_mendelian = "${chromo}.mendelian.txt"
  23. }
  24. }