Skip to content

Commit

Permalink
Merge pull request #452 from Joon-Klaps/fix-blast-cardinality
Browse files Browse the repository at this point in the history
Fix `ch_blast_db` to have correct cardinality for blast/blastn
  • Loading branch information
Joon-Klaps authored Dec 16, 2024
2 parents 551cb49 + 1c8e9f0 commit 1c471ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
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

0 comments on commit 1c471ce

Please sign in to comment.