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
// NOTE: when url is changed here also change in 'funcscan/modules/local/interproscan_download.nf'
25
+
INTERPROSCAN_DATABASE ('http://ftp.ebi.ac.uk/pub/software/unix/iprscan/5/5.59-91.0/interproscan-5.59-91.0-64-bit.tar.gz') //change to the newest version tested with AMP: http://ftp.ebi.ac.uk/pub/software/unix/iprscan/5/5.67-99.0/interproscan-5.67-99.0-64-bit.tar.gz
log.warn("[nf-core/funcscan] Annotation of the following sample produced an empty FAA file. InterProScan classification of the CDS requiring this file will not be executed: ${meta.id}")
187
186
}
188
-
!file.isEmpty()// Ensure this is the last statement for implicit return value
// log.warn("[nf-core/funcscan] Annotation of the following sample produced an empty FAA file. InterProScan classification of the CDS requiring this file will not be executed: ${meta.id}")
200
-
// }
201
-
// !file.isEmpty() // Ensure this is the last statement for implicit return value
202
-
// }
203
-
// .map { meta, file ->
204
-
// SEQKIT_SEQ_FILTER([meta, file])
205
-
// }.filter { meta, filtered_file ->
206
-
// if (filtered_file.isEmpty()) {
207
-
// log.warn("[nf-core/funcscan] SEQKIT_SEQ_FILTER produced an empty FAA file. InterProScan classification of the CDS requiring this file will not be executed: ${meta.id}")
208
-
// }
209
-
// !filtered_file.isEmpty() // Ensure this is the last statement for implicit return value
log.warn("[nf-core/funcscan] Functional annotation with INTERPROSCAN produced an empty TSV file. No InterProScan classifications will be added in the final table: ${meta.id}")
226
+
}
227
+
//file
228
+
!file.isEmpty()
229
+
}//.collect()
236
230
)
237
231
ch_versions = ch_versions.mix(AMP.out.versions)
238
232
}
@@ -251,7 +245,15 @@ workflow FUNCSCAN {
251
245
}
252
246
!file.isEmpty()
253
247
},
254
-
ch_prepped_input.gbks
248
+
//ch_prepped_input.gbks
249
+
ch_prepped_input.gbks,
250
+
ch_interproscan_tsv.filter { meta, file->
251
+
if (file != [] && file.isEmpty()) {
252
+
log.warn("[nf-core/funcscan] Functional annotation with INTERPROSCAN produced an empty TSV file. No InterProScan classifications will be added in the final table: ${meta.id}")
0 commit comments