Skip to content

Commit

Permalink
Reformat hla_typing snakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
giacuong171 committed Jul 17, 2024
1 parent 76e0c97 commit 03c9714
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion snappy_pipeline/workflows/hla_typing/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ rule hla_typing_link_in_run:

# Generic linking out ---------------------------------------------------------


rule hla_typing_link_out_run:
input:
wf.get_input_files("link_out", "run"),
Expand All @@ -67,6 +68,7 @@ rule hla_typing_link_out_run:
# OptiType --------------------------------------------------------------------

if "optitype" in wf.w_config.step_config["hla_typing"].tools:

rule hla_typing_optitype_run:
input:
**wf.get_input_files("optitype", "run"),
Expand All @@ -91,6 +93,7 @@ if "optitype" in wf.w_config.step_config["hla_typing"].tools:

# NB: reference is updated in the installed package
if "arcashla" in wf.w_config.step_config["hla_typing"].tools:

rule hla_typing_arcashla_prepare_reference:
output:
touch("work/arcashla.prepare_reference/out/.done"),
Expand All @@ -99,7 +102,6 @@ if "arcashla" in wf.w_config.step_config["hla_typing"].tools:
wrapper:
wf.wrapper_path("arcashla/prepare_reference")


rule hla_typing_arcashla_run:
input:
unpack(wf.get_input_files("arcashla", "run")),
Expand Down

0 comments on commit 03c9714

Please sign in to comment.