Merge pull request #109 from drpatelh/singularity

Bump NF version and add direct download Singularity paths back in to modules
This commit is contained in:
Harshil Patel 2020-12-14 12:20:03 +00:00 committed by GitHub
commit ceef4a6044
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
76 changed files with 374 additions and 121 deletions

View file

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nxf_version: [20.07.1, ""]
nxf_version: [20.11.0-edge]
env:
NXF_ANSI_LOG: false
steps:

View file

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nxf_version: [20.07.1, ""]
nxf_version: [20.11.0-edge]
env:
NXF_ANSI_LOG: false
steps:

View file

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nxf_version: [20.07.1, ""]
nxf_version: [20.11.0-edge]
env:
NXF_ANSI_LOG: false
steps:

View file

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nxf_version: [20.07.1, ""]
nxf_version: [20.11.0-edge]
env:
NXF_ANSI_LOG: false
steps:

View file

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nxf_version: [20.07.1, ""]
nxf_version: [20.11.0-edge]
env:
NXF_ANSI_LOG: false
steps:

View file

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nxf_version: [20.07.1, ""]
nxf_version: [20.11.0-edge]
env:
NXF_ANSI_LOG: false
steps:

View file

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nxf_version: [20.07.1, ""]
nxf_version: [20.11.0-edge]
env:
NXF_ANSI_LOG: false
steps:

View file

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nxf_version: [20.07.1, ""]
nxf_version: [20.11.0-edge]
env:
NXF_ANSI_LOG: false
steps:

View file

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nxf_version: [20.07.1, ""]
nxf_version: [20.11.0-edge]
env:
NXF_ANSI_LOG: false
steps:

View file

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nxf_version: [20.07.1, ""]
nxf_version: [20.11.0-edge]
env:
NXF_ANSI_LOG: false
steps:

View file

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nxf_version: [20.07.1, ""]
nxf_version: [20.11.0-edge]
env:
NXF_ANSI_LOG: false
steps:

View file

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nxf_version: [20.07.1, ""]
nxf_version: [20.11.0-edge]
env:
NXF_ANSI_LOG: false
steps:

View file

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nxf_version: [20.07.1, ""]
nxf_version: [20.11.0-edge]
env:
NXF_ANSI_LOG: false
steps:

View file

@ -1,6 +1,6 @@
# ![nf-core/modules](docs/images/nfcore-modules_logo.png)
[![Nextflow](https://img.shields.io/badge/nextflow-DSL2-23aa62.svg?labelColor=000000)](https://www.nextflow.io/)
[![Nextflow](https://img.shields.io/badge/nextflow%20DSL2-%E2%89%A520.11.0--edge-23aa62.svg?labelColor=000000)](https://www.nextflow.io/)
[![run with conda](http://img.shields.io/badge/run%20with-conda-3EB049?labelColor=000000&logo=anaconda)](https://docs.conda.io/en/latest/)
[![run with docker](https://img.shields.io/badge/run%20with-docker-0db7ed?labelColor=000000&logo=docker)](https://www.docker.com/)
[![run with singularity](https://img.shields.io/badge/run%20with-singularity-1d355c.svg?labelColor=000000)](https://sylabs.io/docs/)

View file

@ -39,13 +39,17 @@ process SOFTWARE_TOOL {
// TODO nf-core: List required Conda packages.
// Software MUST be pinned to channel (i.e. "bioconda") and version (i.e. "1.10") as in the example below.
// Pinning the build too e.g. "bioconda::samtools=1.10=h9402c20_2" is not currently a requirement.
conda (params.enable_conda ? "bioconda::samtools=1.10" : null)
conda (params.enable_conda ? "bioconda::samtools=1.10" : null)
// TODO nf-core: Fetch "docker pull" address for latest BioContainer image of software: e.g. https://biocontainers.pro/#/tools/samtools
// Click on the Pacakages and Containers tab, sort by Version and get the portion of the link after the docker pull command where Type is Docker.
// You may need to double-check that you are using the latest version of the software because you may find that containers for older versions have been rebuilt more recently.
// If required, multi-tool containers may also be available and are usually named to start with "mulled".
container "quay.io/biocontainers/samtools:1.10--h9402c20_2"
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/samtools:1.10--h9402c20_2"
} else {
container "quay.io/biocontainers/samtools:1.10--h9402c20_2"
}
input:
// TODO nf-core: Where applicable all sample-specific information e.g. "id", "single_end", "read_group"

View file

@ -37,6 +37,11 @@ params:
description: |
Run the module with Conda using the software specified
via the `conda` directive
- singularity_pull_docker_container:
type: boolean
description: |
Instead of directly downloading Singularity images for use with Singularity,
force the workflow to pull and convert Docker containers instead.
## TODO nf-core: Add a description of all of the variables used as input
input:
- meta:

View file

@ -11,9 +11,13 @@ process BWA_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::bwa=0.7.17" : null)
container "biocontainers/bwa:v0.7.17_cv1"
conda (params.enable_conda ? "bioconda::bwa=0.7.17" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/bwa:0.7.17--hed695b0_7"
} else {
container "biocontainers/bwa:v0.7.17_cv1"
}
input:
path fasta

View file

@ -29,6 +29,11 @@ params:
description: |
Run the module with Conda using the software specified
via the `conda` directive
- singularity_pull_docker_container:
type: boolean
description: |
Instead of directly downloading Singularity images for use with Singularity,
force the workflow to pull and convert Docker containers instead.
input:
- fasta:
type: file

View file

@ -11,8 +11,12 @@ process BWA_MEM {
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::bwa=0.7.17 bioconda::samtools=1.10" : null)
container "quay.io/biocontainers/mulled-v2-fe8faa35dbf6dc65a0f7f5d4ea12e31a79f73e40:eabfac3657eda5818bae4090db989e3d41b01542-0"
conda (params.enable_conda ? "bioconda::bwa=0.7.17 bioconda::samtools=1.10" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/mulled-v2-fe8faa35dbf6dc65a0f7f5d4ea12e31a79f73e40:eabfac3657eda5818bae4090db989e3d41b01542-0"
} else {
container "quay.io/biocontainers/mulled-v2-fe8faa35dbf6dc65a0f7f5d4ea12e31a79f73e40:eabfac3657eda5818bae4090db989e3d41b01542-0"
}
input:
tuple val(meta), path(reads)

View file

@ -32,6 +32,11 @@ params:
description: |
Run the module with Conda using the software specified
via the `conda` directive
- singularity_pull_docker_container:
type: boolean
description: |
Instead of directly downloading Singularity images for use with Singularity,
force the workflow to pull and convert Docker containers instead.
input:
- meta:
type: map

View file

@ -11,8 +11,12 @@ process DEEPTOOLS_COMPUTEMATRIX {
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::deeptools=3.4.3" : null)
container "quay.io/biocontainers/deeptools:3.4.3--py_0"
conda (params.enable_conda ? "bioconda::deeptools=3.5.0" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/deeptools:3.5.0--py_0"
} else {
container "quay.io/biocontainers/deeptools:3.5.0--py_0"
}
input:
tuple val(meta), path(bigwig)

View file

@ -11,8 +11,12 @@ process DEEPTOOLS_PLOTFINGERPRINT {
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::deeptools=3.4.3" : null)
container "quay.io/biocontainers/deeptools:3.4.3--py_0"
conda (params.enable_conda ? "bioconda::deeptools=3.5.0" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/deeptools:3.5.0--py_0"
} else {
container "quay.io/biocontainers/deeptools:3.5.0--py_0"
}
input:
tuple val(meta), path(bams), path(bais)

View file

@ -11,8 +11,12 @@ process DEEPTOOLS_PLOTHEATMAP {
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::deeptools=3.4.3" : null)
container "quay.io/biocontainers/deeptools:3.4.3--py_0"
conda (params.enable_conda ? "bioconda::deeptools=3.5.0" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/deeptools:3.5.0--py_0"
} else {
container "quay.io/biocontainers/deeptools:3.5.0--py_0"
}
input:
tuple val(meta), path(matrix)

View file

@ -11,9 +11,13 @@ process DEEPTOOLS_PLOTPROFILE {
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::deeptools=3.4.3" : null)
container "quay.io/biocontainers/deeptools:3.4.3--py_0"
conda (params.enable_conda ? "bioconda::deeptools=3.5.0" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/deeptools:3.5.0--py_0"
} else {
container "quay.io/biocontainers/deeptools:3.5.0--py_0"
}
input:
tuple val(meta), path(matrix)

View file

@ -11,8 +11,12 @@ process FASTQC {
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::fastqc=0.11.9" : null)
container "quay.io/biocontainers/fastqc:0.11.9--0"
conda (params.enable_conda ? "bioconda::fastqc=0.11.9" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/fastqc:0.11.9--0"
} else {
container "quay.io/biocontainers/fastqc:0.11.9--0"
}
input:
tuple val(meta), path(reads)

View file

@ -31,6 +31,11 @@ params:
description: |
Run the module with Conda using the software specified
via the `conda` directive
- singularity_pull_docker_container:
type: boolean
description: |
Instead of directly downloading Singularity images for use with Singularity,
force the workflow to pull and convert Docker containers instead.
input:
- meta:
type: map

View file

@ -10,8 +10,12 @@ process GFFREAD {
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::gffread=0.12.1" : null)
container "quay.io/biocontainers/gffread:0.12.1--h8b12597_0"
conda (params.enable_conda ? "bioconda::gffread=0.12.1" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/gffread:0.12.1--h8b12597_0"
} else {
container "quay.io/biocontainers/gffread:0.12.1--h8b12597_0"
}
input:
path gff

View file

@ -13,9 +13,13 @@ process HISAT2_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::hisat2=2.2.0 bioconda::samtools=1.10" : null)
container "quay.io/biocontainers/mulled-v2-a97e90b3b802d1da3d6958e0867610c718cb5eb1:2880dd9d8ad0a7b221d4eacda9a818e92983128d-0"
conda (params.enable_conda ? "bioconda::hisat2=2.2.0 bioconda::samtools=1.10" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/mulled-v2-a97e90b3b802d1da3d6958e0867610c718cb5eb1:2880dd9d8ad0a7b221d4eacda9a818e92983128d-0"
} else {
container "quay.io/biocontainers/mulled-v2-a97e90b3b802d1da3d6958e0867610c718cb5eb1:2880dd9d8ad0a7b221d4eacda9a818e92983128d-0"
}
input:
tuple val(meta), path(reads)
path index

View file

@ -12,8 +12,12 @@ process HISAT2_BUILD {
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::hisat2=2.2.0" : null)
container "quay.io/biocontainers/hisat2:2.2.0--py37hfa133b6_4"
conda (params.enable_conda ? "bioconda::hisat2=2.2.0" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/hisat2:2.2.0--py37hfa133b6_4"
} else {
container "quay.io/biocontainers/hisat2:2.2.0--py37hfa133b6_4"
}
input:
path fasta

View file

@ -11,9 +11,13 @@ process HISAT2_EXTRACTSPLICESITES {
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::hisat2=2.2.0" : null)
container "quay.io/biocontainers/hisat2:2.2.0--py37hfa133b6_4"
conda (params.enable_conda ? "bioconda::hisat2=2.2.0" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/hisat2:2.2.0--py37hfa133b6_4"
} else {
container "quay.io/biocontainers/hisat2:2.2.0--py37hfa133b6_4"
}
input:
path gtf

View file

@ -13,8 +13,12 @@ process HOMER_ANNOTATEPEAKS {
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::homer=4.11" : null)
container "quay.io/biocontainers/homer:4.11--pl526h9a982cc_2"
conda (params.enable_conda ? "bioconda::homer=4.11" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/homer:4.11--pl526hc9558a2_3"
} else {
container "quay.io/biocontainers/homer:4.11--pl526hc9558a2_3"
}
input:
tuple val(meta), path(peak)

View file

@ -11,8 +11,12 @@ process MACS2_CALLPEAK {
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::macs2=2.2.7.1" : null)
container "quay.io/biocontainers/macs2:2.2.7.1--py37h516909a_0"
conda (params.enable_conda ? "bioconda::macs2=2.2.7.1" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/macs2:2.2.7.1--py38h0213d0e_1"
} else {
container "quay.io/biocontainers/macs2:2.2.7.1--py38h0213d0e_1"
}
input:
tuple val(meta), path(ipbam), path(controlbam)

View file

@ -10,8 +10,12 @@ process MULTIQC {
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::multiqc=1.9" : null)
container "quay.io/biocontainers/multiqc:1.9--pyh9f0ad1d_0"
conda (params.enable_conda ? "bioconda::multiqc=1.9" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/multiqc:1.9--pyh9f0ad1d_0"
} else {
container "quay.io/biocontainers/multiqc:1.9--pyh9f0ad1d_0"
}
input:
path multiqc_files

View file

@ -27,6 +27,11 @@ params:
description: |
Run the module with Conda using the software specified
via the `conda` directive
- singularity_pull_docker_container:
type: boolean
description: |
Instead of directly downloading Singularity images for use with Singularity,
force the workflow to pull and convert Docker containers instead.
input:
- multiqc_files:
type: file

View file

@ -13,9 +13,13 @@ process PHANTOMPEAKQUALTOOLS {
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::phantompeakqualtools=1.2.2" : null)
container "quay.io/biocontainers/phantompeakqualtools:1.2.2--0"
conda (params.enable_conda ? "bioconda::phantompeakqualtools=1.2.2" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/phantompeakqualtools:1.2.2--0"
} else {
container "quay.io/biocontainers/phantompeakqualtools:1.2.2--0"
}
input:
tuple val(meta), path(bam)

View file

@ -11,8 +11,12 @@ process PICARD_COLLECTMULTIPLEMETRICS {
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::picard=2.23.8" : null)
container "quay.io/biocontainers/picard:2.23.8--0"
conda (params.enable_conda ? "bioconda::picard=2.23.9" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/picard:2.23.9--0"
} else {
container "quay.io/biocontainers/picard:2.23.9--0"
}
input:
tuple val(meta), path(bam)

View file

@ -30,6 +30,11 @@ params:
description: |
Run the module with Conda using the software specified
via the `conda` directive
- singularity_pull_docker_container:
type: boolean
description: |
Instead of directly downloading Singularity images for use with Singularity,
force the workflow to pull and convert Docker containers instead.
input:
- meta:
type: map

View file

@ -10,9 +10,13 @@ process PICARD_MARKDUPLICATES {
publishDir "${params.outdir}",
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::picard=2.23.8" : null)
container "quay.io/biocontainers/picard:2.23.8--0"
conda (params.enable_conda ? "bioconda::picard=2.23.9" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/picard:2.23.9--0"
} else {
container "quay.io/biocontainers/picard:2.23.9--0"
}
input:
tuple val(meta), path(bam)

View file

@ -30,6 +30,11 @@ params:
description: |
Run the module with Conda using the software specified
via the `conda` directive
- singularity_pull_docker_container:
type: boolean
description: |
Instead of directly downloading Singularity images for use with Singularity,
force the workflow to pull and convert Docker containers instead.
input:
- meta:
type: map

View file

@ -11,8 +11,12 @@ process PICARD_MERGESAMFILES {
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::picard=2.23.8" : null)
container "quay.io/biocontainers/picard:2.23.8--0"
conda (params.enable_conda ? "bioconda::picard=2.23.9" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/picard:2.23.9--0"
} else {
container "quay.io/biocontainers/picard:2.23.9--0"
}
input:
tuple val(meta), path(bams)

View file

@ -28,6 +28,11 @@ params:
description: |
Run the module with Conda using the software specified
via the `conda` directive
- singularity_pull_docker_container:
type: boolean
description: |
Instead of directly downloading Singularity images for use with Singularity,
force the workflow to pull and convert Docker containers instead.
input:
- meta:
type: map

View file

@ -12,9 +12,13 @@ process PRESEQ_LCEXTRAP {
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::preseq=2.0.3" : null)
container "quay.io/biocontainers/preseq:2.0.3--hf53bd2b_3"
conda (params.enable_conda ? "bioconda::preseq=2.0.3" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/preseq:2.0.3--hf53bd2b_3"
} else {
container "quay.io/biocontainers/preseq:2.0.3--hf53bd2b_3"
}
input:
tuple val(meta), path(bam)

View file

@ -11,8 +11,12 @@ process QUALIMAP_RNASEQ {
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::qualimap=2.2.2d" : null)
container "quay.io/biocontainers/qualimap:2.2.2d--1"
conda (params.enable_conda ? "bioconda::qualimap=2.2.2d" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/qualimap:2.2.2d--1"
} else {
container "quay.io/biocontainers/qualimap:2.2.2d--1"
}
input:
tuple val(meta), path(bam)

View file

@ -11,8 +11,12 @@ process RSEM_CALCULATEEXPRESSION {
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::rsem=1.3.3 bioconda::star=2.7.6a" : null)
container "quay.io/biocontainers/mulled-v2-cf0123ef83b3c38c13e3b0696a3f285d3f20f15b:606b713ec440e799d53a2b51a6e79dbfd28ecf3e-0"
conda (params.enable_conda ? "bioconda::rsem=1.3.3 bioconda::star=2.7.6a" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/mulled-v2-cf0123ef83b3c38c13e3b0696a3f285d3f20f15b:606b713ec440e799d53a2b51a6e79dbfd28ecf3e-0"
} else {
container "quay.io/biocontainers/mulled-v2-cf0123ef83b3c38c13e3b0696a3f285d3f20f15b:606b713ec440e799d53a2b51a6e79dbfd28ecf3e-0"
}
input:
tuple val(meta), path(reads)

View file

@ -11,8 +11,12 @@ process RSEM_PREPAREREFERENCE {
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::rsem=1.3.3 bioconda::star=2.7.6a" : null)
container "quay.io/biocontainers/mulled-v2-cf0123ef83b3c38c13e3b0696a3f285d3f20f15b:606b713ec440e799d53a2b51a6e79dbfd28ecf3e-0"
conda (params.enable_conda ? "bioconda::rsem=1.3.3 bioconda::star=2.7.6a" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/mulled-v2-cf0123ef83b3c38c13e3b0696a3f285d3f20f15b:606b713ec440e799d53a2b51a6e79dbfd28ecf3e-0"
} else {
container "quay.io/biocontainers/mulled-v2-cf0123ef83b3c38c13e3b0696a3f285d3f20f15b:606b713ec440e799d53a2b51a6e79dbfd28ecf3e-0"
}
input:
path fasta

View file

@ -11,8 +11,12 @@ process RSEQC_BAMSTAT {
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::rseqc=3.0.1" : null)
container "quay.io/biocontainers/rseqc:3.0.1--py37h516909a_1"
conda (params.enable_conda ? "bioconda::rseqc=3.0.1" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/rseqc:3.0.1--py37h516909a_1"
} else {
container "quay.io/biocontainers/rseqc:3.0.1--py37h516909a_1"
}
input:
tuple val(meta), path(bam)

View file

@ -11,8 +11,12 @@ process RSEQC_INFEREXPERIMENT {
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::rseqc=3.0.1" : null)
container "quay.io/biocontainers/rseqc:3.0.1--py37h516909a_1"
conda (params.enable_conda ? "bioconda::rseqc=3.0.1" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/rseqc:3.0.1--py37h516909a_1"
} else {
container "quay.io/biocontainers/rseqc:3.0.1--py37h516909a_1"
}
input:
tuple val(meta), path(bam)

View file

@ -11,8 +11,12 @@ process RSEQC_INNERDISTANCE {
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::rseqc=3.0.1" : null)
container "quay.io/biocontainers/rseqc:3.0.1--py37h516909a_1"
conda (params.enable_conda ? "bioconda::rseqc=3.0.1" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/rseqc:3.0.1--py37h516909a_1"
} else {
container "quay.io/biocontainers/rseqc:3.0.1--py37h516909a_1"
}
input:
tuple val(meta), path(bam)

View file

@ -11,8 +11,12 @@ process RSEQC_JUNCTIONANNOTATION {
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::rseqc=3.0.1" : null)
container "quay.io/biocontainers/rseqc:3.0.1--py37h516909a_1"
conda (params.enable_conda ? "bioconda::rseqc=3.0.1" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/rseqc:3.0.1--py37h516909a_1"
} else {
container "quay.io/biocontainers/rseqc:3.0.1--py37h516909a_1"
}
input:
tuple val(meta), path(bam)

View file

@ -11,8 +11,12 @@ process RSEQC_JUNCTIONSATURATION {
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::rseqc=3.0.1" : null)
container "quay.io/biocontainers/rseqc:3.0.1--py37h516909a_1"
conda (params.enable_conda ? "bioconda::rseqc=3.0.1" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/rseqc:3.0.1--py37h516909a_1"
} else {
container "quay.io/biocontainers/rseqc:3.0.1--py37h516909a_1"
}
input:
tuple val(meta), path(bam)

View file

@ -11,8 +11,12 @@ process RSEQC_READDISTRIBUTION {
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::rseqc=3.0.1" : null)
container "quay.io/biocontainers/rseqc:3.0.1--py37h516909a_1"
conda (params.enable_conda ? "bioconda::rseqc=3.0.1" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/rseqc:3.0.1--py37h516909a_1"
} else {
container "quay.io/biocontainers/rseqc:3.0.1--py37h516909a_1"
}
input:
tuple val(meta), path(bam)

View file

@ -11,8 +11,12 @@ process RSEQC_READDUPLICATION {
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::rseqc=3.0.1" : null)
container "quay.io/biocontainers/rseqc:3.0.1--py37h516909a_1"
conda (params.enable_conda ? "bioconda::rseqc=3.0.1" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/rseqc:3.0.1--py37h516909a_1"
} else {
container "quay.io/biocontainers/rseqc:3.0.1--py37h516909a_1"
}
input:
tuple val(meta), path(bam)

View file

@ -11,8 +11,12 @@ process SALMON_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::salmon=1.3.0" : null)
container "quay.io/biocontainers/salmon:1.3.0--hf69c8f4_0"
conda (params.enable_conda ? "bioconda::salmon=1.4.0" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/salmon:1.4.0--hf69c8f4_0"
} else {
container "quay.io/biocontainers/salmon:1.4.0--hf69c8f4_0"
}
input:
path genome_fasta
@ -38,10 +42,10 @@ process SALMON_INDEX {
salmon \\
index \\
--threads $task.cpus \\
-t gentrome.fa \\
-t $gentrome \\
-d decoys.txt \\
$options.args \\
-i salmon
salmon --version | sed -e "s/salmon //g" > ${software}.version.txt
"""
}
}

View file

@ -11,8 +11,12 @@ process SALMON_QUANT {
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::salmon=1.3.0" : null)
container "quay.io/biocontainers/salmon:1.3.0--hf69c8f4_0"
conda (params.enable_conda ? "bioconda::salmon=1.4.0" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/salmon:1.4.0--hf69c8f4_0"
} else {
container "quay.io/biocontainers/salmon:1.4.0--hf69c8f4_0"
}
input:
tuple val(meta), path(reads)

View file

@ -9,8 +9,12 @@ process SAMTOOLS_FLAGSTAT {
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::samtools=1.10" : null)
container "quay.io/biocontainers/samtools:1.10--h9402c20_2"
conda (params.enable_conda ? "bioconda::samtools=1.10" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/samtools:1.10--h9402c20_2"
} else {
container "quay.io/biocontainers/samtools:1.10--h9402c20_2"
}
input:
tuple val(meta), path(bam), path(bai)

View file

@ -32,6 +32,11 @@ params:
description: |
Run the module with Conda using the software specified
via the `conda` directive
- singularity_pull_docker_container:
type: boolean
description: |
Instead of directly downloading Singularity images for use with Singularity,
force the workflow to pull and convert Docker containers instead.
input:
- meta:
type: map

View file

@ -9,8 +9,12 @@ process SAMTOOLS_IDXSTATS {
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::samtools=1.10" : null)
container "quay.io/biocontainers/samtools:1.10--h9402c20_2"
conda (params.enable_conda ? "bioconda::samtools=1.10" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/samtools:1.10--h9402c20_2"
} else {
container "quay.io/biocontainers/samtools:1.10--h9402c20_2"
}
input:
tuple val(meta), path(bam), path(bai)

View file

@ -33,6 +33,11 @@ params:
description: |
Run the module with Conda using the software specified
via the `conda` directive
- singularity_pull_docker_container:
type: boolean
description: |
Instead of directly downloading Singularity images for use with Singularity,
force the workflow to pull and convert Docker containers instead.
input:
- meta:
type: map

View file

@ -9,8 +9,12 @@ process SAMTOOLS_INDEX {
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::samtools=1.10" : null)
container "quay.io/biocontainers/samtools:1.10--h9402c20_2"
conda (params.enable_conda ? "bioconda::samtools=1.10" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/samtools:1.10--h9402c20_2"
} else {
container "quay.io/biocontainers/samtools:1.10--h9402c20_2"
}
input:
tuple val(meta), path(bam)

View file

@ -30,6 +30,11 @@ params:
description: |
Run the module with Conda using the software specified
via the `conda` directive
- singularity_pull_docker_container:
type: boolean
description: |
Instead of directly downloading Singularity images for use with Singularity,
force the workflow to pull and convert Docker containers instead.
input:
- meta:
type: map

View file

@ -11,8 +11,12 @@ process SAMTOOLS_SORT {
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::samtools=1.10" : null)
container "quay.io/biocontainers/samtools:1.10--h9402c20_2"
conda (params.enable_conda ? "bioconda::samtools=1.10" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/samtools:1.10--h9402c20_2"
} else {
container "quay.io/biocontainers/samtools:1.10--h9402c20_2"
}
input:
tuple val(meta), path(bam)

View file

@ -30,6 +30,11 @@ params:
description: |
Run the module with Conda using the software specified
via the `conda` directive
- singularity_pull_docker_container:
type: boolean
description: |
Instead of directly downloading Singularity images for use with Singularity,
force the workflow to pull and convert Docker containers instead.
input:
- meta:
type: map

View file

@ -9,9 +9,13 @@ process SAMTOOLS_STATS {
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::samtools=1.10" : null)
container "quay.io/biocontainers/samtools:1.10--h9402c20_2"
conda (params.enable_conda ? "bioconda::samtools=1.10" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/samtools:1.10--h9402c20_2"
} else {
container "quay.io/biocontainers/samtools:1.10--h9402c20_2"
}
input:
tuple val(meta), path(bam), path(bai)

View file

@ -31,6 +31,11 @@ params:
description: |
Run the module with Conda using the software specified
via the `conda` directive
- singularity_pull_docker_container:
type: boolean
description: |
Instead of directly downloading Singularity images for use with Singularity,
force the workflow to pull and convert Docker containers instead.
input:
- meta:
type: map

View file

@ -11,9 +11,13 @@ process SORTMERNA {
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::sortmerna=4.2.0" : null)
container "quay.io/biocontainers/sortmerna:4.2.0--0"
conda (params.enable_conda ? "bioconda::sortmerna=4.2.0" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/sortmerna:4.2.0--0"
} else {
container "quay.io/biocontainers/sortmerna:4.2.0--0"
}
input:
tuple val(meta), path(reads)
path fasta

View file

@ -12,8 +12,13 @@ process STAR_ALIGN {
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:meta.id) }
// Note: 2.7X indices incompatible with AWS iGenomes.
conda (params.enable_conda ? "bioconda::star=2.6.1d" : null)
container "quay.io/biocontainers/star:2.6.1d--0"
conda (params.enable_conda ? "bioconda::star=2.6.1d" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/star:2.6.1d--0"
} else {
container "quay.io/biocontainers/star:2.6.1d--0"
}
input:
tuple val(meta), path(reads)

View file

@ -12,8 +12,12 @@ process STAR_GENOMEGENERATE {
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:'') }
// Note: 2.7X indices incompatible with AWS iGenomes.
conda (params.enable_conda ? "bioconda::star=2.6.1d" : null)
container "quay.io/biocontainers/star:2.6.1d--0"
conda (params.enable_conda ? "bioconda::star=2.6.1d" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/star:2.6.1d--0"
} else {
container "quay.io/biocontainers/star:2.6.1d--0"
}
input:
path fasta

View file

@ -11,9 +11,12 @@ process STRINGTIE {
mode: params.publish_dir_mode,
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:meta.id) }
// Note: 2.7X indices incompatible with AWS iGenomes.
conda (params.enable_conda ? "bioconda::stringtie=2.1.4" : null)
container "quay.io/biocontainers/stringtie:2.1.4--h7e0af3c_0"
conda (params.enable_conda ? "bioconda::stringtie=2.1.4" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/stringtie:2.1.4--h7e0af3c_0"
} else {
container "quay.io/biocontainers/stringtie:2.1.4--h7e0af3c_0"
}
input:
tuple val(meta), path(bam)

View file

@ -11,9 +11,12 @@ process SUBREAD_FEATURECOUNTS {
mode: params.publish_dir_mode,
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:meta.id) }
// Note: 2.7X indices incompatible with AWS iGenomes.
conda (params.enable_conda ? "bioconda::subread=2.0.1" : null)
container "quay.io/biocontainers/subread:2.0.1--hed695b0_0"
conda (params.enable_conda ? "bioconda::subread=2.0.1" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/subread:2.0.1--hed695b0_0"
} else {
container "quay.io/biocontainers/subread:2.0.1--hed695b0_0"
}
input:
tuple val(meta), path(bams), path(annotation)

View file

@ -11,8 +11,12 @@ process TRIMGALORE {
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::trim-galore=0.6.6" : null)
container "quay.io/biocontainers/trim-galore:0.6.6--0"
conda (params.enable_conda ? "bioconda::trim-galore=0.6.6" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/trim-galore:0.6.6--0"
} else {
container "quay.io/biocontainers/trim-galore:0.6.6--0"
}
input:
tuple val(meta), path(reads)

View file

@ -29,6 +29,11 @@ params:
description: |
Run the module with Conda using the software specified
via the `conda` directive
- singularity_pull_docker_container:
type: boolean
description: |
Instead of directly downloading Singularity images for use with Singularity,
force the workflow to pull and convert Docker containers instead.
- clip_r1:
type: integer
description: |

View file

@ -13,9 +13,13 @@ process UCSC_BEDGRAPHTOBIGWIG {
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::ucsc-bedgraphtobigwig=377" : null)
container "quay.io/biocontainers/ucsc-bedgraphtobigwig:377--h446ed27_1"
conda (params.enable_conda ? "bioconda::ucsc-bedgraphtobigwig=377" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/ucsc-bedgraphtobigwig:377--h446ed27_1"
} else {
container "quay.io/biocontainers/ucsc-bedgraphtobigwig:377--h446ed27_1"
}
input:
tuple val(meta), path(bedgraph)
path sizes

View file

@ -11,8 +11,12 @@ process UMITOOLS_DEDUP {
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::umi_tools=1.0.1" : null)
container "quay.io/biocontainers/umi_tools:1.0.1--py37h516909a_1"
conda (params.enable_conda ? "bioconda::umi_tools=1.1.1" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/umi_tools:1.1.1--py38h0213d0e_1"
} else {
container "quay.io/biocontainers/umi_tools:1.1.1--py38h0213d0e_1"
}
input:
tuple val(meta), path(bam), path(bai)

View file

@ -11,8 +11,12 @@ process UMITOOLS_EXTRACT {
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::umi_tools=1.0.1" : null)
container "quay.io/biocontainers/umi_tools:1.0.1--py37h516909a_1"
conda (params.enable_conda ? "bioconda::umi_tools=1.1.1" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/umi_tools:1.1.1--py38h0213d0e_1"
} else {
container "quay.io/biocontainers/umi_tools:1.1.1--py38h0213d0e_1"
}
input:
tuple val(meta), path(reads)

View file

@ -32,7 +32,7 @@
files:
- path: output/picard/test.MarkDuplicates.metrics.txt
- path: output/picard/test.bam
md5sum: 50407a1ee722f2bf6a20471c8a7fd6b0
md5sum: 0ed0bfc94069380334ccd595f6d8207c
- name: Run picard MarkDuplicates without a sorted bam file so it fails
command: nextflow run ./tests/software/picard -profile docker -entry test_picard_markduplicates_not_sorted -c tests/config/nextflow.config