mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-22 10:09:55 +00:00
Only supply single input channel to profiling, as these are merged into single input channel at run_merging
This commit is contained in:
parent
967b1f7d6e
commit
9f221f84cc
1 changed files with 3 additions and 4 deletions
|
@ -9,8 +9,7 @@ include { METAPHLAN3 } from '../../modules/nf-core/modules/meta
|
|||
|
||||
workflow PROFILING {
|
||||
take:
|
||||
shortreads // [ [ meta ], [ reads ] ]
|
||||
longreads // [ [ meta ], [ reads ] ]
|
||||
reads // [ [ meta ], [ reads ] ]
|
||||
databases // [ [ meta ], path ]
|
||||
|
||||
main:
|
||||
|
@ -22,9 +21,9 @@ workflow PROFILING {
|
|||
*/
|
||||
|
||||
// e.g. output [DUMP: reads_plus_db] [['id':'2612', 'run_accession':'combined', 'instrument_platform':'ILLUMINA', 'single_end':1], <reads_path>/2612.merged.fastq.gz, ['tool':'malt', 'db_name':'mal95', 'db_params':'"-id 90"'], <db_path>/malt90]
|
||||
ch_input_for_profiling = shortreads
|
||||
.mix( longreads )
|
||||
ch_input_for_profiling = reads
|
||||
.combine(databases)
|
||||
.dump(tag: "combined_withdbs")
|
||||
.branch {
|
||||
malt: it[2]['tool'] == 'malt'
|
||||
kraken2: it[2]['tool'] == 'kraken2'
|
||||
|
|
Loading…
Reference in a new issue