-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextflow.config
More file actions
84 lines (72 loc) · 1.93 KB
/
nextflow.config
File metadata and controls
84 lines (72 loc) · 1.93 KB
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
/*
* RNA-seq Pipeline Configuration
*/
params {
samplesheet = "${projectDir}/assets/samplesheet.csv"
genome_index = null
gtf = null
outdir = "results"
strandedness = 2 // featureCounts: 0=unstranded, 1=forward, 2=reverse
ref_condition = "untreated" // DESeq2 reference level for contrast
aws_queue = null
aws_region = "eu-west-2"
aws_workdir = null
}
process {
cpus = 4
memory = '8 GB'
errorStrategy = { task.exitStatus in [137, 143] ? 'retry' : 'finish' }
maxRetries = 2
}
timeline {
enabled = true
file = "${params.outdir}/pipeline_info/timeline.html"
}
report {
enabled = true
file = "${params.outdir}/pipeline_info/report.html"
}
trace {
enabled = true
file = "${params.outdir}/pipeline_info/trace.txt"
}
dag {
enabled = true
file = "${params.outdir}/pipeline_info/dag.dot"
}
profiles {
docker {
docker.enabled = true
docker.runOptions = '--platform linux/amd64'
}
singularity {
singularity.enabled = true
singularity.autoMounts = true
}
test {
params.samplesheet = "${projectDir}/test/samplesheet.csv"
params.genome_index = "${projectDir}/test/genome"
params.gtf = "${projectDir}/test/genes.gtf"
params.strandedness = 0 // synthetic data is unstranded
params.ref_condition = "negative"
process {
cpus = 1
memory = '2 GB'
}
}
awsbatch {
docker.enabled = true
process.executor = 'awsbatch'
process.queue = params.aws_queue
aws.region = params.aws_region
workDir = params.aws_workdir
}
}
manifest {
name = 'rnaseq-nextflow-pipeline'
author = 'Ekin Kahraman'
description = 'Bulk RNA-seq pipeline: FastQC, fastp, HISAT2, featureCounts, DESeq2, MultiQC'
version = '1.0.0'
nextflowVersion = '>=24.0'
mainScript = 'main.nf'
}