Skip to content

Commit

Permalink
always validate intersect_regions files
Browse files Browse the repository at this point in the history
  • Loading branch information
sorelfitzgibbon committed Jul 20, 2023
1 parent 82419a5 commit a0c532a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,12 @@ workflow {
file_to_validate = reference_ch
.mix (tumor_input.tumor_bam, tumor_input.tumor_index, normal_input.normal_bam, normal_input.normal_index)
}
if (params.use_intersect_regions) {
file_to_validate = file_to_validate.mix(
Channel.from(
params.intersect_regions,
params.intersect_regions_index
)
file_to_validate = file_to_validate.mix(
Channel.from(
params.intersect_regions,
params.intersect_regions_index
)
}
)
run_validate_PipeVal(file_to_validate)
run_validate_PipeVal.out.validation_result.collectFile(
name: 'input_validation.txt', newLine: true,
Expand Down

0 comments on commit a0c532a

Please sign in to comment.