-
Notifications
You must be signed in to change notification settings - Fork 0
/
nextflow.config
84 lines (69 loc) · 1.71 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
params {
help = false
// output directory
outdir = './RNASeq_Results'
// Input reads and reference files
reads = false
genome = false
genome_gff = false
genome_cdna = false
// link executables (optional)
fastqc_app = 'fastqc'
multiqc_app = 'multiqc'
parallel_app = 'parallel'
kallisto_app = 'kallisto'
salmon_app = 'salmon'
gsnap_app = 'gsnap'
featureCounts_app = 'featureCounts'
// runtime options
queueSize = 20
account = false // HPC account name
threads = false
methods = "gsnap,hisat2,kallisto,salmon" // by default, run all
}
env {
fastqc_app = params.fastqc_app
multiqc_app = params.multiqc_app
parallel_app = params.parallel_app
kallisto_app = params.kallisto_app
salmon_app = params.salmon_app
gsnap_app = params.gsnap_app
featureCounts_app = params.featureCounts_app
// == slurm or other options
account_flag = params.account ? " --account $params.account " : ' '
threads = params.threads ? "$params.threads" : 4
}
executor {
queueSize = "$params.queueSize"
submitRateLimit = '10 sec'
}
profiles {
local { cpu = 4 }
slurm {
includeConfig 'configs/slurm.config'
}
}
singularity.autoMounts=true
docker.runOptions = '-u \$(id -u):\$(id -g)'
/*****************************
Generate html runtime reports
-with-timeline timeline.html
-with-report report.html
*****************************/
timeline {
enabled = true
file = "$params.outdir/timeline.html"
}
report {
enabled = true
file = "$params.outdir/report.html"
}
/**********************************
Author and software info here
**********************************/
manifest {
name = 'isugifNF/RNAseq'
description = 'RNAseq pipeline'
mainScript = 'main.nf'
version = '1.0.0'
}