Skip to content

Commit

Permalink
Ensure ch_transcript_lengths and ch_control_features being channels a…
Browse files Browse the repository at this point in the history
…nd not arrayLists
  • Loading branch information
bjlang committed Nov 15, 2024
1 parent 95a9b25 commit 655ad61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflows/differentialabundance.nf
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ if (params.study_type == 'affy_array'){
}

// Check optional parameters
if (params.transcript_length_matrix) { ch_transcript_lengths = Channel.of([ exp_meta, file(params.transcript_length_matrix, checkIfExists: true)]).first() } else { ch_transcript_lengths = [[],[]] }
if (params.control_features) { ch_control_features = Channel.of([ exp_meta, file(params.control_features, checkIfExists: true)]).first() } else { ch_control_features = [[],[]] }
if (params.transcript_length_matrix) { ch_transcript_lengths = Channel.of([ exp_meta, file(params.transcript_length_matrix, checkIfExists: true)]).first() } else { ch_transcript_lengths = Channel.of([[],[]]) }
if (params.control_features) { ch_control_features = Channel.of([ exp_meta, file(params.control_features, checkIfExists: true)]).first() } else { ch_control_features = Channel.of([[],[]]) }

def run_gene_set_analysis = params.gsea_run || params.gprofiler2_run

Expand Down

0 comments on commit 655ad61

Please sign in to comment.