1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-13 07:43:08 +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
.filter {
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}."
meta['tool'] == 'bracken' && meta['instrument_platform'] != 'OXFORD_NANOPORE'
}
// If necessary, convert the eight column output to six column output.
if (params.kraken2_save_minimizers) {
ch_kraken2_output = KRAKEN2_STANDARD_REPORT(ch_kraken2_output).report