Skip to content

Commit

Permalink
replace index variable
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-mohr committed Feb 16, 2024
1 parent c951cc1 commit 0074162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflows/smrnaseq.nf
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ workflow SMRNASEQ {
//Prepare bowtie index, unless specified
//This needs to be done here as the index is used by GENOME_QUANT
if(params.bowtie_index) {
Channel.fromPath("${params.bowtie_index}**ebwt", checkIfExists: true).ifEmpty{ error "Bowtie1 index directory not found: ${index}" }.set { ch_bowtie_index }
Channel.fromPath("${params.bowtie_index}**ebwt", checkIfExists: true).ifEmpty{ error "Bowtie1 index directory not found: ${params.bowtie_index}" }.set { ch_bowtie_index }
} else {
INDEX_GENOME ( [ [:], ch_fasta ] )
ch_versions = ch_versions.mix(INDEX_GENOME.out.versions)
Expand Down

0 comments on commit 0074162

Please sign in to comment.