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

Merge pull request #224 from nf-core/revert-metaphlan-nanopore-filter [skip ci]

Remove metaphlan3 nanopore filter as _sometimes_ it can work
This commit is contained in:
James A. Fellows Yates 2023-01-25 13:48:29 +01:00 committed by GitHub
commit 2cbb56194a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -203,8 +203,6 @@ workflow PROFILING {
.filter{ .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}." 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 !it[0].is_fasta
if (it[0].instrument_platform == 'OXFORD_NANOPORE') log.warn "[nf-core/taxprofiler] MetaPhlAn3 has not been evaluated for Nanopore data. Skipping MetaPhlAn3 for sample ${it[0].id}."
!it[0].instrument_platform == 'OXFORD_NANOPORE'
} }
.multiMap { .multiMap {
it -> it ->