Skip to content

Commit

Permalink
Fixing the error :)
Browse files Browse the repository at this point in the history
  • Loading branch information
apeltzer committed Jan 17, 2024
1 parent 8d19dbf commit 84da917
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions subworkflows/local/umi_dedup.nf
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ workflow DEDUPLICATE_UMIS {

if (!bt_index){
INDEX_GENOME ( [ [:], fasta ] )
bt_index = INDEX_GENOME.out.bowtie_indices
bt_index = INDEX_GENOME.out.index
fasta_formatted = INDEX_GENOME.out.fasta
ch_versions = ch_versions.mix(INDEX_GENOME.out.versions)
} else {
bt_index = Channel.fromPath("${bt_index}**ebwt", checkIfExists: true).ifEmpty { exit 1, "Bowtie1 index directory not found: ${bt_index}" }
fasta_formatted = fasta
}

Expand Down
2 changes: 1 addition & 1 deletion workflows/smrnaseq.nf
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ workflow SMRNASEQ {

DEDUPLICATE_UMIS (
fasta_ch,
INDEX_GENOME.out.bowtie_indices,
INDEX_GENOME.out.index,
FASTQ_FASTQC_UMITOOLS_FASTP.out.reads,
params.umi_stats
)
Expand Down

0 comments on commit 84da917

Please sign in to comment.