Skip to content

Commit

Permalink
Merge pull request #58 from friendsofstrandseq/weber8thomas/fix-common
Browse files Browse the repository at this point in the history
fix(startup): Fix wrongly placed config for paired_end parameter in c…
  • Loading branch information
weber8thomas authored Jul 6, 2024
2 parents f754ea0 + d3e7657 commit 522f998
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions workflow/rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ import collections
import yaml
import subprocess


if config["paired_end"] is True:
pair = ["1", "2"]
else:
pair = ["1"]

if config["mosaicatcher_pipeline"] == False:
exclude = [
"._.DS_Store",
Expand Down Expand Up @@ -40,11 +46,6 @@ if config["mosaicatcher_pipeline"] == False:
"chr" + str(e) for e in list(range(1, 20)) + ["X", "Y"]
]

if config["paired_end"] is True:
pair = ["1", "2"]
else:
pair = ["1"]

from scripts.utils import pipeline_aesthetic_start_ashleys

if config["list_commands"] is True:
Expand Down Expand Up @@ -483,7 +484,7 @@ def get_final_output(wildcards):
if config["publishdir"] != "":
final_list.extend(
expand(
"{folder}/{sample}/config/publishdir_outputs.ok",
"{folder}/{sample}/config/publishdir_outputs_ashleys.ok",
folder=config["data_location"],
sample=wildcards.sample,
)
Expand Down

0 comments on commit 522f998

Please sign in to comment.