Skip to content

Commit

Permalink
modifying ch_blast_db for correct cardinality
Browse files Browse the repository at this point in the history
  • Loading branch information
Joon-Klaps committed Dec 16, 2024
1 parent 551cb49 commit d73ebf1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions subworkflows/local/prepare_genome_illumina.nf
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,12 @@ workflow PREPARE_GENOME {
UNTAR_BLAST_DB (
[ [:], params.blast_db ]
)
ch_blast_db = UNTAR_BLAST_DB.out.untar.map { it[1] }
ch_blast_db = UNTAR_BLAST_DB.out.untar
ch_versions = ch_versions.mix(UNTAR_BLAST_DB.out.versions)
} else {
ch_blast_db = Channel.value(file(params.blast_db))
ch_blast_db = Channel.value(
[[id:'custom_blastdb'], file(params.blast_db)]
)
}
} else {
BLAST_MAKEBLASTDB (
Expand Down

0 comments on commit d73ebf1

Please sign in to comment.