Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: James A. Fellows Yates <[email protected]>
  • Loading branch information
maxulysse and jfy133 authored Oct 2, 2024
1 parent f901e4f commit 00a0857
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subworkflows/local/utils_nfcore_rnaseq_pipeline/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def validateInputParameters() {
//General checks for if contaminant screening is used
if (params.contaminant_screening) {
if (params.aligner == 'star_rsem') {
error("Contaminant screeneing cannot be done with --aligner star_rsem since unaligned reads are not saved. Please use --aligner star_salmon or --aligner hisat2.")
error("Contaminant screening cannot be done with --aligner star_rsem since unaligned reads are not saved. Please use --aligner star_salmon or --aligner hisat2.")
}
}

Expand All @@ -268,7 +268,7 @@ def validateInputParameters() {
if (!params.kraken_db) {
error("Contaminant screening set to kraken2 but not database is provided. Please provide a database with the --kraken_db option.")
}
//Check that Kraken/Bracken parameters are not provided when Kraken2 is not being used
// Check that Kraken/Bracken parameters are not provided when Kraken2 is not being used
} else {
if (!params.bracken_precision.equals('S')) {
brackenPrecisionWithoutKrakenDBWarn()
Expand Down

0 comments on commit 00a0857

Please sign in to comment.