-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
70 lines (59 loc) · 2.08 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
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
exscan.nf Configuration File
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Default configuration options are defined here
--------------------------------------------------------------------------------
*/
manifest {
author = "Joan Lluis Pons Ramon"
name = "exscan.nf"
version = "0.1.0"
description = "An extended sequence scanner"
homePage = "https://github.com/jllpons/exscan"
}
params {
/*
-----------------------------
Required Parameters
-----------------------------
**MUST** be provided as:
- Cli args: ( `$ nextflow run main.nf --<param> <val>` )
- Yaml/JSON file: ( `$ nextflow run main -params-file params/file.yaml` )
*/
fasta = null
hmmdb = null
/*
-----------------------------
Parameters with defaults
-----------------------------
Can be overwritten when provided as:
- Cli args: ( `$ nextflow run main.nf --<param> <val>` )
- Yaml/JSON file: ( `$ nextflow run main -params-file params/file.yaml` )
*/
sequence_type = "dna"
dom_ieval_filter = "1e-03"
min_alignment_len = 16
grouping_distance = 3750 //base-pairs
gff_intersect = null
keep_only_intersect = false
outdir = 'results'
/*
-----------------------------
Optional Parameters
-----------------------------
*/
help = null
version = null
// Mapping manifest so it's accessible in the main.nf script
manifest = manifest
}
// Load base.config by defalut for all processes
//includeConfig 'conf/base.config'
// Set bash options
process.shell = """\
bash
set -e # Exit if a tool returns a non-zero status/exit code
set -u # Treat unset variables and parameters as an error
set -o pipefail # Returns the status of the last command to exit with a non-zero status or zero if all successfully execute
"""