Skip to content

Commit

Permalink
feat: added snakemake_design to define_output_files
Browse files Browse the repository at this point in the history
  • Loading branch information
alsmith151 committed Feb 6, 2024
1 parent 94d7877 commit 84ea7bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 45 deletions.
42 changes: 0 additions & 42 deletions seqnado/workflow/snakefile_consensus_peaks

This file was deleted.

2 changes: 1 addition & 1 deletion seqnado/workflow/snakefile_rna
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ include: "rules/heatmap.smk"

# Define output files
ANALYSIS_OUTPUT = utils.define_output_files(
sample_names=SAMPLE_NAMES, assay=ASSAY, can_run_deseq2=CAN_RUN_DESEQ2, project_name=PROJECT_NAME, **config
snakemake_design=DESIGN, sample_names=SAMPLE_NAMES, assay=ASSAY, can_run_deseq2=CAN_RUN_DESEQ2, project_name=PROJECT_NAME, **config
)

rule all:
Expand Down
5 changes: 3 additions & 2 deletions seqnado/workflow/snakefile_snp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ include: "rules/hub.smk"
include: "rules/qc.smk"
include: "rules/variant.smk"

ANALYSIS_OUTPUT = utils.define_output_files(sample_names=SAMPLE_NAMES,
ANALYSIS_OUTPUT = utils.define_output_files(snakemake_design=DESIGN,
sample_names=SAMPLE_NAMES,
assay=ASSAY,
**config)

Expand Down Expand Up @@ -69,4 +70,4 @@ onerror:
shutil.copyfile(log, log_out)
print(
f"An error occurred. Please check the log file {log_out} for more information."
)
)

0 comments on commit 84ea7bf

Please sign in to comment.