mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-13 07:13:10 +00:00
Re-add the collects
This commit is contained in:
parent
8d7ddb5847
commit
255afee4c7
2 changed files with 3 additions and 3 deletions
|
@ -47,7 +47,7 @@ workflow LONGREAD_PREPROCESSING {
|
|||
|
||||
ch_versions = ch_versions.mix(PORECHOP.out.versions.first())
|
||||
ch_versions = ch_versions.mix(FILTLONG.out.versions.first())
|
||||
ch_multiqc_files = ch_multiqc_files.mix( PORECHOP.out.log )
|
||||
ch_multiqc_files = ch_multiqc_files.mix( PORECHOP.out.log.collect{it[1]}.ifEmpty([]) )
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -227,13 +227,13 @@ workflow PROFILING {
|
|||
MOTUS_PROFILE ( ch_input_for_motus.reads, ch_input_for_motus.db )
|
||||
ch_versions = ch_versions.mix( MOTUS_PROFILE.out.versions.first() )
|
||||
ch_raw_profiles = ch_raw_profiles.mix( MOTUS_PROFILE.out.out )
|
||||
ch_multiqc_files = ch_multiqc_files.mix( MOTUS_PROFILE.out.log )
|
||||
ch_multiqc_files = ch_multiqc_files.mix( MOTUS_PROFILE.out.log.collect{it[1]}.ifEmpty([]) )
|
||||
}
|
||||
|
||||
emit:
|
||||
classifications = ch_raw_classifications
|
||||
profiles = ch_raw_profiles // channel: [ val(meta), [ reads ] ] - should be text files or biom
|
||||
versions = ch_versions // channel: [ versions.yml ]
|
||||
motus_version = params.run_motus ? MOTUS_PROFILE.out.versions.first() : Channel.empty()
|
||||
motus_version = params.run_motus ? MOTUS_PROFILE.out.versions.first() : Channel.empty()
|
||||
mqc = ch_multiqc_files
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue