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

Update subworkflows/local/profiling.nf

This commit is contained in:
James A. Fellows Yates 2022-12-02 15:09:08 +01:00 committed by GitHub
parent ab42f6b662
commit cf8ad96771
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,8 +147,8 @@ workflow PROFILING {
def ch_kraken2_output = KRAKEN2_KRAKEN2.out.report def ch_kraken2_output = KRAKEN2_KRAKEN2.out.report
.filter { .filter {
meta, report -> meta, report ->
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' 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}."
} }