Skip to content

Commit

Permalink
fixup! 🚧 Use augur subsample
Browse files Browse the repository at this point in the history
Add global excludes
  • Loading branch information
victorlin committed Apr 17, 2024
1 parent 52501d6 commit c2b96d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workflow/snakemake_rules/main_workflow.smk
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ rule subsample:
sequences=_get_unified_alignment,
metadata=_get_unified_metadata,
subsampling_scheme = lambda wildcards: config["builds"][wildcards.build_name]["subsampling_scheme"],
exclude = config["files"]["exclude"],
include = config["files"]["include"],
output:
sequences = "results/{build_name}/{build_name}_subsampled_sequences.fasta.xz",
Expand All @@ -213,6 +214,7 @@ rule subsample:
--sequences {input.sequences} \
--metadata {input.metadata} \
--config {input.subsampling_scheme} \
--exclude {input.exclude} \
--include {input.include} \
--output-sequences {output.sequences} \
--output-metadata {output.metadata} 2>&1 | tee {log}
Expand Down

0 comments on commit c2b96d1

Please sign in to comment.