Skip to content

Commit 00a0857

Browse files
maxulyssejfy133
andauthored
Apply suggestions from code review
Co-authored-by: James A. Fellows Yates <[email protected]>
1 parent f901e4f commit 00a0857

File tree

1 file changed

+2
-2
lines changed
  • subworkflows/local/utils_nfcore_rnaseq_pipeline

1 file changed

+2
-2
lines changed

subworkflows/local/utils_nfcore_rnaseq_pipeline/main.nf

+2-2
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def validateInputParameters() {
259259
//General checks for if contaminant screening is used
260260
if (params.contaminant_screening) {
261261
if (params.aligner == 'star_rsem') {
262-
error("Contaminant screeneing cannot be done with --aligner star_rsem since unaligned reads are not saved. Please use --aligner star_salmon or --aligner hisat2.")
262+
error("Contaminant screening cannot be done with --aligner star_rsem since unaligned reads are not saved. Please use --aligner star_salmon or --aligner hisat2.")
263263
}
264264
}
265265

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

0 commit comments

Comments
 (0)