Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/delly not showing in workflow at runtime #698

Merged
merged 4 commits into from
Aug 2, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
khurrammaqbool marked this conversation as resolved.
Show resolved Hide resolved
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