-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
72 lines (62 loc) · 1.58 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
/*
we can set default global parameters for pipeline parameters (params),
process, manifest, executor, profiles, docker, singularity,
timeline, report and more.
*/
/*
params.query = "myquery.fasta"
params.dbDir = "/path/to/my/blastDB/"
params.dbName = "myBlastDB"
params.threads = 16
params.outdir = "out_dir"
*/
// different format to define pipeline parameters
params {
query = "$PWD/input.fasta"
dbDir = "$PWD/DB"
dbName = "blastDB"
threads = 8
outdir = "out_dir"
outFileName = "input.blastout"
options = "-evalue 1e-3"
outfmt = 6
app = "blastn"
help = false
}
// output a detailed timeline report.
timeline {
enabled = true
file = "$params.outdir/timeline.html"
}
// output a detailed execution report
report {
enabled = true
file = "$params.outdir/report.html"
}
// These parameters are only active if we choose a non-local executor
// like slurm or torque.
// setting the queueSize to be no more than 100 jobs
// and a submission rate of no more than 10 per second.
executor {
queueSize = 100
submitRateLimit = '10 sec'
}
// load different settings depending on the profile.
// This is similar to an include statement in other languages.
profiles {
slurm { includeConfig './configs/slurm.config' }
docker { docker.enabled = true }
singularity {
singularity.enabled = true
singularity.autoMounts = true
}
test { includeConfig './configs/test.config' }
}
manifest {
name = 'xiaoli-dong/nextflow_tutorial'
author = 'Xiaoli Dong'
// homePage = 'www.bioinformaticsworkbook.org'
description = 'nextflow bash'
mainScript = 'main.nf'
version = '1.0.0'
}