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.

mendelian.wdl 818B

5 jaren geleden
12345678910111213141516171819202122232425262728293031323334
  1. task mendelian {
  2. File child_vcf
  3. File LCL7_vcf
  4. File LCL8_vcf
  5. String LCL7_name
  6. String LCL8_name
  7. String child_name
  8. File ref_dir
  9. String fasta
  10. String docker
  11. String cluster_config
  12. String disk_size
  13. command <<<
  14. export LD_LIBRARY_PATH=/opt/htslib-1.9
  15. nt=$(nproc)
  16. mkdir VBT
  17. /opt/VBT-TrioAnalysis/vbt mendelian -ref ${ref_dir}/${fasta} -mother ${LCL8_vcf} -father ${LCL7_vcf} -child ${child_vcf} -outDir VBT -out-prefix ${child_name}.family --output-violation-regions -thread-count $nt
  18. cat VBT/${child_name}.family_trio.vcf > ${child_name}.family.vcf
  19. >>>
  20. runtime {
  21. docker:docker
  22. cluster: cluster_config
  23. systemDisk: "cloud_ssd 40"
  24. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  25. }
  26. output {
  27. Array[File] vbt_mendelian = glob("VBT/*")
  28. File trio_vcf = "${child_name}.family.vcf"
  29. }
  30. }