Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ch_blast_db to have correct cardinality for blast/blastn #452

Merged
merged 2 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Thank you to everyone else that has contributed by reporting bugs, enhancements
- [[PR #435](https://github.com/nf-core/viralrecon/pull/435)] - Changed to a patched cutadapt from nf-core modules, added `skip_noninternal_primers` param to allow users to process primers inside the pipeline, and added `threeprime_adapters` to determine whether primers are 3' or 5' adapters.
- [[PR #446](https://github.com/nf-core/viralrecon/pull/446)] - Update nextclade & pangolin modules
- [[PR #450](https://github.com/nf-core/viralrecon/pull/450)] - Patch nf schema - include integer & string as type for sample
- [[PR #452](https://github.com/nf-core/viralrecon/pull/452)] - Fix `ch_blast_db` to have correct cardinality for blast/blastn

### Parameters

Expand Down
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
Loading