File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
subworkflows/local/utils_nfcore_rnaseq_pipeline Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ def validateInputParameters() {
274274 brackenPrecisionWithoutKrakenDBWarn()
275275 }
276276
277- if (params. save_kraken_assignments || params. save_kraken_unassigned) {
277+ if (params. save_kraken_assignments || params. save_kraken_unassigned || params . kraken_db ) {
278278 krakenArgumentsWithoutKrakenDBWarn()
279279 }
280280 }
@@ -499,9 +499,8 @@ def additionaFastaIndexWarn(index) {
499499//
500500def krakenArgumentsWithoutKrakenDBWarn() {
501501 log. warn " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n " +
502- " '--save_kraken_assignments' or '--save_kraken_unassigned' parameters\n " +
503- " have been provided when contaminant screening is not set to Kraken2.\n " +
504- " Kraken2 is not being run so neither will be saved.\n " +
502+ " 'Kraken2 related arguments have been provided without setting contaminant\n " +
503+ " screening to Kraken2. Kraken2 is not being run so these will not be used.\n " +
505504 " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
506505}
507506
Original file line number Diff line number Diff line change @@ -652,7 +652,7 @@ workflow RNASEQ {
652652
653653 if (params. contaminant_screening == ' kraken2' ) {
654654 ch_multiqc_files = ch_multiqc_files. mix(KRAKEN2 . out. report. collect{it[1 ]})
655- } else if (params. contaminant_screening == ' kraken2_bracken' )
655+ } else if (params. contaminant_screening == ' kraken2_bracken' ) {
656656 BRACKEN (
657657 ch_kraken_reports,
658658 params. kraken_db
You can’t perform that action at this time.
0 commit comments