Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
robomics committed Jun 4, 2024
1 parent 91444e5 commit 9660267
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ params {
// Plotting options
plot_format = 'png'
hic_tgt_resolution_plots = 500000 // Approximate Hi-C data resolution used for plotting
plot_sig_interactions_cmap_lb = 1.0 // Lower bound for the color map used to plot significant iteractions
plot_sig_interactions_cmap_ub = 2.0 // Upper bound for the color map used to plot significant iteractions
plot_sig_interactions_cmap_lb = null // Lower bound for the color map used to plot significant iteractions. Set to nchg_log_ratio when not specified
plot_sig_interactions_cmap_ub = 2.0 // Upper bound for the color map used to plot significant iteractions
skip_expected_plots = false
skip_sign_interaction_plots = false

Expand Down
4 changes: 4 additions & 0 deletions subworkflows/nchg.nf
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ workflow NCHG {
.join(chrom_pairs.groupTuple())
.set { plotting_tasks }

if (!params.plot_sig_interactions_cmap_lb) {
params.plot_sig_interactions_cmap_lb = params.nchg_log_ratio_cutoff
}

PLOT_SIGNIFICANT(
plotting_tasks,
params.plot_sig_interactions_cmap_lb,
Expand Down

0 comments on commit 9660267

Please sign in to comment.