mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
groovy formatting
This commit is contained in:
parent
8d3fc30eb3
commit
57ab6dbcbf
2 changed files with 15 additions and 15 deletions
|
@ -11,11 +11,11 @@ process BOWTIE_ALIGN {
|
|||
mode: params.publish_dir_mode,
|
||||
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:meta.id) }
|
||||
|
||||
conda (params.enable_conda ? "bioconda::bowtie=1.3.0 bioconda::samtools=1.10" : null)
|
||||
conda (params.enable_conda ? 'bioconda::bowtie=1.3.0 bioconda::samtools=1.10' : null)
|
||||
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
|
||||
container "https://depot.galaxyproject.org/singularity/mulled-v2-ffbf83a6b0ab6ec567a336cf349b80637135bca3:9e14e16c284d6860574cf5b624bbc44c793cb024-0"
|
||||
container 'https://depot.galaxyproject.org/singularity/mulled-v2-ffbf83a6b0ab6ec567a336cf349b80637135bca3:9e14e16c284d6860574cf5b624bbc44c793cb024-0'
|
||||
} else {
|
||||
container "quay.io/biocontainers/mulled-v2-ffbf83a6b0ab6ec567a336cf349b80637135bca3:9e14e16c284d6860574cf5b624bbc44c793cb024-0"
|
||||
container 'quay.io/biocontainers/mulled-v2-ffbf83a6b0ab6ec567a336cf349b80637135bca3:9e14e16c284d6860574cf5b624bbc44c793cb024-0'
|
||||
}
|
||||
|
||||
input:
|
||||
|
@ -23,9 +23,9 @@ process BOWTIE_ALIGN {
|
|||
path index
|
||||
|
||||
output:
|
||||
tuple val(meta), path("*.bam"), emit: bam
|
||||
tuple val(meta), path("*.out"), emit: log
|
||||
path "bowtie.version.txt", emit: version
|
||||
tuple val(meta), path('*.bam'), emit: bam
|
||||
tuple val(meta), path('*.out'), emit: log
|
||||
path 'bowtie.version.txt', emit: version
|
||||
|
||||
script:
|
||||
def software = getSoftwareName(task.process)
|
||||
|
|
|
@ -11,19 +11,19 @@ process BOWTIE_INDEX {
|
|||
mode: params.publish_dir_mode,
|
||||
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:'') }
|
||||
|
||||
conda (params.enable_conda ? "bioconda::bowtie=1.3.0" : null)
|
||||
conda (params.enable_conda ? 'bioconda::bowtie=1.3.0' : null)
|
||||
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
|
||||
container "https://depot.galaxyproject.org/singularity/bowtie:1.3.0--py38hed8969a_1"
|
||||
container 'https://depot.galaxyproject.org/singularity/bowtie:1.3.0--py38hed8969a_1'
|
||||
} else {
|
||||
container "quay.io/biocontainers/bowtie:1.3.0--py38hed8969a_1"
|
||||
container 'quay.io/biocontainers/bowtie:1.3.0--py38hed8969a_1'
|
||||
}
|
||||
|
||||
input:
|
||||
path fasta
|
||||
|
||||
output:
|
||||
path "bowtie", emit: index
|
||||
path "*.version.txt", emit: version
|
||||
path 'bowtie', emit: index
|
||||
path '*.version.txt', emit: version
|
||||
|
||||
script:
|
||||
def software = getSoftwareName(task.process)
|
||||
|
|
Loading…
Reference in a new issue