Skip to content

Commit

Permalink
chore: remove channel dumps used for debugging
Browse files Browse the repository at this point in the history
Co-authored-by: Lili Andersson-Li <[email protected]>
  • Loading branch information
Midnighter and LilyAnderssonLee authored Apr 7, 2024
1 parent 46e6637 commit 399b87c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subworkflows/local/standardisation_profiles.nf
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,14 @@ workflow STANDARDISATION_PROFILES {
// Have to sort by size to ensure first file actually has hits otherwise
// the script fails
ch_profiles_for_kraken2 = groupProfiles(
ch_input_profiles.kraken2.dump(tag: 'k2-profiles', pretty: true)
ch_input_profiles.kraken2
.map { meta, profile ->
// Replace database name, to get the right output description.
def db_name = meta.tool == 'kraken2-bracken' ? "${meta.db_name}-bracken" : "${meta.db_name}"
return [meta + [db_name: db_name], profile]
},
[sort: { -it.size() }]
).dump(tag: 'k2-grouped', pretty: true)
)

KRAKENTOOLS_COMBINEKREPORTS_KRAKEN ( ch_profiles_for_kraken2 )
ch_multiqc_files = ch_multiqc_files.mix( KRAKENTOOLS_COMBINEKREPORTS_KRAKEN.out.txt )
Expand Down

0 comments on commit 399b87c

Please sign in to comment.