Skip to content

Commit

Permalink
Merge pull request #441 from nextstrain/remove-nextclade-workaround
Browse files Browse the repository at this point in the history
feat(nextclade): workaround for nextstrain/nextclade#1422 no longer needed
  • Loading branch information
joverlee521 authored Jul 25, 2024
2 parents fadb543 + 9bc2a05 commit 48e2cec
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions workflow/snakemake_rules/nextclade.smk
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,6 @@ rule run_wuhan_nextclade:
f"benchmarks/run_wuhan_nextclade_{database}.txt"
shell:
"""
# If there are no sequences to run Nextclade on, create empty output files
if [[ ! -s {input.sequences} ]]; then
touch {output.info}
touch {output.alignment}
touch {output.translations}
exit 0
fi
./{input.nextclade_path} run \
-j {threads} \
{input.sequences}\
Expand All @@ -233,12 +225,6 @@ rule run_21L_nextclade:
f"benchmarks/run_21L_nextclade_{database}.txt"
shell:
"""
# If there are no sequences to run Nextclade on, create empty output files
if [[ ! -s {input.sequences} ]]; then
touch {output.info}
exit 0
fi
./{input.nextclade_path} run \
-j {threads} \
{input.sequences} \
Expand Down

0 comments on commit 48e2cec

Please sign in to comment.