mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-10 22:03:09 +00:00
Fix crash, add missing versions
This commit is contained in:
parent
cda1274918
commit
06b38f3699
3 changed files with 4 additions and 5 deletions
|
@ -34,7 +34,7 @@ workflow DB_CHECK {
|
|||
|
||||
emit:
|
||||
dbs = ch_final_dbs // channel: [ val(meta), [ db ] ]
|
||||
versions = DATABASE_CHECK.out.versions // channel: [ versions.yml ]
|
||||
versions = DATABASE_CHECK.out.versions.mix(UNTAR.out.versions.first()) // channel: [ versions.yml ]
|
||||
}
|
||||
|
||||
def create_db_channels(LinkedHashMap row) {
|
||||
|
|
|
@ -129,7 +129,7 @@ workflow PROFILING {
|
|||
|
||||
MEGAN_RMA2INFO (ch_maltrun_for_megan, params.malt_generatemegansummary )
|
||||
ch_multiqc_files = ch_multiqc_files.mix( MALT_RUN.out.log.collect{it[1]}.ifEmpty([]) )
|
||||
ch_versions = ch_versions.mix( MALT_RUN.out.versions.first() )
|
||||
ch_versions = ch_versions.mix( MALT_RUN.out.versions.first(), MEGAN_RMA2INFO.out.versions.first() )
|
||||
ch_raw_profiles = ch_raw_profiles.mix( MEGAN_RMA2INFO.out.txt )
|
||||
}
|
||||
|
||||
|
|
|
@ -196,10 +196,8 @@ workflow TAXPROFILER {
|
|||
MODULE: MultiQC
|
||||
*/
|
||||
|
||||
ch_versions = ch_versions.mix(MULTIQC.out.versions)
|
||||
|
||||
CUSTOM_DUMPSOFTWAREVERSIONS (
|
||||
ch_versions.dump(tag: "software_versions_beforeuniqe").unique().dump(tag: "software_versions").collectFile(name: 'collated_versions.yml')
|
||||
ch_versions.unique().collectFile(name: 'collated_versions.yml')
|
||||
)
|
||||
|
||||
|
||||
|
@ -236,6 +234,7 @@ workflow TAXPROFILER {
|
|||
ch_multiqc_files.collect()
|
||||
)
|
||||
multiqc_report = MULTIQC.out.report.toList()
|
||||
ch_versions = ch_versions.mix(MULTIQC.out.versions)
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue