Skip to content

Commit

Permalink
Minor refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
lczech committed Jul 15, 2024
1 parent db76e37 commit e898334
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
1 change: 1 addition & 0 deletions workflow/rules/pileup.smk
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ rule all_pileups:
if "all-merged-samples" in config["settings"]["pileups"]
else []
),
"mapping/final.done"
output:
touch("mpileup/all-pileups.done"),

Expand Down
18 changes: 15 additions & 3 deletions workflow/rules/prepare-reference.smk
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ elif config["data"]["reference-genome-download"]["full-url"]:
shell:
"(curl -L {params.url} >> {output[0]}) > {log} 2>&1"

localrules:
download_reference_genome,


else:

rule download_reference_genome:
Expand Down Expand Up @@ -129,9 +133,8 @@ else:
wrapper:
"v3.13.6/bio/reference/ensembl-sequence"


localrules:
download_reference_genome,
localrules:
download_reference_genome,


# =================================================================================================
Expand Down Expand Up @@ -390,6 +393,11 @@ elif config["data"]["known-variants-download"]["full-url"]:
script:
"../scripts/ensembl-variation.py"


localrules:
download_known_variants,


else:

rule download_known_variants:
Expand Down Expand Up @@ -418,6 +426,10 @@ else:
"v3.13.6/bio/reference/ensembl-variation"


localrules:
download_known_variants,


# =================================================================================================
# Known Variants Processing
# =================================================================================================
Expand Down

0 comments on commit e898334

Please sign in to comment.