Skip to content

Commit

Permalink
bug: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
MagdalenaZZ committed Jul 23, 2024
1 parent 26fb70f commit 93ced62
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion workflow/rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def compile_output_list(wildcards):
"qc/peddy/peddy.peddy.ped",
"qc/peddy/peddy.ped_check.csv",
"qc/peddy/peddy.sex_check.csv",
"qc/peddy/peddy.het_check.csv",zx
"qc/peddy/peddy.het_check.csv",
"qc/peddy/peddy.html",
"qc/peddy/peddy.vs.html",
"qc/peddy/peddy.background_pca.json",
Expand Down
9 changes: 4 additions & 5 deletions workflow/rules/happy.smk
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ __license__ = "GPL-3"

rule happy:
input:
truth="truth.vcf",
query="parabricks/pbrun_deepvariant/{sample}_{type}.vcf.gz",
truth_regions="truth.bed",
strats="stratifications.tsv",
strat_dir="strats_dir",
truth="reference/happy.truth.vcf",
query="reference/happy.test.vcf",
truth_regions="reference/happy.bed",
strats="stratifications.tsv", # optional, from https://github.com/genome-in-a-bottle/genome-stratifications
genome=config.get("reference", {}).get("fasta", ""),
genome_index=config.get("reference", {}).get("fai", ""),
output:
Expand Down
5 changes: 1 addition & 4 deletions workflow/schemas/rules.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,7 @@ properties:
description: BED reference file for which regions should be evaluated
strats:
type: string
description: stratifications.tsv reference file
strat_dir:
type: string
description: directory for stratifications
description: stratifications.tsv reference file, optional from https://github.com/genome-in-a-bottle/genome-stratifications
output:
type: object
description: list of inputs
Expand Down

0 comments on commit 93ced62

Please sign in to comment.