You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ( fasta.isEmpty() ) { log.warn("[nf-core/funcscan] The following sample did not contain contigs longer than ${params.contig_qc_lengththreshold} BGC screening will not be executed: ${meta.id}") }
123
124
!fasta.isEmpty()
124
125
}
125
126
@@ -178,7 +179,7 @@ workflow FUNCSCAN {
178
179
.mix(ch_intermediate_input.preannotated)
179
180
.map {
180
181
meta, fasta, faa, gbk ->
181
-
if ( params.run_bgc_screening && meta.length ==null ) { log.warn("[nf-core/funcscan] Pre-annotated input will not be filtered to long contigs for BGC screening! Expect long-run times and/or possible crashes if includes very short contigs") }
182
+
if ( params.run_bgc_screening && meta.length ==null ) { log.warn("[nf-core/funcscan] Pre-annotated input will not be filtered to long contigs for BGC screening! Expect long-run times and/or possible crashes if includes very short contigs. Sample: ${meta.id}") }
182
183
[meta, fasta, faa, gbk]
183
184
}
184
185
.multiMap {
@@ -313,6 +314,9 @@ workflow FUNCSCAN {
313
314
BGCs
314
315
*/
315
316
if ( params.run_bgc_screening &&!params.run_taxa_classification ) {
if ( file.isEmpty() ) log.warn("[nf-core/funcscan] Annotation of following sample produced produced an empty GBK file. BGC screening tools requiring this file will not be executed: ${meta.id}")
if ( file != [] && file.isEmpty() ) log.warn("[nf-core/funcscan] Annotation of following sample produced produced an empty FAA file. BGC screening tools requiring this file will not be executed: ${meta.id}")
340
344
!file.isEmpty()
341
345
},
342
-
ch_prepped_input.gbks
346
+
ch_prepped_input_long.gbks
343
347
.filter {
344
348
meta, file ->
345
349
if ( file != [] && file.isEmpty() ) log.warn("[nf-core/funcscan] Annotation of following sample produced an empty GBK file. BGC screening tools requiring this file will not be executed: ${meta.id}")
0 commit comments