Skip to content

Commit

Permalink
🔧 only run cobalt binning for matched
Browse files Browse the repository at this point in the history
  • Loading branch information
juanesarango committed Dec 20, 2024
1 parent 79e94d9 commit d74dc5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,11 @@ workflow {
sageOutput = runSage(tumorBam, normalBam)

// Bin Cobalt if expected
postCobaltOutput = (params.binProbes != 0 || params.binLogR != 0)
postCobaltOutput = (params.normalBam) && (params.binProbes != 0 || params.binLogR != 0)
? binCobalt(cobaltOutput.cobalt_tumor_ratio_tsv, cobaltOutput.cobalt_tumor_ratio_pcf, cobaltOutput.cobalt_normal_ratio_pcf)
: cobaltOutput

cobaltOutdir = (params.binProbes != 0 || params.binLogR != 0)
cobaltOutdir = (params.normalBam) && (params.binProbes != 0 || params.binLogR != 0)
? "${params.outdir}/cobalt/binned_${params.binProbes}_probes_${params.binLogR}_LogR"
: "${params.outdir}/cobalt"

Expand Down
2 changes: 0 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


// Metrics Files
dag {
enabled = true
Expand Down

0 comments on commit d74dc5c

Please sign in to comment.