forked from nextflow-io/rnaseq-nf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
executable file
·148 lines (127 loc) · 3.99 KB
/
nextflow.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
/*
* Copyright (c) 2013-2023, Seqera Labs.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*
*/
manifest {
description = 'Proof of concept of a RNA-seq pipeline implemented with Nextflow'
author = 'Paolo Di Tommaso'
nextflowVersion = '>=23.10.0'
}
plugins {
id '[email protected]'
}
/*
* default params
*/
params.outdir = "results"
params.reads = "${projectDir}/data/ggal/ggal_gut_{1,2}.fq"
params.transcriptome = "${projectDir}/data/ggal/ggal_1_48850000_49020000.Ggal71.500bpflank.fa"
params.multiqc = "${projectDir}/multiqc"
/*
* defines execution profiles for different environments
*/
profiles {
standard {
process.container = 'quay.io/nextflow/rnaseq-nf:v1.2.1'
}
'all-reads' {
params.reads = "${projectDir}/data/ggal/ggal_*_{1,2}.fq"
}
/*
* NOTE: requires nextflow 24.03.0-edge or later
*/
wave {
wave.enabled = true
wave.strategy = 'conda'
wave.freeze = true
}
docker {
process.container = 'quay.io/nextflow/rnaseq-nf:v1.2.1'
docker.enabled = true
}
singularity {
process.container = 'quay.io/nextflow/rnaseq-nf:v1.2.1'
singularity.enabled = true
singularity.autoMounts = true
}
conda {
conda.enabled = true
conda.channels = 'seqera,conda-forge,bioconda,defaults'
}
slurm {
process.container = 'quay.io/nextflow/rnaseq-nf:v1.2.1'
process.executor = 'slurm'
singularity.enabled = true
}
batch {
params.reads = 's3://rnaseq-nf/data/ggal/lung_{1,2}.fq'
params.transcriptome = 's3://rnaseq-nf/data/ggal/transcript.fa'
process.container = 'quay.io/nextflow/rnaseq-nf:v1.2.1'
process.executor = 'awsbatch'
process.queue = 'nextflow-ci'
workDir = 's3://nextflow-ci/work'
aws.region = 'eu-west-1'
aws.batch.cliPath = '/home/ec2-user/miniconda/bin/aws'
}
snowflake {
process.executor = 'snowflake'
snowflake {
computePool = 'HYU_POOL2'
runtimeStage = 'NXF_RUNTIME'
}
}
's3-data' {
process.container = 'quay.io/nextflow/rnaseq-nf:v1.2.1'
params.reads = 's3://rnaseq-nf/data/ggal/lung_{1,2}.fq'
params.transcriptome = 's3://rnaseq-nf/data/ggal/transcript.fa'
}
gls {
params.transcriptome = 'gs://rnaseq-nf/data/ggal/transcript.fa'
params.reads = 'gs://rnaseq-nf/data/ggal/gut_{1,2}.fq'
params.multiqc = 'gs://rnaseq-nf/multiqc'
process.executor = 'google-lifesciences'
process.container = 'quay.io/nextflow/rnaseq-nf:v1.2.1'
workDir = 'gs://rnaseq-nf/scratch' // <- replace with your own bucket!
google.region = 'europe-west2'
}
gcb {
params.transcriptome = 'gs://rnaseq-nf/data/ggal/transcript.fa'
params.reads = 'gs://rnaseq-nf/data/ggal/gut_{1,2}.fq'
params.multiqc = 'gs://rnaseq-nf/multiqc'
process.executor = 'google-batch'
process.container = 'quay.io/nextflow/rnaseq-nf:v1.2.1'
workDir = 'gs://rnaseq-nf/scratch' // <- replace with your own bucket!
google.region = 'europe-west2'
}
'gs-data' {
process.container = 'quay.io/nextflow/rnaseq-nf:v1.2.1'
params.transcriptome = 'gs://rnaseq-nf/data/ggal/transcript.fa'
params.reads = 'gs://rnaseq-nf/data/ggal/gut_{1,2}.fq'
}
azb {
process.container = 'quay.io/nextflow/rnaseq-nf:v1.2.1'
workDir = 'az://nf-scratch/work'
process.executor = 'azurebatch'
process.queue = 'nextflow-ci' // replace with your own Azure pool name
azure {
batch {
location = 'westeurope'
accountName = "$AZURE_BATCH_ACCOUNT_NAME"
accountKey = "$AZURE_BATCH_ACCOUNT_KEY"
autoPoolMode = true
deletePoolsOnCompletion = true
}
storage {
accountName = "$AZURE_STORAGE_ACCOUNT_NAME"
accountKey = "$AZURE_STORAGE_ACCOUNT_KEY"
}
}
}
}