Skip to content

Commit d73ebf1

Browse files
committed
modifying ch_blast_db for correct cardinality
1 parent 551cb49 commit d73ebf1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

subworkflows/local/prepare_genome_illumina.nf

+4-2
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,12 @@ workflow PREPARE_GENOME {
209209
UNTAR_BLAST_DB (
210210
[ [:], params.blast_db ]
211211
)
212-
ch_blast_db = UNTAR_BLAST_DB.out.untar.map { it[1] }
212+
ch_blast_db = UNTAR_BLAST_DB.out.untar
213213
ch_versions = ch_versions.mix(UNTAR_BLAST_DB.out.versions)
214214
} else {
215-
ch_blast_db = Channel.value(file(params.blast_db))
215+
ch_blast_db = Channel.value(
216+
[[id:'custom_blastdb'], file(params.blast_db)]
217+
)
216218
}
217219
} else {
218220
BLAST_MAKEBLASTDB (

0 commit comments

Comments
 (0)