-
Notifications
You must be signed in to change notification settings - Fork 0
/
nextflow.config
66 lines (57 loc) · 1.52 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
/*
* Pipeline parameters
*/
params {
// Primary input (file of input files, one per line)
reads_bam = null
// Accessory files
reference = null
reference_index = null
reference_dict = null
intervals = null
// Base name for final output file
cohort_name = "my_cohort"
}
docker.fixOwnership = true
profiles {
docker_on {
docker.enabled = true
}
conda_on {
conda.enabled = true
}
my_laptop {
process.executor = 'local'
docker.enabled = true
}
univ_hpc {
process.executor = 'slurm'
conda.enabled = true
process.resourceLimits = [
memory: 750.GB,
cpus: 200,
time: 30.d
]
}
demo {
// Primary input (file of input files, one per line)
params.reads_bam = "${projectDir}/data/sample_bams.txt"
// Accessory files
params.reference = "${projectDir}/data/ref/ref.fasta"
params.reference_index = "${projectDir}/data/ref/ref.fasta.fai"
params.reference_dict = "${projectDir}/data/ref/ref.dict"
params.intervals = "${projectDir}/data/ref/intervals.bed"
// Base name for final output file
params.cohort_name = "family_trio"
params.outdir = "results"
}
}
process {
// defaults for all processes
cpus = 2
memory = 2.GB
// allocations for a specific process
withName: 'GATK_JOINTGENOTYPING' {
cpus = 8
}
}