File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -80,13 +80,6 @@ workflow NFCORE_PHASEIMPUTE {
80
80
ch_input_validate = ch_input
81
81
}
82
82
83
- if (params. steps. split(' ,' ). contains(" all" )) {
84
- ch_input_truth. map{
85
- error " Cannot run all steps with --input-truth"
86
- }
87
- ch_input_truth = ch_input
88
- }
89
-
90
83
//
91
84
// WORKFLOW: Run pipeline
92
85
//
Original file line number Diff line number Diff line change @@ -118,7 +118,10 @@ workflow PHASEIMPUTE {
118
118
}
119
119
120
120
// Use input for simulation as truth for validation step
121
- ch_input_truth = ch_input_sim
121
+ // if no truth is provided
122
+ if (! params. input_truth) {
123
+ ch_input_truth = ch_input_sim
124
+ }
122
125
123
126
// Program to filter chromosomes
124
127
filter_chr_program = ch_region
@@ -491,7 +494,7 @@ workflow PHASEIMPUTE {
491
494
[[],[]],
492
495
[[],[]],
493
496
[[],[]],
494
- ch_fasta. map{ [it[0 ], it[1 ]] }
497
+ [[],[]] // ch_fasta.map{ [it[0], it[1]] }
495
498
)
496
499
ch_versions = ch_versions. mix(BCFTOOLS_STATS_TRUTH . out. versions)
497
500
ch_multiqc_files = ch_multiqc_files. mix(BCFTOOLS_STATS_TRUTH . out. stats. map{ [it[1 ]] })
You can’t perform that action at this time.
0 commit comments