Skip to content

Commit

Permalink
bump bactopia assembler version
Browse files Browse the repository at this point in the history
  • Loading branch information
rpetit3 committed Mar 25, 2024
1 parent d61c84d commit c182dc4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -16,6 +16,7 @@ description: A full list of Bactopia releases and a description of the changes.
- updated AMRFinder+ database for v3.12.8
- bump program versions in modules
- `abritamr`: 1.0.14 -> 1.0.17
- `bactopia-assembler`: 1.0.3 -> 1.0.4
- `bactopia-teton`: 1.0.1 -> 1.0.2
- `bactopia-variants`: 1.0.1 -> 1.0.2
- `bakta`: 1.8.2 -> 1.9.3
Expand Down Expand Up @@ -52,6 +53,7 @@ description: A full list of Bactopia releases and a description of the changes.
- adjust python pinning in gubbins [bioconda/bioconda-recipes#46713](https://github.com/bioconda/bioconda-recipes/pull/46713)
- fix issue with sistr container [bioconda/bioconda-recipes#46712](https://github.com/bioconda/bioconda-recipes/pull/46712)
- update rgi pinning for pyrodigal [bioconda/bioconda-recipes#46669](https://github.com/bioconda/bioconda-recipes/pull/46669)
- pin tabix version in snippy [bioconda/bioconda-recipes#46458](https://github.com/bioconda/bioconda-recipes/pull/46458)

## v3.0.0 bactopia/bactopia "Black Cat and Brown Dog" - 2023/09/11

Expand Down
9 changes: 5 additions & 4 deletions modules/local/bactopia/assembler/main.nf
Expand Up @@ -4,7 +4,7 @@ RESOURCES = get_resources(workflow.profile, params.max_memory, params.max_c
options = initOptions(params.options ? params.options : [:], 'assembler')
options.ignore = [".fastq.gz"]
options.btype = options.btype ?: "main"
conda_tools = "bioconda::bactopia-assembler=1.0.3"
conda_tools = "bioconda::bactopia-assembler=1.0.4"
conda_name = conda_tools.replace("=", "-").replace(":", "-").replace(" ", "-")
conda_env = file("${params.condadir}/${conda_name}").exists() ? "${params.condadir}/${conda_name}" : conda_tools

Expand All @@ -15,8 +15,8 @@ process ASSEMBLER {

conda (params.enable_conda ? conda_env : null)
container "${ workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/bactopia-assembler:1.0.3--hdfd78af_0' :
'quay.io/biocontainers/bactopia-assembler:1.0.3--hdfd78af_0' }"
'https://depot.galaxyproject.org/singularity/bactopia-assembler:1.0.4--hdfd78af_0' :
'quay.io/biocontainers/bactopia-assembler:1.0.4--hdfd78af_0' }"

input:
tuple val(meta), path(fq), path(extra)
Expand Down Expand Up @@ -93,7 +93,8 @@ process ASSEMBLER {
${options.args2} \\
--namefmt "${contig_namefmt}" \\
--cpus ${task.cpus} \\
--ram ${shovill_ram}; then
--ram ${shovill_ram} \\
--noreorient; then
# Check if error is due to no contigs
if grep "has zero contigs" results/dragonflye.log; then
Expand Down

0 comments on commit c182dc4

Please sign in to comment.