-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
76 lines (64 loc) · 1.55 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
/*
* --------------------------------------------------------------------
* Nextflow config settings
* --------------------------------------------------------------------
*/
manifest {
name = 'codingene/nextflow-base'
author = 'Sangram Kesahri Sahu'
homePage = 'http://codingene.github.io/nextflow-base'
description = 'Basic Nextflow Structure'
mainScript = 'main.nf'
nextflowVersion = '>=19.10.0'
version = '0.1.0'
}
// default workflow params //
params {
help = false
// mandatory
reads = null
transcriptome = null
outdir = 'results'
//fastp params
fastp {
length_required = 75
length_limit = 151
qualified_quality_phred = 30
}
// system setting
max_cpus = 1
max_memory = '2 GB'
max_time = '1h'
// others
multiqc_report = true
email = false
}
// default workflow container //
process.container = 'codingene/nextflow-base:latest'
// default profile cofigurations //
profiles {
docker {
docker {
enabled = true
fixOwnership = true
runOptions = "-u \$(id -u):\$(id -g)"
}
singularity.enabled = false
}
singularity {
docker.enabled = false
singularity.autoMounts = true
singularity.enabled = true
}
conda { process.conda = "$baseDir/envs/main.yml" }
test { includeConfig 'configs/test.config' }
}
conda.cacheDir = "$HOME/.nextflow/conda"
// Capture exit codes from upstream processes when piping //
process.shell = ['/bin/bash', '-euo', 'pipefail']
// Email Notifications //
mail {
smtp.host = 'smtp.gmail.com'
smtp.port = 487
smtp.user = 'sangram'
}