-
Notifications
You must be signed in to change notification settings - Fork 0
/
nextflow.config
158 lines (113 loc) · 3.54 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
params {
// WORKFLOW PARAMETERS TO REVIEW AT EACH RUN
// ----------------------------------------
// Sample sheet (feature pending)
samplesheet = "$baseDir/resources/samplesheet.csv"
// file path to (but not including) fastqs
fastq_dir = ""
// file path to fastas, if using previously aligned BAMs
bam_dir = ""
// Run-specific settings. More explanation about these settings in README.md
create_reference_files = true // (true or false)
edge_distance_threshold = 50
unpaired_edge_threshold = 500
depth_threshold = 3
minimum_bridge_read_length = 70
genotype_in_low_ram_mode = false
// Amount of ram to use (format like "8 GB", with quotation marks)
ram = ""
// Run name
run_name = "Baylor_33"
// Animal (mamu or mafa, though mafa is not yet supported)
animal = "mamu"
// Where to place results
results = "$launchDir/results"
// path to resource files
resources = "$baseDir/resources"
// WORKFLOW PARAMETERS THAT SHOULD NOT BE CHANGED
// ----------------------------------------
// reference fasta for MHC baiting
mamu_bait_fasta = "$baseDir/resources/mamu_bait.fasta"
// legacy AVRL genotyping FASTA for mamu and mafa
mamu_legacy_fasta = "$baseDir/resources/mamu/26128_ipd-mhc-mamu-2021-07-09.miseq.RWv4.fasta"
mafa_legacy_fasta = ""
// Two column CSV, where the first column is an ID assigned by
// the sequencing facility, and the second column is your
// preferred animal ID. This file is currently required, but
// both columns may contain the same IDs if no ID changes
// are needed
run_animal_lookup = "$baseDir/resources/baylor_33_mamu_lookup.csv"
// Key for which haplotypes generally correspond with which alleles
haplotype_lookup = "$baseDir/resources/mamu_haplotype_lookup.csv"
// Key for matching AVRL amplicons to IPD reference alleles
ipd_avrl_dict = "$baseDir/mamu_ipd_to_diag_lookup.json"
// Dictionary for matching AVRL amplicons to IPD reference alleles
ipd_num_lookup = "$baseDir/ipd_num_lookup.json"
}
// WHETHER TO GENERATE A REPORT OF RUN STATISTICS
report {
enabled = true
file = "${params.results}/iWES-run-report.html"
}
// WHETHER TO GENERATE A VISUALIZATION OF THE WORKFLOW
dag {
enabled = true
overwrite = true
file = 'iWES-visualization.png'
}
// WHETHER TO REMOVE TEMPORARY FILES AFTER A SUCCESSFUL RUN
cleanup = false
// PROFILE OPTIONS
profiles {
standard {
docker.enabled = true
singularity.enabled = false
conda.enabled = false
process.container = 'dockerreg.chtc.wisc.edu/dhoconno/iwes:28038'
}
chtc {
docker.enabled = false
singularity.enabled = false
conda.enabled = false
}
docker {
docker.enabled = true
singularity.enabled = false
conda.enabled = false
process.container = 'dockerreg.chtc.wisc.edu/dhoconno/iwes:28038'
}
singularity {
singularity.enabled = true
docker.enabled = false
conda.enabled = false
process.container = 'dockerreg.chtc.wisc.edu/dhoconno/iwes:28038'
}
// conda {
//
// conda {
// enabled = true
// // cacheDir = "$baseDir/config/envs"
// // createOptions = "-y -c conda-forge -c bioconda -c r"
// useMamba = true
// }
//
// singularity.enabled = false
// docker.enabled = false
//
// process {
//
// withName:PROCESS_NAME {
// conda = ""
// }
// }
//
// }
}
// MANIFEST
manifest {
homePage = 'https://github.com/dholab/nf-iWES'
mainScript = 'iwes.nf'
defaultBranch = 'main'
description = 'NextFlow Pipeline for genotyping immunological genes from macaque whole exome sequence data'
author = 'David A. Baker & Nicholas R. Minor'
}