groovy formatting

This commit is contained in:
kevinmenden 2020-12-17 10:24:48 +01:00
parent 8d3fc30eb3
commit 57ab6dbcbf
2 changed files with 15 additions and 15 deletions

View file

@ -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)

View file

@ -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)