Skip to content

Commit 2ed71dc

Browse files
authored
fix: delivery rules (#1619)
fix delivery of files
1 parent b5b5702 commit 2ed71dc

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

BALSAMIC/constants/rules.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,15 @@
210210
"svdb_merge_tumor_normal",
211211
"bcftools_filter_sv_research",
212212
"bcftools_filter_sv_clinical",
213-
"tiddit_sv_tumor_only",
214-
"tiddit_sv_tumor_normal",
213+
"tiddit_sv_tumor_normal_wgs",
214+
"tiddit_sv_tumor_only_wgs",
215215
# CNVs
216216
"delly_cnv_tumor_only",
217217
"delly_cnv_tumor_normal",
218-
"ascat_tumor_normal",
219-
"cnvpytor_tumor_only",
218+
"delly_cnv_tumor_normal_wgs",
219+
"delly_cnv_tumor_only_wgs",
220+
"ascat_tumor_normal_wgs",
221+
"cnvpytor_tumor_only_wgs",
220222
"vcf2cytosure_convert_tumor_only",
221223
"vcf2cytosure_convert_tumor_normal",
222224
"cnvkit_segment_CNV_research",

BALSAMIC/constants/workflow_profile/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ set-resources:
377377
mem_mb: min(230000, 20000 * attempt)
378378
bcftools_filter_tnscope_research_tumor_only:
379379
runtime: 280
380-
mem_mb: 2min(230000, 0000 * attempt)
380+
mem_mb: min(230000, 20000 * attempt)
381381
bcftools_filter_TNscope_umi_clinical_tumor_only:
382382
runtime: 280
383383
mem_mb: min(230000, 5000 * attempt)

BALSAMIC/snakemake_rules/annotation/varcaller_filter_tumor_only_wgs.rule

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ rule bcftools_filter_tnscope_research_tumor_only:
2323
"Filtering WGS tumor-only tnscope annotated research variants using bcftools for {params.case_name}"
2424
shell:
2525
"""
26-
grep -v '^@' {input.wgs_calling_file} > {input.wgs_calling_file}.bed
26+
grep -v '^@' {input.wgs_calling_file} > {input.wgs_calling_file}.bed ;
2727
2828
bcftools view --threads {threads} --regions-file {input.wgs_calling_file}.bed {input.vcf_snv_research} | \
2929
bcftools filter --threads {threads} --include 'INFO/GNOMADAF_popmax <= {params.pop_freq[0]} || INFO/GNOMADAF_popmax == \".\"' --soft-filter '{params.pop_freq[1]}' --mode '+' | \

BALSAMIC/snakemake_rules/variant_calling/somatic_cnv_tumor_normal_tga.rule

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ rule delly_cnv_tumor_normal:
291291
rd_delly = vcf_dir + "CNV.somatic." + config["analysis"]["case_id"] + ".dellycnv.cov.gz",
292292
namemap= vcf_dir + "CNV.somatic." + config["analysis"]["case_id"] + ".dellycnv.sample_name_map",
293293
benchmark:
294-
benchmark_dir + 'delly_cnv_tumor_only_' + config["analysis"]["case_id"] + ".tsv"
294+
benchmark_dir + 'delly_cnv_tumor_normal_' + config["analysis"]["case_id"] + ".tsv"
295295
singularity:
296296
Path(singularity_image, config["bioinfo_tools"].get("delly") + ".sif").as_posix(),
297297
params:

0 commit comments

Comments
 (0)