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.

mendelian.wdl 1.7KB

vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. task mendelian {
  2. File consensus_vcf
  3. File ref_dir
  4. String fasta
  5. String chromo
  6. String docker
  7. String cluster_config
  8. String disk_size
  9. command <<<
  10. export LD_LIBRARY_PATH=/opt/htslib-1.9
  11. nt=$(nproc)
  12. echo -e "${chromo}\tLCL8_consensus_call\t0\t0\t2\t-9\n${chromo}\tLCL7_consensus_call\t0\t0\t1\t-9\n${chromo}\tLCL5_consensus_call\tLCL7_consensus_call\tLCL8_consensus_call\t2\t-9" > ${chromo}.D5.ped
  13. mkdir VBT_D5
  14. /opt/VBT-TrioAnalysis/vbt mendelian -ref ${ref_dir}/${fasta} -mother ${consensus_vcf} -father ${consensus_vcf} -child ${consensus_vcf} -pedigree ${chromo}.D5.ped -outDir VBT_D5 -out-prefix ${chromo}.D5 --output-violation-regions -thread-count $nt
  15. cat VBT_D5/${chromo}.D5_trio.vcf > ${chromo}.D5.vcf
  16. echo -e "${chromo}\tLCL8_consensus_call\t0\t0\t2\t-9\n${chromo}\tLCL7_consensus_call\t0\t0\t1\t-9\n${chromo}\tLCL6_consensus_call\tLCL7_consensus_call\tLCL8_consensus_call\t2\t-9" > ${chromo}.D6.ped
  17. mkdir VBT_D6
  18. /opt/VBT-TrioAnalysis/vbt mendelian -ref ${ref_dir}/${fasta} -mother ${consensus_vcf} -father ${consensus_vcf} -child ${consensus_vcf} -pedigree ${chromo}.D6.ped -outDir VBT_D6 -out-prefix ${chromo}.D6 --output-violation-regions -thread-count $nt
  19. cat VBT_D6/${chromo}.D6_trio.vcf > ${chromo}.D6.vcf
  20. >>>
  21. runtime {
  22. docker:docker
  23. cluster: cluster_config
  24. systemDisk: "cloud_ssd 40"
  25. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  26. }
  27. output {
  28. File D5_ped = "${chromo}.D5.ped"
  29. File D6_ped = "${chromo}.D6.ped"
  30. Array[File] D5_mendelian = glob("VBT_D5/*")
  31. Array[File] D6_mendelian = glob("VBT_D6/*")
  32. File D5_trio_vcf = "${chromo}.D5.vcf"
  33. File D6_trio_vcf = "${chromo}.D6.vcf"
  34. File family_vcf = "${chromo}.vcf"
  35. }
  36. }