Skip to content

Commit

Permalink
Fixup: lower the ENV gene min-length
Browse files Browse the repository at this point in the history
  • Loading branch information
j23414 committed Jun 4, 2024
1 parent 2c4a9f6 commit c433ecb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion phylogenetic/defaults/config_zika.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ filter:
group_by: "country year month"
sequences_per_group: 40
min_date: 2012
min_length: 5385
min_length:
genome: 5385
ENV: 1000

refine:
coalescent: "opt"
Expand Down
2 changes: 1 addition & 1 deletion phylogenetic/rules/prepare_sequences.smk
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ rule filter:
group_by = config["filter"]["group_by"],
sequences_per_group = config["filter"]["sequences_per_group"],
min_date = config["filter"]["min_date"],
min_length = config["filter"]["min_length"],
min_length = lambda wildcard: config["filter"]["min_length"][wildcard.gene],
strain_id = config.get("strain_id_field", "strain"),
shell:
"""
Expand Down

0 comments on commit c433ecb

Please sign in to comment.