Skip to content

Commit

Permalink
Merge pull request #201 from broadinstitute/fix_qnorm
Browse files Browse the repository at this point in the history
Fix qnorm
  • Loading branch information
atancoder authored Mar 7, 2024
2 parents 0a4197d + a7e8a6c commit 8345d2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions workflow/rules/neighborhoods.smk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rule create_neighborhoods:
genes = lambda wildcards: BIOSAMPLES_CONFIG.loc[wildcards.biosample, 'genes'],
ubiquitous_genes = config['ref']['ubiquitous_genes'],
chrom_sizes = config['ref']['chrom_sizes'],
qnorm = config['ref']['qnorm'] if config['params_neighborhoods']['use_qnorm'] else None,
qnorm = f"--qnorm {config['ref']['qnorm']}" if config['params_neighborhoods']['use_qnorm'] else "",
scripts_dir = SCRIPTS_DIR
conda:
"../envs/abcenv.yml"
Expand Down Expand Up @@ -39,6 +39,6 @@ rule create_neighborhoods:
--outdir {output.neighborhoodDirectory} \
--genes {output.processed_genes_file} \
--ubiquitously_expressed_genes {params.ubiquitous_genes} \
--qnorm {params.qnorm} \
--H3K27ac {params.H3K27ac}
--H3K27ac {params.H3K27ac} \
{params.qnorm}
"""

0 comments on commit 8345d2f

Please sign in to comment.