mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-22 01:56:03 +00:00
Start adding filter for long read and MP3
This commit is contained in:
parent
d3bad1d720
commit
9205831273
1 changed files with 5 additions and 2 deletions
|
@ -202,8 +202,11 @@ workflow PROFILING {
|
|||
|
||||
ch_input_for_metaphlan3 = ch_input_for_profiling.metaphlan3
|
||||
.filter{
|
||||
if (it[0].is_fasta) log.warn "[nf-core/taxprofiler] MetaPhlAn3 currently does not accept FASTA files as input. Skipping MetaPhlAn3 for sample ${it[0].id}."
|
||||
!it[0].is_fasta
|
||||
meta, report ->
|
||||
if (meta.is_fasta) log.warn "[nf-core/taxprofiler] MetaPhlAn3 currently does not accept FASTA files as input. Skipping MetaPhlAn3 for sample ${meta.id}."
|
||||
!meta.is_fasta
|
||||
if ( meta['instrument_platform'] == 'OXFORD_NANOPORE' ) log.warn "[nf-core/taxprofiler] MetaPhlAn3 has not been evaluated for Nanopore data. Skipping MetaPhlAn3 for sample ${meta.id}."
|
||||
meta['tool'] == 'metaphlan3' && meta['instrument_platform'] != 'OXFORD_NANOPORE'
|
||||
}
|
||||
.multiMap {
|
||||
it ->
|
||||
|
|
Loading…
Reference in a new issue