mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-10 23:33:09 +00:00
filter fasta inputs for mOTUs;
fix the typo for nopreprocessing in nextflow.config.
This commit is contained in:
parent
68d0cc00fa
commit
4b3216c1cb
2 changed files with 5 additions and 1 deletions
|
@ -192,7 +192,7 @@ profiles {
|
||||||
test { includeConfig 'conf/test.config' }
|
test { includeConfig 'conf/test.config' }
|
||||||
test_full { includeConfig 'conf/test_full.config' }
|
test_full { includeConfig 'conf/test_full.config' }
|
||||||
test_noprofiling { includeConfig 'conf/test_noprofiling.config' }
|
test_noprofiling { includeConfig 'conf/test_noprofiling.config' }
|
||||||
test_nopreprocessing { includeConfig 'conf/test_preprocessing.config' }
|
test_nopreprocessing { includeConfig 'conf/test_nopreprocessing.config' }
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load igenomes.config if required
|
// Load igenomes.config if required
|
||||||
|
|
|
@ -190,6 +190,10 @@ workflow PROFILING {
|
||||||
if ( params.run_motus ) {
|
if ( params.run_motus ) {
|
||||||
|
|
||||||
ch_input_for_motus = ch_input_for_profiling.motus
|
ch_input_for_motus = ch_input_for_profiling.motus
|
||||||
|
.filter{
|
||||||
|
if (it[0].is_fasta) log.warn "[nf-core/taxprofiler] mOTUs currently does not accept FASTA files as input. Skipping mOTUs for sample ${it[0].id}."
|
||||||
|
!it[0].is_fasta
|
||||||
|
}
|
||||||
.multiMap {
|
.multiMap {
|
||||||
it ->
|
it ->
|
||||||
reads: [it[0] + it[2], it[1]]
|
reads: [it[0] + it[2], it[1]]
|
||||||
|
|
Loading…
Reference in a new issue