Skip to content

Commit

Permalink
drop custom labels for generic nf-core labels
Browse files Browse the repository at this point in the history
  • Loading branch information
rpetit3 committed Apr 6, 2023
1 parent 3c8fd12 commit 9d01454
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 346 deletions.
2 changes: 1 addition & 1 deletion modules/local/bactopia/assembler/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ conda_env = file("${params.condadir}/${conda_name}").exists() ? "${params.c

process ASSEMBLER {
tag "${meta.id}"
label "max_cpu_75"
label "process_low"
label "assemble_genome"

conda (params.enable_conda ? conda_env : null)
Expand Down
1 change: 1 addition & 0 deletions modules/local/bactopia/datasets/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ conda_name = conda_tools.replace("=", "-").replace(":", "-").replace(" ", "-")
conda_env = file("${params.condadir}/${conda_name}").exists() ? "${params.condadir}/${conda_name}" : conda_tools

process DATASETS {
label "process_low"
storeDir params.datasets_cache
publishDir params.datasets_cache

Expand Down
4 changes: 3 additions & 1 deletion modules/local/bactopia/gather/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ conda_env = file("${params.condadir}/${conda_name}").exists() ? "${params.c

process GATHER {
tag "${meta.id}"
label "gather_samples"
label "process_low"
maxForks params.max_downloads
maxRetries params.max_retry

conda (params.enable_conda ? conda_env : null)
container "${ workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container ?
Expand Down
3 changes: 1 addition & 2 deletions modules/local/bactopia/qc/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ conda_env = file("${params.condadir}/${conda_name}").exists() ? "${params.c

process QC {
tag "${meta.id}"
label "base_mem_4gb"
label "qc_reads"
label "process_low"

conda (params.enable_conda ? conda_env : null)
container "${ workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container ?
Expand Down
3 changes: 1 addition & 2 deletions modules/local/bactopia/sketcher/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ conda_env = file("${params.condadir}/${conda_name}").exists() ? "${params.c

process SKETCHER {
tag "${meta.id}"
label "base_mem_8gb"
label "minmer_sketch"
label "process_low"

conda (params.enable_conda ? conda_env : null)
container "${ workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container ?
Expand Down
141 changes: 0 additions & 141 deletions modules/local/teton/kraken2_bracken/main.nf

This file was deleted.

60 changes: 0 additions & 60 deletions modules/local/teton/kraken2_bracken/meta.yml

This file was deleted.

21 changes: 0 additions & 21 deletions modules/local/teton/kraken2_bracken/params.config

This file was deleted.

117 changes: 0 additions & 117 deletions modules/local/teton/kraken2_bracken/params.json

This file was deleted.

2 changes: 1 addition & 1 deletion subworkflows/local/bracken/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ options.args2 = [
].join(' ').replaceAll("\\s{2,}", " ").trim()
DATABASE = params.kraken2_db ? file(params.kraken2_db) : []

include { KRAKEN2_BRACKEN as KRAKEN2_BRACKEN_MODULE } from '../../../modules/local/teton/kraken2_bracken/main' addParams( options: options )
include { BRACKEN as BRACKEN_MODULE } from '../../../modules/nf-core/bracken/main' addParams( options: options )

workflow BRACKEN {
take:
Expand Down

0 comments on commit 9d01454

Please sign in to comment.