-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnextflow.config
executable file
·88 lines (72 loc) · 1.88 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
85
86
87
88
nextflow {
cleanup {
enabled = false
remove = true
}
}
executor {
cpus = 16
memory = '64 GB'
disk = '1 TB'
queueSize = 16
submitRateLimit = 2
}
report {
overwrite = true
}
profiles {
gcb {
process.executor = 'google-batch'
process.container = 'dylanpilz/freyja-sra:latest'
workDir = 'gs://outbreak-ww-data/nf-work'
google.region = 'us-central1'
google.project = 'andersen-lab-primary'
google.batch.serviceAccountEmail = '[email protected]'
}
singularity {
process.executor = 'slurm'
params.profile = 'singularity'
singularity.enabled = true
process.container = 'docker://dylanpilz/freyja-sra:latest'
singularity.cacheDir = "$PWD"
singularity.autoMounts = false
singularity.runOptions = "--bind $PWD"
}
docker {
params.profile = 'docker'
docker.enabled = true
process.container = 'dylanpilz/freyja-sra:latest'
docker.temp = 'auto'
docker.runOptions = '-u $(id -u):$(id -g)'
}
}
process {
withName:AWS_PREFETCH {
docker.enabled = false
}
withLabel:MINIMAP2 {
cpus = 8
memory = '32 GB'
}
withLabel:MINIMAP2_UNKNOWN_PRIMER {
cpus = 8
memory = '32 GB'
}
}
params {
num_samples = 50
metadata = "$baseDir/data/all_metadata.csv"
// SARS-CoV-2 reference data
ref = "$baseDir/data/NC_045512_Hu-1.fasta"
annot = "$baseDir/data/NC_045512_Hu-1.gff"
// Amplicon schema
bedfiles = "$baseDir/data/bedfiles"
// Directory to save variants/demix/covariants subdirectories
output = "$baseDir/outputs"
// Freyja demix
eps = 0.0001
depthCutoff = 0
// Freyja covariants parameters (S-gene by default)
min_site = 21563
max_site = 25384
}