-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsnvphyl.config
104 lines (99 loc) · 2.66 KB
/
snvphyl.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/*
========================================================================================
SNVPhyl Custom Config File
========================================================================================
/*
========================================================================================
Nextflow Metrics & Reports
========================================================================================
*/
report {
enabled = true
file = "${params.outdir}/report.html"
}
/*
========================================================================================
Default config options for scicomp compute environments
========================================================================================
*/
singularity.enabled = true
singularity.autoMounts = true
singularity.cacheDir = '/$PATH/Singularity_Containers' //Change this to the path where you want to save your singularity images
executor {
errorStrategy = 'retry'
maxRetries = 1
queueSize = 100
pollInterval = '15 sec'
}
process {
executor = 'sge' // Change this to your executor (i.e. slurm - https://www.nextflow.io/docs/latest/executor.html ) or comment out to run locally
queue = 'myfavcluster.q' //Change to the cluster your want job submitted to
withName: INDEXING {
container = "staphb/smalt:0.7.6"
cpus = 1
memory = '2 GB'
}
withName: VERIFYING_MAP_Q {
container = "staphb/snvphyl-tools:1.8.2"
cpus = 2
memory = "5 GB"
}
withName: SMALT_MAP {
container = "staphb/smalt:0.7.6"
memory = "1 GB"
cpus = 4
}
withName: SORT_INDEX_BAMS {
container = "staphb/samtools:1.9"
memory = "2 GB"
cpus = 1
}
withName: FREEBAYES {
container = "staphb/freebayes:1.3.6"
memory = "1 GB"
cpus = 1
}
withName: MPILEUP {
container = "staphb/bcftools:1.14"
memory = "1 GB"
cpus = 1
}
// BGZIP_MPILEUP_VCF and BGZIP_FREEBAYES_VCF
withLabel: process_bgzip {
container = "staphb/htslib:1.15"
memory = "1 GB"
cpus = 1
}
// BCFTOOLS_CALL and FREEBAYES_VCF_TO_BCF
withLabel: process_bcf {
container = "staphb/bcftools:1.15"
memory = "1 GB"
cpus = 2
}
withName: CONSOLIDATE_BCFS {
container = "staphb/snvphyl-tools:1.8.2"
cpus = 1
memory = "30 GB"
}
withName: VCF2SNV_ALIGNMENT {
container = "staphb/snvphyl-tools:1.8.2"
cpus = 4
memory = "5 GB"
}
withName: PHYML {
container = "staphb/phyml:3.3.20220408"
memory = "2 GB"
cpus = 1
}
//GENERATE_LINE_1, CONSOLIDATE_FILTERED_DENSITY and GENERATE_LINE_2
withLabel: process_gen_line {
memory = "1 GB"
cpus = 1
}
//FIND_REPEATS, FILTER_FREEBAYES, FILTER_STATS and MAKE_SNV
withLabel: process_snvphyl_low {
container = "staphb/snvphyl-tools:1.8.2"
memory = "1 GB"
cpus = 1
}
}