Skip to content

Commit

Permalink
fix delly models and vep
Browse files Browse the repository at this point in the history
  • Loading branch information
khurrammaqbool committed Jul 30, 2021
1 parent b6631aa commit 81668fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BALSAMIC/utils/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class VCFModel(BaseModel):
manta_germline: VarcallerAttribute
haplotypecaller: VarcallerAttribute
TNscope_umi: VarcallerAttribute
# delly: VarcallerAttribute
delly: VarcallerAttribute

class AnalysisModel(BaseModel):
"""Pydantic model containing workflow variables
Expand Down
5 changes: 3 additions & 2 deletions BALSAMIC/workflows/balsamic.smk
Original file line number Diff line number Diff line change
Expand Up @@ -363,12 +363,13 @@ else:
analysis_specific_results.extend([expand(vep_dir + "{vcf}.all.filtered.pass.vcf.gz",
vcf=get_vcf(config, ["manta"], [config["analysis"]["case_id"]]))])

analysis_specific_results.extend([expand(vcf_dir + "{vcf}.vcf.gz",
vcf=get_vcf(config, ["delly"],[config["analysis"]["case_id"]]))])

if config["analysis"]["sequencing_type"] == "wgs" and config['analysis']['analysis_type'] == "single":
if "dragen" in config:
analysis_specific_results.extend([Path(result_dir, "dragen", "SNV.somatic." + config["analysis"]["case_id"] + ".dragen_tumor.bam").as_posix(),
Path(result_dir, "dragen", "SNV.somatic." + config["analysis"]["case_id"] + ".dragen.vcf.gz").as_posix()])
# delly get vcf file
analysis_specific_results.extend([Path(vcf_dir + "SV.somatic." + config["analysis"]["case_id"] + ".delly.vcf.gz")])

for r in config["rules"]:
include: Path(RULE_DIRECTORY, r).as_posix()
Expand Down

0 comments on commit 81668fa

Please sign in to comment.