1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-22 11:49:55 +00:00

Switch order back

This commit is contained in:
James Fellows Yates 2022-12-03 21:38:25 +01:00
parent cf8ad96771
commit 0dccfddc24

View file

@ -147,14 +147,10 @@ workflow PROFILING {
def ch_kraken2_output = KRAKEN2_KRAKEN2.out.report def ch_kraken2_output = KRAKEN2_KRAKEN2.out.report
.filter { .filter {
meta, report -> meta, report ->
meta['tool'] == 'bracken' && meta['instrument_platform'] != 'OXFORD_NANOPORE'
if ( meta['instrument_platform'] == 'OXFORD_NANOPORE' ) log.warn "[nf-core/taxprofiler] Bracken has not been evaluated for Nanopore data. Skipping Bracken for sample ${meta.id}." if ( meta['instrument_platform'] == 'OXFORD_NANOPORE' ) log.warn "[nf-core/taxprofiler] Bracken has not been evaluated for Nanopore data. Skipping Bracken for sample ${meta.id}."
meta['tool'] == 'bracken' && meta['instrument_platform'] != 'OXFORD_NANOPORE'
} }
// If necessary, convert the eight column output to six column output. // If necessary, convert the eight column output to six column output.
if (params.kraken2_save_minimizers) { if (params.kraken2_save_minimizers) {
ch_kraken2_output = KRAKEN2_STANDARD_REPORT(ch_kraken2_output).report ch_kraken2_output = KRAKEN2_STANDARD_REPORT(ch_kraken2_output).report