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.

62 lines
1.6KB

  1. import "./tasks/stralka.wdl" as stralka
  2. import "./tasks/bcftools_concat.wdl" as bcftools_concat
  3. import "./tasks/annovar.wdl" as annovar
  4. workflow {{ project_name }} {
  5. File tumour_bam
  6. File tumour_bam_bai
  7. File normal_bam
  8. File normal_bam_bai
  9. String ref_fasta
  10. File ref_dir
  11. String sample_id
  12. File? manta_indel_vcf
  13. File? manta_indel_vcf_index
  14. File annovar_database
  15. # excute env
  16. String docker_stralka
  17. String cluster_config
  18. String disk_size
  19. String docker_bcftools
  20. String docker_annovar
  21. call stralka.strelka_calling as stralka{
  22. input:
  23. tumour_bam=tumour_bam,
  24. tumour_bam_bai=tumour_bam_bai,
  25. normal_bam=normal_bam,
  26. normal_bam_bai=normal_bam_bai,
  27. ref_fasta=ref_fasta,
  28. ref_dir=ref_dir,
  29. sample_id=sample_id,
  30. docker=docker_stralka,
  31. cluster_config=cluster_config,
  32. disk_size=disk_size
  33. }
  34. call bcftools_concat.bcftools as bcftools{
  35. input:
  36. ref_dir=ref_dir,
  37. fasta=ref_fasta,
  38. vcf_indels=stralka.indel_vcf,
  39. vcf_snvs=stralka.snv_vcf,
  40. sample_id=sample_id,
  41. docker=docker_bcftools,
  42. cluster_config=cluster_config,
  43. disk_size=disk_size
  44. }
  45. call annovar.ANNOVAR as ANNOVAR{
  46. input:
  47. vcf=bcftools.concat_vcf,
  48. annovar_database=annovar_database,
  49. docker=docker_annovar,
  50. cluster_config=cluster_config,
  51. disk_size=disk_size
  52. }
  53. }