-
Notifications
You must be signed in to change notification settings - Fork 25
/
bigWig_8h_source.html
433 lines (431 loc) · 94.5 KB
/
bigWig_8h_source.html
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libBigWig: bigWig.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libBigWig
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">bigWig.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="bigWig_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef LIBBIGWIG_H</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define LIBBIGWIG_H</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include "<a class="code" href="bigWigIO_8h.html">bigWigIO.h</a>"</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include "<a class="code" href="bwValues_8h.html">bwValues.h</a>"</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include <inttypes.h></span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include <zlib.h></span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  </div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="bigWig_8h.html#afe870db159b3eed39c32be30ccc73c4e"> 59</a></span> <span class="preprocessor">#define LIBBIGWIG_VERSION 0.4.5</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  </div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor">#ifdef NOCURL</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor">#define LIBBIGWIG_CURL 0</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="preprocessor">#ifndef CURLTYPE_DEFINED</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="preprocessor">#define CURLTYPE_DEFINED</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keyword">typedef</span> <span class="keywordtype">int</span> CURLcode;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> CURL;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="preprocessor">#else</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="bigWig_8h.html#ac2496b5d01c469f90f790b933f31d0d4"> 72</a></span> <span class="preprocessor">#define LIBBIGWIG_CURL 1</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="bigWig_8h.html#abc55570005e3349503ee7f6d5267eb8a"> 78</a></span> <span class="preprocessor">#define BIGWIG_MAGIC 0x888FFC26</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="bigWig_8h.html#a17aeac12ade93f0b26a203be7beacc68"> 82</a></span> <span class="preprocessor">#define BIGBED_MAGIC 0x8789F2EB</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="bigWig_8h.html#a3d7d5829abe177defc549aaddd59e121"> 86</a></span> <span class="preprocessor">#define CIRTREE_MAGIC 0x78ca8c91</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="bigWig_8h.html#a28c6eb6ee75c6082e8df04dba8c7f32e"> 90</a></span> <span class="preprocessor">#define IDX_MAGIC 0x2468ace0</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="bigWig_8h.html#ac0d6303cef22d415a53d150be8f06623"> 94</a></span> <span class="preprocessor">#define DEFAULT_nCHILDREN 64</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="bigWig_8h.html#a46a626f6d8b24b07925d82cde2175864"> 98</a></span> <span class="preprocessor">#define DEFAULT_BLOCKSIZE 32768</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22c"> 103</a></span> <span class="keyword">enum</span> <a class="code" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22c">bwStatsType</a> {</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca3dc84a7fe13f0c3b468dd1fcf456ee3a"> 104</a></span>  <a class="code" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca3dc84a7fe13f0c3b468dd1fcf456ee3a">doesNotExist</a> = -1, </div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca73aa25ce744f80bc0f1c0e991a509638"> 105</a></span>  <a class="code" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca73aa25ce744f80bc0f1c0e991a509638">mean</a> = 0, </div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22cae478d4d7f90177e87ed05369ad732b25"> 106</a></span>  <a class="code" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22cae478d4d7f90177e87ed05369ad732b25">average</a> = 0, </div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22cac7a4dba588d32e11eaa063e51c491387"> 107</a></span>  <a class="code" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22cac7a4dba588d32e11eaa063e51c491387">stdev</a> = 1, </div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22cac10cab3311c9fe30fbabf9137cd40d57"> 108</a></span>  <a class="code" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22cac10cab3311c9fe30fbabf9137cd40d57">dev</a> = 1, </div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca6eba708e9255d1bb06879b30b47422ff"> 109</a></span>  <a class="code" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca6eba708e9255d1bb06879b30b47422ff">max</a> = 2, </div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca1e491e9b59d4f6891eb2929589487dfc"> 110</a></span>  <a class="code" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca1e491e9b59d4f6891eb2929589487dfc">min</a> = 3, </div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22caf866615ac99c2e47027ea68849ef849f"> 111</a></span>  <a class="code" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22caf866615ac99c2e47027ea68849ef849f">cov</a> = 4, </div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca02bbe932c03913324065a5318a16e715"> 112</a></span>  <a class="code" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca02bbe932c03913324065a5318a16e715">coverage</a> = 4, </div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca3693895373771b9806a9775d16d1198b"> 113</a></span>  <a class="code" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca3693895373771b9806a9775d16d1198b">sum</a> = 5 </div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> };</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  </div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="comment">//Should hide this from end users</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="structbwZoomHdr__t.html"> 122</a></span> <span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="structbwZoomHdr__t.html#a7045125541f372d6521700d6fff6d75f"> 123</a></span>  uint32_t *<a class="code" href="structbwZoomHdr__t.html#a7045125541f372d6521700d6fff6d75f">level</a>; </div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="comment">//There's 4 bytes of padding between these</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="structbwZoomHdr__t.html#a49e66d83c3d0c381c647ce281a2ec80b"> 125</a></span>  uint64_t *<a class="code" href="structbwZoomHdr__t.html#a49e66d83c3d0c381c647ce281a2ec80b">dataOffset</a>; </div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="structbwZoomHdr__t.html#a8d7a1c8741ecbecde64f462267f0f116"> 126</a></span>  uint64_t *<a class="code" href="structbwZoomHdr__t.html#a8d7a1c8741ecbecde64f462267f0f116">indexOffset</a>; </div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="structbwZoomHdr__t.html#a8bcd89608bfc17b5432d6ca9b2374d7a"> 127</a></span>  <a class="code" href="structbwRTree__t.html">bwRTree_t</a> **<a class="code" href="structbwZoomHdr__t.html#a8bcd89608bfc17b5432d6ca9b2374d7a">idx</a>; </div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> } <a class="code" href="structbwZoomHdr__t.html">bwZoomHdr_t</a>;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  </div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html"> 135</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#ac0c3543680ec2b5b40015421788981a6"> 136</a></span>  uint16_t <a class="code" href="structbigWigHdr__t.html#ac0c3543680ec2b5b40015421788981a6">version</a>; </div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#ad463547e38f7f36cd5d0c4a732c0b106"> 137</a></span>  uint16_t <a class="code" href="structbigWigHdr__t.html#ad463547e38f7f36cd5d0c4a732c0b106">nLevels</a>; </div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#aac14ee0aaf38f8fc719600f0fb19533f"> 138</a></span>  uint64_t <a class="code" href="structbigWigHdr__t.html#aac14ee0aaf38f8fc719600f0fb19533f">ctOffset</a>; </div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#acd901706ed82b0c0cb8fdb43c231c952"> 139</a></span>  uint64_t <a class="code" href="structbigWigHdr__t.html#acd901706ed82b0c0cb8fdb43c231c952">dataOffset</a>; </div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#a933b1bc6988c30fca67bb392a04b7357"> 140</a></span>  uint64_t <a class="code" href="structbigWigHdr__t.html#a933b1bc6988c30fca67bb392a04b7357">indexOffset</a>; </div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#a837860f01747e54d36362e76611bf35b"> 141</a></span>  uint16_t <a class="code" href="structbigWigHdr__t.html#a837860f01747e54d36362e76611bf35b">fieldCount</a>; </div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#a2751a957742e5f891032d1f96851f68c"> 142</a></span>  uint16_t <a class="code" href="structbigWigHdr__t.html#a2751a957742e5f891032d1f96851f68c">definedFieldCount</a>; </div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#a55105d4e1ad7e7a394e7858ee1693396"> 143</a></span>  uint64_t <a class="code" href="structbigWigHdr__t.html#a55105d4e1ad7e7a394e7858ee1693396">sqlOffset</a>; </div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#ad8a93ded0aa0c125e9b140a9d3f12a2e"> 144</a></span>  uint64_t <a class="code" href="structbigWigHdr__t.html#ad8a93ded0aa0c125e9b140a9d3f12a2e">summaryOffset</a>; </div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#af4b63611a0ec7f7f63fc7218bd35a2c0"> 145</a></span>  uint32_t <a class="code" href="structbigWigHdr__t.html#af4b63611a0ec7f7f63fc7218bd35a2c0">bufSize</a>; </div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#a1e74411481d1ae2ff235cb7e98703e97"> 146</a></span>  uint64_t <a class="code" href="structbigWigHdr__t.html#a1e74411481d1ae2ff235cb7e98703e97">extensionOffset</a>; </div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#a0faf3ffe182eb803cd4f98b6a0a8d69c"> 147</a></span>  <a class="code" href="structbwZoomHdr__t.html">bwZoomHdr_t</a> *<a class="code" href="structbigWigHdr__t.html#a0faf3ffe182eb803cd4f98b6a0a8d69c">zoomHdrs</a>; </div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="comment">//total Summary</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#ad0ab8ed38ed90d9efd36c8e00b45a061"> 149</a></span>  uint64_t <a class="code" href="structbigWigHdr__t.html#ad0ab8ed38ed90d9efd36c8e00b45a061">nBasesCovered</a>; </div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#a67b5de0ad0290fa5b43ef13856a3bc0a"> 150</a></span>  <span class="keywordtype">double</span> <a class="code" href="structbigWigHdr__t.html#a67b5de0ad0290fa5b43ef13856a3bc0a">minVal</a>; </div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#aff0c5d8df557a93e3b50f448992a3f71"> 151</a></span>  <span class="keywordtype">double</span> <a class="code" href="structbigWigHdr__t.html#aff0c5d8df557a93e3b50f448992a3f71">maxVal</a>; </div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#a13a31d3a1bbd59122246d45f4ad2ae8b"> 152</a></span>  <span class="keywordtype">double</span> <a class="code" href="structbigWigHdr__t.html#a13a31d3a1bbd59122246d45f4ad2ae8b">sumData</a>; </div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="structbigWigHdr__t.html#adb494d5a9908962b01c20aa27a5b7b50"> 153</a></span>  <span class="keywordtype">double</span> <a class="code" href="structbigWigHdr__t.html#adb494d5a9908962b01c20aa27a5b7b50">sumSquared</a>; </div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> } <a class="code" href="structbigWigHdr__t.html">bigWigHdr_t</a>;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  </div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="comment">//Should probably replace this with a hash</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="structchromList__t.html"> 160</a></span> <span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="structchromList__t.html#aeebca229e0947ddaeb4a25eedd05857d"> 161</a></span>  int64_t <a class="code" href="structchromList__t.html#aeebca229e0947ddaeb4a25eedd05857d">nKeys</a>; </div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="structchromList__t.html#a97c24c18db597bd796aded85ba84f980"> 162</a></span>  <span class="keywordtype">char</span> **<a class="code" href="structchromList__t.html#a97c24c18db597bd796aded85ba84f980">chrom</a>; </div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="structchromList__t.html#aa2f62f323e30d9b38dab39d8bd509aa9"> 163</a></span>  uint32_t *<a class="code" href="structchromList__t.html#aa2f62f323e30d9b38dab39d8bd509aa9">len</a>; </div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> } <a class="code" href="structchromList__t.html">chromList_t</a>;</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  </div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="comment">//TODO remove from bigWig.h</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>bwLL bwLL;</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="keyword">struct </span>bwLL {</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <a class="code" href="structbwRTreeNode__t.html">bwRTreeNode_t</a> *node;</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keyword">struct </span>bwLL *next;</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> };</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="keyword">typedef</span> <span class="keyword">struct </span>bwZoomBuffer_t bwZoomBuffer_t;</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="keyword">struct </span>bwZoomBuffer_t { <span class="comment">//each individual entry takes 32 bytes</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordtype">void</span> *p;</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  uint32_t l, m;</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keyword">struct </span>bwZoomBuffer_t *next;</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> };</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  </div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html"> 185</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#ae1ca600e3db29278223430e6fea1ce7a"> 186</a></span>  uint64_t <a class="code" href="structbwWriteBuffer__t.html#ae1ca600e3db29278223430e6fea1ce7a">nBlocks</a>; </div>
<div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#a39aa0458ab26dbbc1e0edf47eb7f903d"> 187</a></span>  uint32_t <a class="code" href="structbwWriteBuffer__t.html#a39aa0458ab26dbbc1e0edf47eb7f903d">blockSize</a>; </div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#a0bd332ebac62207317a25ca548099c51"> 188</a></span>  uint64_t <a class="code" href="structbwWriteBuffer__t.html#a0bd332ebac62207317a25ca548099c51">nEntries</a>; </div>
<div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#a395634c6f60756abb87013a11f68b293"> 189</a></span>  uint64_t <a class="code" href="structbwWriteBuffer__t.html#a395634c6f60756abb87013a11f68b293">runningWidthSum</a>; </div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#a1e80409d671ddba8f507c5b7a388d27c"> 190</a></span>  uint32_t <a class="code" href="structbwWriteBuffer__t.html#a1e80409d671ddba8f507c5b7a388d27c">tid</a>; </div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#ab882889bfdaaa12022921a94d1d84c91"> 191</a></span>  uint32_t <a class="code" href="structbwWriteBuffer__t.html#ab882889bfdaaa12022921a94d1d84c91">start</a>; </div>
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#acb9f5c5894ab9bfaf8b80c7d4a161644"> 192</a></span>  uint32_t <a class="code" href="structbwWriteBuffer__t.html#acb9f5c5894ab9bfaf8b80c7d4a161644">end</a>; </div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#a2a8765d6c12d911b92fc0e6546a2e236"> 193</a></span>  uint32_t <a class="code" href="structbwWriteBuffer__t.html#a2a8765d6c12d911b92fc0e6546a2e236">span</a>; </div>
<div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#a87bce47919a2ad1182e7b987dca43ebc"> 194</a></span>  uint32_t <a class="code" href="structbwWriteBuffer__t.html#a87bce47919a2ad1182e7b987dca43ebc">step</a>; </div>
<div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#a1f43dfc468bb4e17524bffda40e24122"> 195</a></span>  uint8_t <a class="code" href="structbwWriteBuffer__t.html#a1f43dfc468bb4e17524bffda40e24122">ltype</a>; </div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#a6fad0d406ef58232faaef3e0b2127cec"> 196</a></span>  uint32_t <a class="code" href="structbwWriteBuffer__t.html#a6fad0d406ef58232faaef3e0b2127cec">l</a>; </div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#adbd1ed0f439084b2b6839ddc5609e793"> 197</a></span>  <span class="keywordtype">void</span> *<a class="code" href="structbwWriteBuffer__t.html#adbd1ed0f439084b2b6839ddc5609e793">p</a>; </div>
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#a2cfb07b3c08323e7d0131cfb9c33786b"> 198</a></span>  bwLL *<a class="code" href="structbwWriteBuffer__t.html#a2cfb07b3c08323e7d0131cfb9c33786b">firstIndexNode</a>; </div>
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#a4c00fb5d95db3f13cae4951bb1e128b1"> 199</a></span>  bwLL *<a class="code" href="structbwWriteBuffer__t.html#a4c00fb5d95db3f13cae4951bb1e128b1">currentIndexNode</a>; </div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#a2aeaadbebbb7aa06d97743ef41bafb4a"> 200</a></span>  bwZoomBuffer_t **<a class="code" href="structbwWriteBuffer__t.html#a2aeaadbebbb7aa06d97743ef41bafb4a">firstZoomBuffer</a>; </div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#a0482ff2c9325a3357920c36be45120e9"> 201</a></span>  bwZoomBuffer_t **<a class="code" href="structbwWriteBuffer__t.html#a0482ff2c9325a3357920c36be45120e9">lastZoomBuffer</a>; </div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#a4f12e5edc4c41f8c6e882016309ce115"> 202</a></span>  uint64_t *<a class="code" href="structbwWriteBuffer__t.html#a4f12e5edc4c41f8c6e882016309ce115">nNodes</a>; </div>
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#a1418d0358e90eea7fda9cd51e90be8e5"> 203</a></span>  uLongf <a class="code" href="structbwWriteBuffer__t.html#a1418d0358e90eea7fda9cd51e90be8e5">compressPsz</a>; </div>
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="structbwWriteBuffer__t.html#afd2828a43db06568f73e3d5d0055b7d5"> 204</a></span>  <span class="keywordtype">void</span> *<a class="code" href="structbwWriteBuffer__t.html#afd2828a43db06568f73e3d5d0055b7d5">compressP</a>; </div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> } <a class="code" href="structbwWriteBuffer__t.html">bwWriteBuffer_t</a>;</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  </div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="structbigWigFile__t.html"> 210</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="structbigWigFile__t.html#abaccab4cf24d79952cdf593baab2c9fb"> 211</a></span>  <a class="code" href="structURL__t.html">URL_t</a> *<a class="code" href="structbigWigFile__t.html#abaccab4cf24d79952cdf593baab2c9fb">URL</a>; </div>
<div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="structbigWigFile__t.html#adfda8de595196dcd66d9594cbd0b30d8"> 212</a></span>  <a class="code" href="structbigWigHdr__t.html">bigWigHdr_t</a> *<a class="code" href="structbigWigFile__t.html#adfda8de595196dcd66d9594cbd0b30d8">hdr</a>; </div>
<div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="structbigWigFile__t.html#ac1afdee9f31c8e69dc2a902ee0605f78"> 213</a></span>  <a class="code" href="structchromList__t.html">chromList_t</a> *<a class="code" href="structbigWigFile__t.html#ac1afdee9f31c8e69dc2a902ee0605f78">cl</a>; </div>
<div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="structbigWigFile__t.html#a448fd3c9fc0cf6f3a0ffa98b1a6d3199"> 214</a></span>  <a class="code" href="structbwRTree__t.html">bwRTree_t</a> *<a class="code" href="structbigWigFile__t.html#a448fd3c9fc0cf6f3a0ffa98b1a6d3199">idx</a>; </div>
<div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="structbigWigFile__t.html#abd73667391749fbfd49c96105f643133"> 215</a></span>  <a class="code" href="structbwWriteBuffer__t.html">bwWriteBuffer_t</a> *<a class="code" href="structbigWigFile__t.html#abd73667391749fbfd49c96105f643133">writeBuffer</a>; </div>
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="structbigWigFile__t.html#a76e415b9a2933c94927c4e137057bd4a"> 216</a></span>  <span class="keywordtype">int</span> <a class="code" href="structbigWigFile__t.html#a76e415b9a2933c94927c4e137057bd4a">isWrite</a>; </div>
<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="structbigWigFile__t.html#a8b025cec8945b0ad1aef06113f17c463"> 217</a></span>  <span class="keywordtype">int</span> <a class="code" href="structbigWigFile__t.html#a8b025cec8945b0ad1aef06113f17c463">type</a>; </div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> } <a class="code" href="structbigWigFile__t.html">bigWigFile_t</a>;</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  </div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="structbwOverlappingIntervals__t.html"> 223</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="structbwOverlappingIntervals__t.html#a944009dda7b8cc2b8279eb70d357a11a"> 224</a></span>  uint32_t <a class="code" href="structbwOverlappingIntervals__t.html#a944009dda7b8cc2b8279eb70d357a11a">l</a>; </div>
<div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="structbwOverlappingIntervals__t.html#a090dfd56a5e7bd7db60f670bc61dd49a"> 225</a></span>  uint32_t <a class="code" href="structbwOverlappingIntervals__t.html#a090dfd56a5e7bd7db60f670bc61dd49a">m</a>; </div>
<div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="structbwOverlappingIntervals__t.html#a45f86481316aaa6c5a31a34f64f81eae"> 226</a></span>  uint32_t *<a class="code" href="structbwOverlappingIntervals__t.html#a45f86481316aaa6c5a31a34f64f81eae">start</a>; </div>
<div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="structbwOverlappingIntervals__t.html#ae6ed446208634e0e00ec5479865e2a25"> 227</a></span>  uint32_t *<a class="code" href="structbwOverlappingIntervals__t.html#ae6ed446208634e0e00ec5479865e2a25">end</a>; </div>
<div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="structbwOverlappingIntervals__t.html#a1945a25b881f5b94ecccaf57bb43291b"> 228</a></span>  <span class="keywordtype">float</span> *<a class="code" href="structbwOverlappingIntervals__t.html#a1945a25b881f5b94ecccaf57bb43291b">value</a>; </div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> } <a class="code" href="structbwOverlappingIntervals__t.html">bwOverlappingIntervals_t</a>;</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  </div>
<div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="structbbOverlappingEntries__t.html"> 234</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="structbbOverlappingEntries__t.html#aede39c0e8b51c6365b493ec0061c1335"> 235</a></span>  uint32_t <a class="code" href="structbbOverlappingEntries__t.html#aede39c0e8b51c6365b493ec0061c1335">l</a>; </div>
<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="structbbOverlappingEntries__t.html#a7bf442cf68923ab4989914ac4a27812c"> 236</a></span>  uint32_t <a class="code" href="structbbOverlappingEntries__t.html#a7bf442cf68923ab4989914ac4a27812c">m</a>; </div>
<div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="structbbOverlappingEntries__t.html#ac39f548d2d8204f8f90bdfb45ab48cdc"> 237</a></span>  uint32_t *<a class="code" href="structbbOverlappingEntries__t.html#ac39f548d2d8204f8f90bdfb45ab48cdc">start</a>; </div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="structbbOverlappingEntries__t.html#ae3ab6113c7cec0992821a370b93ca13c"> 238</a></span>  uint32_t *<a class="code" href="structbbOverlappingEntries__t.html#ae3ab6113c7cec0992821a370b93ca13c">end</a>; </div>
<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="structbbOverlappingEntries__t.html#a96a921d1c94f4ab1426ae169185ca590"> 239</a></span>  <span class="keywordtype">char</span> **<a class="code" href="structbbOverlappingEntries__t.html#a96a921d1c94f4ab1426ae169185ca590">str</a>; </div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> } <a class="code" href="structbbOverlappingEntries__t.html">bbOverlappingEntries_t</a>;</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  </div>
<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="structbwOverlapIterator__t.html"> 246</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="structbwOverlapIterator__t.html#a93633b2c6c6dc1c1f3b26332924e5231"> 247</a></span>  <a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *<a class="code" href="structbwOverlapIterator__t.html#a93633b2c6c6dc1c1f3b26332924e5231">bw</a>; </div>
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="structbwOverlapIterator__t.html#aaa10d193fe93d568d8caeabf33f96521"> 248</a></span>  uint32_t <a class="code" href="structbwOverlapIterator__t.html#aaa10d193fe93d568d8caeabf33f96521">tid</a>; </div>
<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="structbwOverlapIterator__t.html#a9f098ad832e134d457934df3d117e923"> 249</a></span>  uint32_t <a class="code" href="structbwOverlapIterator__t.html#a9f098ad832e134d457934df3d117e923">start</a>; </div>
<div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="structbwOverlapIterator__t.html#ab0f4d0bcb62d2e944a18a4a69e969ab6"> 250</a></span>  uint32_t <a class="code" href="structbwOverlapIterator__t.html#ab0f4d0bcb62d2e944a18a4a69e969ab6">end</a>; </div>
<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="structbwOverlapIterator__t.html#a0c34bec4eecfe96b84e7038b45b0433e"> 251</a></span>  uint64_t <a class="code" href="structbwOverlapIterator__t.html#a0c34bec4eecfe96b84e7038b45b0433e">offset</a>; </div>
<div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="structbwOverlapIterator__t.html#a401ea1885855ff8b4285fc289aa281cf"> 252</a></span>  uint32_t <a class="code" href="structbwOverlapIterator__t.html#a401ea1885855ff8b4285fc289aa281cf">blocksPerIteration</a>; </div>
<div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="structbwOverlapIterator__t.html#a501db43c60eb9079a8484df3f769c9b5"> 253</a></span>  <span class="keywordtype">int</span> <a class="code" href="structbwOverlapIterator__t.html#a501db43c60eb9079a8484df3f769c9b5">withString</a>; </div>
<div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="structbwOverlapIterator__t.html#af2c02ec44c6c5a202874e79d9e2fca40"> 254</a></span>  <span class="keywordtype">void</span> *<a class="code" href="structbwOverlapIterator__t.html#af2c02ec44c6c5a202874e79d9e2fca40">blocks</a>; </div>
<div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="structbwOverlapIterator__t.html#a5e1e6474d26a3e5900e6b91603e0664a"> 255</a></span>  <a class="code" href="structbwOverlappingIntervals__t.html">bwOverlappingIntervals_t</a> *<a class="code" href="structbwOverlapIterator__t.html#a5e1e6474d26a3e5900e6b91603e0664a">intervals</a>; </div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="structbwOverlapIterator__t.html#a43364e3fc0f4752d43a064a3bac801db"> 256</a></span>  <a class="code" href="structbbOverlappingEntries__t.html">bbOverlappingEntries_t</a> *<a class="code" href="structbwOverlapIterator__t.html#a43364e3fc0f4752d43a064a3bac801db">entries</a>; </div>
<div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="structbwOverlapIterator__t.html#a897d7561ba0859a127b5f5713e3ff036"> 257</a></span>  <span class="keywordtype">void</span> *<a class="code" href="structbwOverlapIterator__t.html#a897d7561ba0859a127b5f5713e3ff036">data</a>; </div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> } <a class="code" href="structbwOverlapIterator__t.html">bwOverlapIterator_t</a>;</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  </div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="keywordtype">int</span> <a class="code" href="bigWig_8h.html#a4aa7fa5e6146a2719feb8815c9bccd62">bwInit</a>(<span class="keywordtype">size_t</span> bufSize);</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  </div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="keywordtype">void</span> <a class="code" href="bigWig_8h.html#af1f5d8a9bf0a96034b2ba3f3b3ee679a">bwCleanup</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  </div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <span class="keywordtype">int</span> <a class="code" href="bigWig_8h.html#a83cb23e15fed718ba77576e41865dab9">bwIsBigWig</a>(<span class="keywordtype">char</span> *fname, CURLcode (*callBack)(CURL*));</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  </div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="keywordtype">int</span> <a class="code" href="bigWig_8h.html#a592fb218273e1f18d97448c88588df19">bbIsBigBed</a>(<span class="keywordtype">char</span> *fname, CURLcode (*callBack)(CURL*));</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  </div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *<a class="code" href="bigWig_8h.html#a55e46bf04f13da31a3971044b85c9243">bwOpen</a>(<span class="keywordtype">char</span> *fname, CURLcode (*callBack)(CURL*), <span class="keyword">const</span> <span class="keywordtype">char</span>* mode);</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  </div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> <a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *<a class="code" href="bigWig_8h.html#aa1f2b92d87ce0edc52d75ce8351e03a5">bbOpen</a>(<span class="keywordtype">char</span> *fname, CURLcode (*callBack)(CURL*));</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  </div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="keywordtype">char</span> *<a class="code" href="bigWig_8h.html#a6de19dc3a3e25e1b10a61b941f299862">bbGetSQL</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp);</div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  </div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <span class="keywordtype">void</span> <a class="code" href="bigWig_8h.html#ae9041b92bc3f69533fe6dc1711bbf485">bwClose</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp);</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  </div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="comment">/*******************************************************************************</span></div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span> <span class="comment">*</span></div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span> <span class="comment">* The following are in bwStats.c</span></div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span> <span class="comment">*</span></div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> <span class="comment">*******************************************************************************/</span></div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  </div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span> uint32_t <a class="code" href="bigWig_8h.html#af017214ff795d4d738cf679cd4a55b6c">bwGetTid</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp, <span class="keywordtype">char</span> *chrom);</div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  </div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span> <span class="keywordtype">void</span> <a class="code" href="bigWig_8h.html#a6a3f9298129e7fa061707739a96b36f3">bwDestroyOverlappingIntervals</a>(<a class="code" href="structbwOverlappingIntervals__t.html">bwOverlappingIntervals_t</a> *o);</div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  </div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span> <span class="keywordtype">void</span> <a class="code" href="bigWig_8h.html#a1c53fa1c835b2527afb5028d21111ff4">bbDestroyOverlappingEntries</a>(<a class="code" href="structbbOverlappingEntries__t.html">bbOverlappingEntries_t</a> *o);</div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  </div>
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span> <a class="code" href="structbwOverlappingIntervals__t.html">bwOverlappingIntervals_t</a> *<a class="code" href="bigWig_8h.html#aa1ac8480a8fdf24c53b73970149e359b">bwGetOverlappingIntervals</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp, <span class="keywordtype">char</span> *chrom, uint32_t start, uint32_t end);</div>
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  </div>
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span> <a class="code" href="structbbOverlappingEntries__t.html">bbOverlappingEntries_t</a> *<a class="code" href="bigWig_8h.html#a3ae987bbf528cc193bbbbd7536668e89">bbGetOverlappingEntries</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp, <span class="keywordtype">char</span> *chrom, uint32_t start, uint32_t end, <span class="keywordtype">int</span> withString);</div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  </div>
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span> <a class="code" href="structbwOverlapIterator__t.html">bwOverlapIterator_t</a> *<a class="code" href="bigWig_8h.html#afaeb6115f7056b209eefa9363b409ef5">bwOverlappingIntervalsIterator</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp, <span class="keywordtype">char</span> *chrom, uint32_t start, uint32_t end, uint32_t blocksPerIteration);</div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  </div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span> <a class="code" href="structbwOverlapIterator__t.html">bwOverlapIterator_t</a> *<a class="code" href="bigWig_8h.html#a75c2894f13ba9d6917117c63565e5c42">bbOverlappingEntriesIterator</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp, <span class="keywordtype">char</span> *chrom, uint32_t start, uint32_t end, <span class="keywordtype">int</span> withString, uint32_t blocksPerIteration);</div>
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  </div>
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span> <a class="code" href="structbwOverlapIterator__t.html">bwOverlapIterator_t</a> *<a class="code" href="bigWig_8h.html#a3f15a3f526c2d9ad2f721b791bcdf956">bwIteratorNext</a>(<a class="code" href="structbwOverlapIterator__t.html">bwOverlapIterator_t</a> *iter);</div>
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  </div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span> <span class="keywordtype">void</span> <a class="code" href="bigWig_8h.html#a9b99f0c33d052d278d2e25044ca706e4">bwIteratorDestroy</a>(<a class="code" href="structbwOverlapIterator__t.html">bwOverlapIterator_t</a> *iter);</div>
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  </div>
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span> <a class="code" href="structbwOverlappingIntervals__t.html">bwOverlappingIntervals_t</a> *<a class="code" href="bigWig_8h.html#a29f3a6b4b6861833a35a1199666d2cf9">bwGetValues</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp, <span class="keywordtype">char</span> *chrom, uint32_t start, uint32_t end, <span class="keywordtype">int</span> includeNA);</div>
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  </div>
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span> <span class="keywordtype">double</span> *<a class="code" href="bigWig_8h.html#af06eae8c9d405a03276c56d53e3c4fc4">bwStats</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp, <span class="keywordtype">char</span> *chrom, uint32_t start, uint32_t end, uint32_t nBins, <span class="keyword">enum</span> <a class="code" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22c">bwStatsType</a> type);</div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  </div>
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span> <span class="keywordtype">double</span> *<a class="code" href="bigWig_8h.html#a18f6f370b879f855fee47f9d452ebf4b">bwStatsFromFull</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp, <span class="keywordtype">char</span> *chrom, uint32_t start, uint32_t end, uint32_t nBins, <span class="keyword">enum</span> <a class="code" href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22c">bwStatsType</a> type);</div>
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  </div>
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span> <span class="comment">//Writer functions</span></div>
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  </div>
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span> <span class="keywordtype">int</span> <a class="code" href="bigWig_8h.html#a0dc09da6beabf0c9ea3d0ca447ddff5b">bwCreateHdr</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp, int32_t maxZooms);</div>
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  </div>
<div class="line"><a name="l00497"></a><span class="lineno"> 497</span> <a class="code" href="structchromList__t.html">chromList_t</a> *<a class="code" href="bigWig_8h.html#a121b65a3e554f8ef3f329b5f529de4a2">bwCreateChromList</a>(<span class="keywordtype">char</span> **chroms, uint32_t *lengths, int64_t n);</div>
<div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  </div>
<div class="line"><a name="l00506"></a><span class="lineno"> 506</span> <span class="keywordtype">int</span> <a class="code" href="bigWig_8h.html#af66b538195826aa3bda7e3363cf3f201">bwWriteHdr</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *bw);</div>
<div class="line"><a name="l00507"></a><span class="lineno"> 507</span>  </div>
<div class="line"><a name="l00524"></a><span class="lineno"> 524</span> <span class="keywordtype">int</span> <a class="code" href="bigWig_8h.html#a11d64f7e0f8c9b7d79fe826bb97c5b59">bwAddIntervals</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp, <span class="keywordtype">char</span> **chrom, uint32_t *start, uint32_t *end, <span class="keywordtype">float</span> *values, uint32_t n);</div>
<div class="line"><a name="l00525"></a><span class="lineno"> 525</span>  </div>
<div class="line"><a name="l00538"></a><span class="lineno"> 538</span> <span class="keywordtype">int</span> <a class="code" href="bigWig_8h.html#ab89bcbcd986ba9a16cca29daa9329051">bwAppendIntervals</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp, uint32_t *start, uint32_t *end, <span class="keywordtype">float</span> *values, uint32_t n);</div>
<div class="line"><a name="l00539"></a><span class="lineno"> 539</span>  </div>
<div class="line"><a name="l00556"></a><span class="lineno"> 556</span> <span class="keywordtype">int</span> <a class="code" href="bigWig_8h.html#a633635a8da1bb1e9e5f42b5557f9872a">bwAddIntervalSpans</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp, <span class="keywordtype">char</span> *chrom, uint32_t *start, uint32_t span, <span class="keywordtype">float</span> *values, uint32_t n);</div>
<div class="line"><a name="l00557"></a><span class="lineno"> 557</span>  </div>
<div class="line"><a name="l00569"></a><span class="lineno"> 569</span> <span class="keywordtype">int</span> <a class="code" href="bigWig_8h.html#a96f517b42f51e9c97caf0b99fdca5f70">bwAppendIntervalSpans</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp, uint32_t *start, <span class="keywordtype">float</span> *values, uint32_t n);</div>
<div class="line"><a name="l00570"></a><span class="lineno"> 570</span>  </div>
<div class="line"><a name="l00588"></a><span class="lineno"> 588</span> <span class="keywordtype">int</span> <a class="code" href="bigWig_8h.html#aec467bb957caab80a06c21ff5b4bbfab">bwAddIntervalSpanSteps</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp, <span class="keywordtype">char</span> *chrom, uint32_t start, uint32_t span, uint32_t step, <span class="keywordtype">float</span> *values, uint32_t n);</div>
<div class="line"><a name="l00589"></a><span class="lineno"> 589</span>  </div>
<div class="line"><a name="l00600"></a><span class="lineno"> 600</span> <span class="keywordtype">int</span> <a class="code" href="bigWig_8h.html#ab4a0512c15a6647fc92cb5e3b5bca861">bwAppendIntervalSpanSteps</a>(<a class="code" href="structbigWigFile__t.html">bigWigFile_t</a> *fp, <span class="keywordtype">float</span> *values, uint32_t n);</div>
<div class="line"><a name="l00601"></a><span class="lineno"> 601</span>  </div>
<div class="line"><a name="l00602"></a><span class="lineno"> 602</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00603"></a><span class="lineno"> 603</span> }</div>
<div class="line"><a name="l00604"></a><span class="lineno"> 604</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00605"></a><span class="lineno"> 605</span>  </div>
<div class="line"><a name="l00606"></a><span class="lineno"> 606</span> <span class="preprocessor">#endif // LIBBIGWIG_H</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="astructbigWigHdr__t_html_a67b5de0ad0290fa5b43ef13856a3bc0a"><div class="ttname"><a href="structbigWigHdr__t.html#a67b5de0ad0290fa5b43ef13856a3bc0a">bigWigHdr_t::minVal</a></div><div class="ttdeci">double minVal</div><div class="ttdef"><b>Definition:</b> bigWig.h:150</div></div>
<div class="ttc" id="astructbwRTreeNode__t_html"><div class="ttname"><a href="structbwRTreeNode__t.html">bwRTreeNode_t</a></div><div class="ttdoc">A node within an R-tree holding the index for data.</div><div class="ttdef"><b>Definition:</b> bwValues.h:20</div></div>
<div class="ttc" id="astructbigWigHdr__t_html_aff0c5d8df557a93e3b50f448992a3f71"><div class="ttname"><a href="structbigWigHdr__t.html#aff0c5d8df557a93e3b50f448992a3f71">bigWigHdr_t::maxVal</a></div><div class="ttdeci">double maxVal</div><div class="ttdef"><b>Definition:</b> bigWig.h:151</div></div>
<div class="ttc" id="abigWig_8h_html_aa3e01d7486887aa111417b688bc1a22ca73aa25ce744f80bc0f1c0e991a509638"><div class="ttname"><a href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca73aa25ce744f80bc0f1c0e991a509638">mean</a></div><div class="ttdeci">@ mean</div><div class="ttdef"><b>Definition:</b> bigWig.h:105</div></div>
<div class="ttc" id="abigWig_8h_html_a18f6f370b879f855fee47f9d452ebf4b"><div class="ttname"><a href="bigWig_8h.html#a18f6f370b879f855fee47f9d452ebf4b">bwStatsFromFull</a></div><div class="ttdeci">double * bwStatsFromFull(bigWigFile_t *fp, char *chrom, uint32_t start, uint32_t end, uint32_t nBins, enum bwStatsType type)</div><div class="ttdoc">Determines per-interval bigWig statistics Can determine mean/min/max/coverage/standard deviation of v...</div><div class="ttdef"><b>Definition:</b> bwStats.c:485</div></div>
<div class="ttc" id="abigWig_8h_html_a29f3a6b4b6861833a35a1199666d2cf9"><div class="ttname"><a href="bigWig_8h.html#a29f3a6b4b6861833a35a1199666d2cf9">bwGetValues</a></div><div class="ttdeci">bwOverlappingIntervals_t * bwGetValues(bigWigFile_t *fp, char *chrom, uint32_t start, uint32_t end, int includeNA)</div><div class="ttdoc">Return all per-base bigWig values in a given interval. Given an interval (e.g., chr1:0-100),...</div><div class="ttdef"><b>Definition:</b> bwValues.c:713</div></div>
<div class="ttc" id="astructbigWigFile__t_html_a448fd3c9fc0cf6f3a0ffa98b1a6d3199"><div class="ttname"><a href="structbigWigFile__t.html#a448fd3c9fc0cf6f3a0ffa98b1a6d3199">bigWigFile_t::idx</a></div><div class="ttdeci">bwRTree_t * idx</div><div class="ttdef"><b>Definition:</b> bigWig.h:214</div></div>
<div class="ttc" id="astructbigWigHdr__t_html_ad8a93ded0aa0c125e9b140a9d3f12a2e"><div class="ttname"><a href="structbigWigHdr__t.html#ad8a93ded0aa0c125e9b140a9d3f12a2e">bigWigHdr_t::summaryOffset</a></div><div class="ttdeci">uint64_t summaryOffset</div><div class="ttdef"><b>Definition:</b> bigWig.h:144</div></div>
<div class="ttc" id="abigWig_8h_html_ab4a0512c15a6647fc92cb5e3b5bca861"><div class="ttname"><a href="bigWig_8h.html#ab4a0512c15a6647fc92cb5e3b5bca861">bwAppendIntervalSpanSteps</a></div><div class="ttdeci">int bwAppendIntervalSpanSteps(bigWigFile_t *fp, float *values, uint32_t n)</div><div class="ttdoc">Append to a previous block of fixed-step entries. If you previously used bwAddIntervalSpanSteps(),...</div><div class="ttdef"><b>Definition:</b> bwWrite.c:552</div></div>
<div class="ttc" id="astructbwZoomHdr__t_html_a8bcd89608bfc17b5432d6ca9b2374d7a"><div class="ttname"><a href="structbwZoomHdr__t.html#a8bcd89608bfc17b5432d6ca9b2374d7a">bwZoomHdr_t::idx</a></div><div class="ttdeci">bwRTree_t ** idx</div><div class="ttdef"><b>Definition:</b> bigWig.h:127</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_a0482ff2c9325a3357920c36be45120e9"><div class="ttname"><a href="structbwWriteBuffer__t.html#a0482ff2c9325a3357920c36be45120e9">bwWriteBuffer_t::lastZoomBuffer</a></div><div class="ttdeci">bwZoomBuffer_t ** lastZoomBuffer</div><div class="ttdef"><b>Definition:</b> bigWig.h:201</div></div>
<div class="ttc" id="astructbwOverlapIterator__t_html_aaa10d193fe93d568d8caeabf33f96521"><div class="ttname"><a href="structbwOverlapIterator__t.html#aaa10d193fe93d568d8caeabf33f96521">bwOverlapIterator_t::tid</a></div><div class="ttdeci">uint32_t tid</div><div class="ttdef"><b>Definition:</b> bigWig.h:248</div></div>
<div class="ttc" id="abigWig_8h_html_aa3e01d7486887aa111417b688bc1a22caf866615ac99c2e47027ea68849ef849f"><div class="ttname"><a href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22caf866615ac99c2e47027ea68849ef849f">cov</a></div><div class="ttdeci">@ cov</div><div class="ttdef"><b>Definition:</b> bigWig.h:111</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_acb9f5c5894ab9bfaf8b80c7d4a161644"><div class="ttname"><a href="structbwWriteBuffer__t.html#acb9f5c5894ab9bfaf8b80c7d4a161644">bwWriteBuffer_t::end</a></div><div class="ttdeci">uint32_t end</div><div class="ttdef"><b>Definition:</b> bigWig.h:192</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_ae1ca600e3db29278223430e6fea1ce7a"><div class="ttname"><a href="structbwWriteBuffer__t.html#ae1ca600e3db29278223430e6fea1ce7a">bwWriteBuffer_t::nBlocks</a></div><div class="ttdeci">uint64_t nBlocks</div><div class="ttdef"><b>Definition:</b> bigWig.h:186</div></div>
<div class="ttc" id="astructbwOverlapIterator__t_html_af2c02ec44c6c5a202874e79d9e2fca40"><div class="ttname"><a href="structbwOverlapIterator__t.html#af2c02ec44c6c5a202874e79d9e2fca40">bwOverlapIterator_t::blocks</a></div><div class="ttdeci">void * blocks</div><div class="ttdef"><b>Definition:</b> bigWig.h:254</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_afd2828a43db06568f73e3d5d0055b7d5"><div class="ttname"><a href="structbwWriteBuffer__t.html#afd2828a43db06568f73e3d5d0055b7d5">bwWriteBuffer_t::compressP</a></div><div class="ttdeci">void * compressP</div><div class="ttdef"><b>Definition:</b> bigWig.h:204</div></div>
<div class="ttc" id="abigWig_8h_html_a75c2894f13ba9d6917117c63565e5c42"><div class="ttname"><a href="bigWig_8h.html#a75c2894f13ba9d6917117c63565e5c42">bbOverlappingEntriesIterator</a></div><div class="ttdeci">bwOverlapIterator_t * bbOverlappingEntriesIterator(bigWigFile_t *fp, char *chrom, uint32_t start, uint32_t end, int withString, uint32_t blocksPerIteration)</div><div class="ttdoc">Creates an iterator over entries in a bigBed file Iterators can be traversed with bwIteratorNext() an...</div><div class="ttdef"><b>Definition:</b> bwValues.c:615</div></div>
<div class="ttc" id="astructbigWigHdr__t_html_a837860f01747e54d36362e76611bf35b"><div class="ttname"><a href="structbigWigHdr__t.html#a837860f01747e54d36362e76611bf35b">bigWigHdr_t::fieldCount</a></div><div class="ttdeci">uint16_t fieldCount</div><div class="ttdef"><b>Definition:</b> bigWig.h:141</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_a4c00fb5d95db3f13cae4951bb1e128b1"><div class="ttname"><a href="structbwWriteBuffer__t.html#a4c00fb5d95db3f13cae4951bb1e128b1">bwWriteBuffer_t::currentIndexNode</a></div><div class="ttdeci">bwLL * currentIndexNode</div><div class="ttdef"><b>Definition:</b> bigWig.h:199</div></div>
<div class="ttc" id="astructbbOverlappingEntries__t_html_a96a921d1c94f4ab1426ae169185ca590"><div class="ttname"><a href="structbbOverlappingEntries__t.html#a96a921d1c94f4ab1426ae169185ca590">bbOverlappingEntries_t::str</a></div><div class="ttdeci">char ** str</div><div class="ttdef"><b>Definition:</b> bigWig.h:239</div></div>
<div class="ttc" id="abigWig_8h_html_aa3e01d7486887aa111417b688bc1a22ca6eba708e9255d1bb06879b30b47422ff"><div class="ttname"><a href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca6eba708e9255d1bb06879b30b47422ff">max</a></div><div class="ttdeci">@ max</div><div class="ttdef"><b>Definition:</b> bigWig.h:109</div></div>
<div class="ttc" id="astructbwOverlapIterator__t_html_a5e1e6474d26a3e5900e6b91603e0664a"><div class="ttname"><a href="structbwOverlapIterator__t.html#a5e1e6474d26a3e5900e6b91603e0664a">bwOverlapIterator_t::intervals</a></div><div class="ttdeci">bwOverlappingIntervals_t * intervals</div><div class="ttdef"><b>Definition:</b> bigWig.h:255</div></div>
<div class="ttc" id="astructbbOverlappingEntries__t_html"><div class="ttname"><a href="structbbOverlappingEntries__t.html">bbOverlappingEntries_t</a></div><div class="ttdoc">Holds interval:str associations.</div><div class="ttdef"><b>Definition:</b> bigWig.h:234</div></div>
<div class="ttc" id="astructbigWigHdr__t_html_a0faf3ffe182eb803cd4f98b6a0a8d69c"><div class="ttname"><a href="structbigWigHdr__t.html#a0faf3ffe182eb803cd4f98b6a0a8d69c">bigWigHdr_t::zoomHdrs</a></div><div class="ttdeci">bwZoomHdr_t * zoomHdrs</div><div class="ttdef"><b>Definition:</b> bigWig.h:147</div></div>
<div class="ttc" id="abigWig_8h_html_aa3e01d7486887aa111417b688bc1a22ca3dc84a7fe13f0c3b468dd1fcf456ee3a"><div class="ttname"><a href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca3dc84a7fe13f0c3b468dd1fcf456ee3a">doesNotExist</a></div><div class="ttdeci">@ doesNotExist</div><div class="ttdef"><b>Definition:</b> bigWig.h:104</div></div>
<div class="ttc" id="abigWig_8h_html_aa1ac8480a8fdf24c53b73970149e359b"><div class="ttname"><a href="bigWig_8h.html#aa1ac8480a8fdf24c53b73970149e359b">bwGetOverlappingIntervals</a></div><div class="ttdeci">bwOverlappingIntervals_t * bwGetOverlappingIntervals(bigWigFile_t *fp, char *chrom, uint32_t start, uint32_t end)</div><div class="ttdoc">Return bigWig entries overlapping an interval. Find all bigWig entries overlapping a range and return...</div><div class="ttdef"><b>Definition:</b> bwValues.c:563</div></div>
<div class="ttc" id="astructbwOverlapIterator__t_html_a43364e3fc0f4752d43a064a3bac801db"><div class="ttname"><a href="structbwOverlapIterator__t.html#a43364e3fc0f4752d43a064a3bac801db">bwOverlapIterator_t::entries</a></div><div class="ttdeci">bbOverlappingEntries_t * entries</div><div class="ttdef"><b>Definition:</b> bigWig.h:256</div></div>
<div class="ttc" id="astructbbOverlappingEntries__t_html_a7bf442cf68923ab4989914ac4a27812c"><div class="ttname"><a href="structbbOverlappingEntries__t.html#a7bf442cf68923ab4989914ac4a27812c">bbOverlappingEntries_t::m</a></div><div class="ttdeci">uint32_t m</div><div class="ttdef"><b>Definition:</b> bigWig.h:236</div></div>
<div class="ttc" id="abigWig_8h_html_a83cb23e15fed718ba77576e41865dab9"><div class="ttname"><a href="bigWig_8h.html#a83cb23e15fed718ba77576e41865dab9">bwIsBigWig</a></div><div class="ttdeci">int bwIsBigWig(char *fname, CURLcode(*callBack)(CURL *))</div><div class="ttdoc">Determine if a file is a bigWig file. This function will quickly check either local or remote files t...</div><div class="ttdef"><b>Definition:</b> bwRead.c:302</div></div>
<div class="ttc" id="abigWig_8h_html_aa3e01d7486887aa111417b688bc1a22ca1e491e9b59d4f6891eb2929589487dfc"><div class="ttname"><a href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca1e491e9b59d4f6891eb2929589487dfc">min</a></div><div class="ttdeci">@ min</div><div class="ttdef"><b>Definition:</b> bigWig.h:110</div></div>
<div class="ttc" id="astructbwOverlapIterator__t_html"><div class="ttname"><a href="structbwOverlapIterator__t.html">bwOverlapIterator_t</a></div><div class="ttdoc">A structure to hold iterations One of intervals and entries should be used to access records from big...</div><div class="ttdef"><b>Definition:</b> bigWig.h:246</div></div>
<div class="ttc" id="astructbwRTree__t_html"><div class="ttname"><a href="structbwRTree__t.html">bwRTree_t</a></div><div class="ttdef"><b>Definition:</b> bwValues.h:39</div></div>
<div class="ttc" id="abigWig_8h_html_a3f15a3f526c2d9ad2f721b791bcdf956"><div class="ttname"><a href="bigWig_8h.html#a3f15a3f526c2d9ad2f721b791bcdf956">bwIteratorNext</a></div><div class="ttdeci">bwOverlapIterator_t * bwIteratorNext(bwOverlapIterator_t *iter)</div><div class="ttdoc">Traverses to the entries/intervals in the next group of blocks.</div><div class="ttdef"><b>Definition:</b> bwValues.c:652</div></div>
<div class="ttc" id="astructbbOverlappingEntries__t_html_aede39c0e8b51c6365b493ec0061c1335"><div class="ttname"><a href="structbbOverlappingEntries__t.html#aede39c0e8b51c6365b493ec0061c1335">bbOverlappingEntries_t::l</a></div><div class="ttdeci">uint32_t l</div><div class="ttdef"><b>Definition:</b> bigWig.h:235</div></div>
<div class="ttc" id="abigWig_8h_html_aa3e01d7486887aa111417b688bc1a22cae478d4d7f90177e87ed05369ad732b25"><div class="ttname"><a href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22cae478d4d7f90177e87ed05369ad732b25">average</a></div><div class="ttdeci">@ average</div><div class="ttdef"><b>Definition:</b> bigWig.h:106</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_a1e80409d671ddba8f507c5b7a388d27c"><div class="ttname"><a href="structbwWriteBuffer__t.html#a1e80409d671ddba8f507c5b7a388d27c">bwWriteBuffer_t::tid</a></div><div class="ttdeci">uint32_t tid</div><div class="ttdef"><b>Definition:</b> bigWig.h:190</div></div>
<div class="ttc" id="abigWig_8h_html_a121b65a3e554f8ef3f329b5f529de4a2"><div class="ttname"><a href="bigWig_8h.html#a121b65a3e554f8ef3f329b5f529de4a2">bwCreateChromList</a></div><div class="ttdeci">chromList_t * bwCreateChromList(char **chroms, uint32_t *lengths, int64_t n)</div><div class="ttdoc">Take a list of chromosome names and lengths and return a pointer to a chromList_t This MUST be run be...</div><div class="ttdef"><b>Definition:</b> bwWrite.c:22</div></div>
<div class="ttc" id="astructbigWigHdr__t_html_a13a31d3a1bbd59122246d45f4ad2ae8b"><div class="ttname"><a href="structbigWigHdr__t.html#a13a31d3a1bbd59122246d45f4ad2ae8b">bigWigHdr_t::sumData</a></div><div class="ttdeci">double sumData</div><div class="ttdef"><b>Definition:</b> bigWig.h:152</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_ab882889bfdaaa12022921a94d1d84c91"><div class="ttname"><a href="structbwWriteBuffer__t.html#ab882889bfdaaa12022921a94d1d84c91">bwWriteBuffer_t::start</a></div><div class="ttdeci">uint32_t start</div><div class="ttdef"><b>Definition:</b> bigWig.h:191</div></div>
<div class="ttc" id="astructbigWigHdr__t_html_ad463547e38f7f36cd5d0c4a732c0b106"><div class="ttname"><a href="structbigWigHdr__t.html#ad463547e38f7f36cd5d0c4a732c0b106">bigWigHdr_t::nLevels</a></div><div class="ttdeci">uint16_t nLevels</div><div class="ttdef"><b>Definition:</b> bigWig.h:137</div></div>
<div class="ttc" id="abigWig_8h_html_a4aa7fa5e6146a2719feb8815c9bccd62"><div class="ttname"><a href="bigWig_8h.html#a4aa7fa5e6146a2719feb8815c9bccd62">bwInit</a></div><div class="ttdeci">int bwInit(size_t bufSize)</div><div class="ttdoc">Initializes curl and global variables. This MUST be called before other functions (at least if you wa...</div><div class="ttdef"><b>Definition:</b> bwRead.c:38</div></div>
<div class="ttc" id="astructbigWigHdr__t_html_ad0ab8ed38ed90d9efd36c8e00b45a061"><div class="ttname"><a href="structbigWigHdr__t.html#ad0ab8ed38ed90d9efd36c8e00b45a061">bigWigHdr_t::nBasesCovered</a></div><div class="ttdeci">uint64_t nBasesCovered</div><div class="ttdef"><b>Definition:</b> bigWig.h:149</div></div>
<div class="ttc" id="astructchromList__t_html"><div class="ttname"><a href="structchromList__t.html">chromList_t</a></div><div class="ttdoc">Holds the chromosomes and their lengths.</div><div class="ttdef"><b>Definition:</b> bigWig.h:160</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_a1f43dfc468bb4e17524bffda40e24122"><div class="ttname"><a href="structbwWriteBuffer__t.html#a1f43dfc468bb4e17524bffda40e24122">bwWriteBuffer_t::ltype</a></div><div class="ttdeci">uint8_t ltype</div><div class="ttdef"><b>Definition:</b> bigWig.h:195</div></div>
<div class="ttc" id="abigWig_8h_html_a96f517b42f51e9c97caf0b99fdca5f70"><div class="ttname"><a href="bigWig_8h.html#a96f517b42f51e9c97caf0b99fdca5f70">bwAppendIntervalSpans</a></div><div class="ttdeci">int bwAppendIntervalSpans(bigWigFile_t *fp, uint32_t *start, float *values, uint32_t n)</div><div class="ttdoc">Append to a previous block of variable-step entries. If you previously used bwAddIntervalSpans(),...</div><div class="ttdef"><b>Definition:</b> bwWrite.c:495</div></div>
<div class="ttc" id="astructbbOverlappingEntries__t_html_ae3ab6113c7cec0992821a370b93ca13c"><div class="ttname"><a href="structbbOverlappingEntries__t.html#ae3ab6113c7cec0992821a370b93ca13c">bbOverlappingEntries_t::end</a></div><div class="ttdeci">uint32_t * end</div><div class="ttdef"><b>Definition:</b> bigWig.h:238</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_a6fad0d406ef58232faaef3e0b2127cec"><div class="ttname"><a href="structbwWriteBuffer__t.html#a6fad0d406ef58232faaef3e0b2127cec">bwWriteBuffer_t::l</a></div><div class="ttdeci">uint32_t l</div><div class="ttdef"><b>Definition:</b> bigWig.h:196</div></div>
<div class="ttc" id="abigWig_8h_html_a1c53fa1c835b2527afb5028d21111ff4"><div class="ttname"><a href="bigWig_8h.html#a1c53fa1c835b2527afb5028d21111ff4">bbDestroyOverlappingEntries</a></div><div class="ttdeci">void bbDestroyOverlappingEntries(bbOverlappingEntries_t *o)</div><div class="ttdoc">Frees space allocated by bbGetOverlappingEntries</div><div class="ttdef"><b>Definition:</b> bwValues.c:333</div></div>
<div class="ttc" id="astructbwOverlapIterator__t_html_a897d7561ba0859a127b5f5713e3ff036"><div class="ttname"><a href="structbwOverlapIterator__t.html#a897d7561ba0859a127b5f5713e3ff036">bwOverlapIterator_t::data</a></div><div class="ttdeci">void * data</div><div class="ttdef"><b>Definition:</b> bigWig.h:257</div></div>
<div class="ttc" id="astructbigWigHdr__t_html_acd901706ed82b0c0cb8fdb43c231c952"><div class="ttname"><a href="structbigWigHdr__t.html#acd901706ed82b0c0cb8fdb43c231c952">bigWigHdr_t::dataOffset</a></div><div class="ttdeci">uint64_t dataOffset</div><div class="ttdef"><b>Definition:</b> bigWig.h:139</div></div>
<div class="ttc" id="abigWig_8h_html_a592fb218273e1f18d97448c88588df19"><div class="ttname"><a href="bigWig_8h.html#a592fb218273e1f18d97448c88588df19">bbIsBigBed</a></div><div class="ttdeci">int bbIsBigBed(char *fname, CURLcode(*callBack)(CURL *))</div><div class="ttdoc">Determine is a file is a bigBed file. This function will quickly check either local or remote files t...</div><div class="ttdef"><b>Definition:</b> bwRead.c:332</div></div>
<div class="ttc" id="abigWigIO_8h_html"><div class="ttname"><a href="bigWigIO_8h.html">bigWigIO.h</a></div></div>
<div class="ttc" id="astructbwOverlapIterator__t_html_a93633b2c6c6dc1c1f3b26332924e5231"><div class="ttname"><a href="structbwOverlapIterator__t.html#a93633b2c6c6dc1c1f3b26332924e5231">bwOverlapIterator_t::bw</a></div><div class="ttdeci">bigWigFile_t * bw</div><div class="ttdef"><b>Definition:</b> bigWig.h:247</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_a87bce47919a2ad1182e7b987dca43ebc"><div class="ttname"><a href="structbwWriteBuffer__t.html#a87bce47919a2ad1182e7b987dca43ebc">bwWriteBuffer_t::step</a></div><div class="ttdeci">uint32_t step</div><div class="ttdef"><b>Definition:</b> bigWig.h:194</div></div>
<div class="ttc" id="abigWig_8h_html_a11d64f7e0f8c9b7d79fe826bb97c5b59"><div class="ttname"><a href="bigWig_8h.html#a11d64f7e0f8c9b7d79fe826bb97c5b59">bwAddIntervals</a></div><div class="ttdeci">int bwAddIntervals(bigWigFile_t *fp, char **chrom, uint32_t *start, uint32_t *end, float *values, uint32_t n)</div><div class="ttdoc">Write a new block of bedGraph-like intervals to a bigWig file Adds entries of the form: chromosome st...</div><div class="ttdef"><b>Definition:</b> bwWrite.c:374</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html"><div class="ttname"><a href="structbwWriteBuffer__t.html">bwWriteBuffer_t</a></div><div class="ttdoc">This is only needed for writing bigWig files (and won't be created otherwise) This should be removed ...</div><div class="ttdef"><b>Definition:</b> bigWig.h:185</div></div>
<div class="ttc" id="abigWig_8h_html_aa3e01d7486887aa111417b688bc1a22ca3693895373771b9806a9775d16d1198b"><div class="ttname"><a href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca3693895373771b9806a9775d16d1198b">sum</a></div><div class="ttdeci">@ sum</div><div class="ttdef"><b>Definition:</b> bigWig.h:113</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_a2aeaadbebbb7aa06d97743ef41bafb4a"><div class="ttname"><a href="structbwWriteBuffer__t.html#a2aeaadbebbb7aa06d97743ef41bafb4a">bwWriteBuffer_t::firstZoomBuffer</a></div><div class="ttdeci">bwZoomBuffer_t ** firstZoomBuffer</div><div class="ttdef"><b>Definition:</b> bigWig.h:200</div></div>
<div class="ttc" id="astructbwOverlappingIntervals__t_html"><div class="ttname"><a href="structbwOverlappingIntervals__t.html">bwOverlappingIntervals_t</a></div><div class="ttdoc">Holds interval:value associations.</div><div class="ttdef"><b>Definition:</b> bigWig.h:223</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_a39aa0458ab26dbbc1e0edf47eb7f903d"><div class="ttname"><a href="structbwWriteBuffer__t.html#a39aa0458ab26dbbc1e0edf47eb7f903d">bwWriteBuffer_t::blockSize</a></div><div class="ttdeci">uint32_t blockSize</div><div class="ttdef"><b>Definition:</b> bigWig.h:187</div></div>
<div class="ttc" id="abigWig_8h_html_ab89bcbcd986ba9a16cca29daa9329051"><div class="ttname"><a href="bigWig_8h.html#ab89bcbcd986ba9a16cca29daa9329051">bwAppendIntervals</a></div><div class="ttdeci">int bwAppendIntervals(bigWigFile_t *fp, uint32_t *start, uint32_t *end, float *values, uint32_t n)</div><div class="ttdoc">Append bedGraph-like intervals to a previous block of bedGraph-like intervals in a bigWig file....</div><div class="ttdef"><b>Definition:</b> bwWrite.c:434</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_adbd1ed0f439084b2b6839ddc5609e793"><div class="ttname"><a href="structbwWriteBuffer__t.html#adbd1ed0f439084b2b6839ddc5609e793">bwWriteBuffer_t::p</a></div><div class="ttdeci">void * p</div><div class="ttdef"><b>Definition:</b> bigWig.h:197</div></div>
<div class="ttc" id="astructbigWigHdr__t_html_af4b63611a0ec7f7f63fc7218bd35a2c0"><div class="ttname"><a href="structbigWigHdr__t.html#af4b63611a0ec7f7f63fc7218bd35a2c0">bigWigHdr_t::bufSize</a></div><div class="ttdeci">uint32_t bufSize</div><div class="ttdef"><b>Definition:</b> bigWig.h:145</div></div>
<div class="ttc" id="astructbwOverlappingIntervals__t_html_a1945a25b881f5b94ecccaf57bb43291b"><div class="ttname"><a href="structbwOverlappingIntervals__t.html#a1945a25b881f5b94ecccaf57bb43291b">bwOverlappingIntervals_t::value</a></div><div class="ttdeci">float * value</div><div class="ttdef"><b>Definition:</b> bigWig.h:228</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_a0bd332ebac62207317a25ca548099c51"><div class="ttname"><a href="structbwWriteBuffer__t.html#a0bd332ebac62207317a25ca548099c51">bwWriteBuffer_t::nEntries</a></div><div class="ttdeci">uint64_t nEntries</div><div class="ttdef"><b>Definition:</b> bigWig.h:188</div></div>
<div class="ttc" id="abigWig_8h_html_a55e46bf04f13da31a3971044b85c9243"><div class="ttname"><a href="bigWig_8h.html#a55e46bf04f13da31a3971044b85c9243">bwOpen</a></div><div class="ttdeci">bigWigFile_t * bwOpen(char *fname, CURLcode(*callBack)(CURL *), const char *mode)</div><div class="ttdoc">Opens a local or remote bigWig file. This will open a local or remote bigWig file....</div><div class="ttdef"><b>Definition:</b> bwRead.c:345</div></div>
<div class="ttc" id="abigWig_8h_html_af1f5d8a9bf0a96034b2ba3f3b3ee679a"><div class="ttname"><a href="bigWig_8h.html#af1f5d8a9bf0a96034b2ba3f3b3ee679a">bwCleanup</a></div><div class="ttdeci">void bwCleanup(void)</div><div class="ttdoc">The counterpart to bwInit, this cleans up curl.</div><div class="ttdef"><b>Definition:</b> bwRead.c:52</div></div>
<div class="ttc" id="astructbigWigHdr__t_html_ac0c3543680ec2b5b40015421788981a6"><div class="ttname"><a href="structbigWigHdr__t.html#ac0c3543680ec2b5b40015421788981a6">bigWigHdr_t::version</a></div><div class="ttdeci">uint16_t version</div><div class="ttdef"><b>Definition:</b> bigWig.h:136</div></div>
<div class="ttc" id="astructbigWigHdr__t_html_adb494d5a9908962b01c20aa27a5b7b50"><div class="ttname"><a href="structbigWigHdr__t.html#adb494d5a9908962b01c20aa27a5b7b50">bigWigHdr_t::sumSquared</a></div><div class="ttdeci">double sumSquared</div><div class="ttdef"><b>Definition:</b> bigWig.h:153</div></div>
<div class="ttc" id="astructbwZoomHdr__t_html_a8d7a1c8741ecbecde64f462267f0f116"><div class="ttname"><a href="structbwZoomHdr__t.html#a8d7a1c8741ecbecde64f462267f0f116">bwZoomHdr_t::indexOffset</a></div><div class="ttdeci">uint64_t * indexOffset</div><div class="ttdef"><b>Definition:</b> bigWig.h:126</div></div>
<div class="ttc" id="astructbigWigFile__t_html_abaccab4cf24d79952cdf593baab2c9fb"><div class="ttname"><a href="structbigWigFile__t.html#abaccab4cf24d79952cdf593baab2c9fb">bigWigFile_t::URL</a></div><div class="ttdeci">URL_t * URL</div><div class="ttdef"><b>Definition:</b> bigWig.h:211</div></div>
<div class="ttc" id="astructchromList__t_html_aa2f62f323e30d9b38dab39d8bd509aa9"><div class="ttname"><a href="structchromList__t.html#aa2f62f323e30d9b38dab39d8bd509aa9">chromList_t::len</a></div><div class="ttdeci">uint32_t * len</div><div class="ttdef"><b>Definition:</b> bigWig.h:163</div></div>
<div class="ttc" id="astructbigWigFile__t_html_ac1afdee9f31c8e69dc2a902ee0605f78"><div class="ttname"><a href="structbigWigFile__t.html#ac1afdee9f31c8e69dc2a902ee0605f78">bigWigFile_t::cl</a></div><div class="ttdeci">chromList_t * cl</div><div class="ttdef"><b>Definition:</b> bigWig.h:213</div></div>
<div class="ttc" id="abigWig_8h_html_aa3e01d7486887aa111417b688bc1a22cac7a4dba588d32e11eaa063e51c491387"><div class="ttname"><a href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22cac7a4dba588d32e11eaa063e51c491387">stdev</a></div><div class="ttdeci">@ stdev</div><div class="ttdef"><b>Definition:</b> bigWig.h:107</div></div>
<div class="ttc" id="astructbigWigFile__t_html_adfda8de595196dcd66d9594cbd0b30d8"><div class="ttname"><a href="structbigWigFile__t.html#adfda8de595196dcd66d9594cbd0b30d8">bigWigFile_t::hdr</a></div><div class="ttdeci">bigWigHdr_t * hdr</div><div class="ttdef"><b>Definition:</b> bigWig.h:212</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_a4f12e5edc4c41f8c6e882016309ce115"><div class="ttname"><a href="structbwWriteBuffer__t.html#a4f12e5edc4c41f8c6e882016309ce115">bwWriteBuffer_t::nNodes</a></div><div class="ttdeci">uint64_t * nNodes</div><div class="ttdef"><b>Definition:</b> bigWig.h:202</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_a395634c6f60756abb87013a11f68b293"><div class="ttname"><a href="structbwWriteBuffer__t.html#a395634c6f60756abb87013a11f68b293">bwWriteBuffer_t::runningWidthSum</a></div><div class="ttdeci">uint64_t runningWidthSum</div><div class="ttdef"><b>Definition:</b> bigWig.h:189</div></div>
<div class="ttc" id="abigWig_8h_html_ae9041b92bc3f69533fe6dc1711bbf485"><div class="ttname"><a href="bigWig_8h.html#ae9041b92bc3f69533fe6dc1711bbf485">bwClose</a></div><div class="ttdeci">void bwClose(bigWigFile_t *fp)</div><div class="ttdoc">Closes a bigWigFile_t and frees up allocated memory This closes both bigWig and bigBed files.</div><div class="ttdef"><b>Definition:</b> bwRead.c:289</div></div>
<div class="ttc" id="astructbigWigHdr__t_html_aac14ee0aaf38f8fc719600f0fb19533f"><div class="ttname"><a href="structbigWigHdr__t.html#aac14ee0aaf38f8fc719600f0fb19533f">bigWigHdr_t::ctOffset</a></div><div class="ttdeci">uint64_t ctOffset</div><div class="ttdef"><b>Definition:</b> bigWig.h:138</div></div>
<div class="ttc" id="abigWig_8h_html_aa1f2b92d87ce0edc52d75ce8351e03a5"><div class="ttname"><a href="bigWig_8h.html#aa1f2b92d87ce0edc52d75ce8351e03a5">bbOpen</a></div><div class="ttdeci">bigWigFile_t * bbOpen(char *fname, CURLcode(*callBack)(CURL *))</div><div class="ttdoc">Opens a local or remote bigBed file. This will open a local or remote bigBed file....</div><div class="ttdef"><b>Definition:</b> bwRead.c:397</div></div>
<div class="ttc" id="astructbigWigHdr__t_html_a55105d4e1ad7e7a394e7858ee1693396"><div class="ttname"><a href="structbigWigHdr__t.html#a55105d4e1ad7e7a394e7858ee1693396">bigWigHdr_t::sqlOffset</a></div><div class="ttdeci">uint64_t sqlOffset</div><div class="ttdef"><b>Definition:</b> bigWig.h:143</div></div>
<div class="ttc" id="astructchromList__t_html_aeebca229e0947ddaeb4a25eedd05857d"><div class="ttname"><a href="structchromList__t.html#aeebca229e0947ddaeb4a25eedd05857d">chromList_t::nKeys</a></div><div class="ttdeci">int64_t nKeys</div><div class="ttdef"><b>Definition:</b> bigWig.h:161</div></div>
<div class="ttc" id="abigWig_8h_html_af017214ff795d4d738cf679cd4a55b6c"><div class="ttname"><a href="bigWig_8h.html#af017214ff795d4d738cf679cd4a55b6c">bwGetTid</a></div><div class="ttdeci">uint32_t bwGetTid(bigWigFile_t *fp, char *chrom)</div><div class="ttdoc">Converts between chromosome name and ID.</div><div class="ttdef"><b>Definition:</b> bwValues.c:284</div></div>
<div class="ttc" id="astructbwZoomHdr__t_html"><div class="ttname"><a href="structbwZoomHdr__t.html">bwZoomHdr_t</a></div><div class="ttdoc">BigWig files have multiple "zoom" levels, each of which has its own header. This hold those headers.</div><div class="ttdef"><b>Definition:</b> bigWig.h:122</div></div>
<div class="ttc" id="abigWig_8h_html_af66b538195826aa3bda7e3363cf3f201"><div class="ttname"><a href="bigWig_8h.html#af66b538195826aa3bda7e3363cf3f201">bwWriteHdr</a></div><div class="ttdeci">int bwWriteHdr(bigWigFile_t *bw)</div><div class="ttdoc">Write a the header to a bigWig file. You must have already opened the output file,...</div><div class="ttdef"><b>Definition:</b> bwWrite.c:187</div></div>
<div class="ttc" id="astructbigWigHdr__t_html_a933b1bc6988c30fca67bb392a04b7357"><div class="ttname"><a href="structbigWigHdr__t.html#a933b1bc6988c30fca67bb392a04b7357">bigWigHdr_t::indexOffset</a></div><div class="ttdeci">uint64_t indexOffset</div><div class="ttdef"><b>Definition:</b> bigWig.h:140</div></div>
<div class="ttc" id="abigWig_8h_html_afaeb6115f7056b209eefa9363b409ef5"><div class="ttname"><a href="bigWig_8h.html#afaeb6115f7056b209eefa9363b409ef5">bwOverlappingIntervalsIterator</a></div><div class="ttdeci">bwOverlapIterator_t * bwOverlappingIntervalsIterator(bigWigFile_t *fp, char *chrom, uint32_t start, uint32_t end, uint32_t blocksPerIteration)</div><div class="ttdoc">Creates an iterator over intervals in a bigWig file Iterators can be traversed with bwIteratorNext() ...</div><div class="ttdef"><b>Definition:</b> bwValues.c:587</div></div>
<div class="ttc" id="astructbwOverlappingIntervals__t_html_ae6ed446208634e0e00ec5479865e2a25"><div class="ttname"><a href="structbwOverlappingIntervals__t.html#ae6ed446208634e0e00ec5479865e2a25">bwOverlappingIntervals_t::end</a></div><div class="ttdeci">uint32_t * end</div><div class="ttdef"><b>Definition:</b> bigWig.h:227</div></div>
<div class="ttc" id="astructbigWigFile__t_html_abd73667391749fbfd49c96105f643133"><div class="ttname"><a href="structbigWigFile__t.html#abd73667391749fbfd49c96105f643133">bigWigFile_t::writeBuffer</a></div><div class="ttdeci">bwWriteBuffer_t * writeBuffer</div><div class="ttdef"><b>Definition:</b> bigWig.h:215</div></div>
<div class="ttc" id="astructbigWigHdr__t_html"><div class="ttname"><a href="structbigWigHdr__t.html">bigWigHdr_t</a></div><div class="ttdoc">The header section of a bigWig file.</div><div class="ttdef"><b>Definition:</b> bigWig.h:135</div></div>
<div class="ttc" id="astructURL__t_html"><div class="ttname"><a href="structURL__t.html">URL_t</a></div><div class="ttdoc">This structure holds the file pointers and buffers needed for raw access to local and remote files.</div><div class="ttdef"><b>Definition:</b> bigWigIO.h:38</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_a2cfb07b3c08323e7d0131cfb9c33786b"><div class="ttname"><a href="structbwWriteBuffer__t.html#a2cfb07b3c08323e7d0131cfb9c33786b">bwWriteBuffer_t::firstIndexNode</a></div><div class="ttdeci">bwLL * firstIndexNode</div><div class="ttdef"><b>Definition:</b> bigWig.h:198</div></div>
<div class="ttc" id="astructbwOverlapIterator__t_html_a501db43c60eb9079a8484df3f769c9b5"><div class="ttname"><a href="structbwOverlapIterator__t.html#a501db43c60eb9079a8484df3f769c9b5">bwOverlapIterator_t::withString</a></div><div class="ttdeci">int withString</div><div class="ttdef"><b>Definition:</b> bigWig.h:253</div></div>
<div class="ttc" id="astructbwOverlappingIntervals__t_html_a090dfd56a5e7bd7db60f670bc61dd49a"><div class="ttname"><a href="structbwOverlappingIntervals__t.html#a090dfd56a5e7bd7db60f670bc61dd49a">bwOverlappingIntervals_t::m</a></div><div class="ttdeci">uint32_t m</div><div class="ttdef"><b>Definition:</b> bigWig.h:225</div></div>
<div class="ttc" id="astructbigWigHdr__t_html_a2751a957742e5f891032d1f96851f68c"><div class="ttname"><a href="structbigWigHdr__t.html#a2751a957742e5f891032d1f96851f68c">bigWigHdr_t::definedFieldCount</a></div><div class="ttdeci">uint16_t definedFieldCount</div><div class="ttdef"><b>Definition:</b> bigWig.h:142</div></div>
<div class="ttc" id="astructbwOverlappingIntervals__t_html_a944009dda7b8cc2b8279eb70d357a11a"><div class="ttname"><a href="structbwOverlappingIntervals__t.html#a944009dda7b8cc2b8279eb70d357a11a">bwOverlappingIntervals_t::l</a></div><div class="ttdeci">uint32_t l</div><div class="ttdef"><b>Definition:</b> bigWig.h:224</div></div>
<div class="ttc" id="astructbigWigFile__t_html_a76e415b9a2933c94927c4e137057bd4a"><div class="ttname"><a href="structbigWigFile__t.html#a76e415b9a2933c94927c4e137057bd4a">bigWigFile_t::isWrite</a></div><div class="ttdeci">int isWrite</div><div class="ttdef"><b>Definition:</b> bigWig.h:216</div></div>
<div class="ttc" id="astructbwZoomHdr__t_html_a7045125541f372d6521700d6fff6d75f"><div class="ttname"><a href="structbwZoomHdr__t.html#a7045125541f372d6521700d6fff6d75f">bwZoomHdr_t::level</a></div><div class="ttdeci">uint32_t * level</div><div class="ttdef"><b>Definition:</b> bigWig.h:123</div></div>
<div class="ttc" id="astructbwOverlappingIntervals__t_html_a45f86481316aaa6c5a31a34f64f81eae"><div class="ttname"><a href="structbwOverlappingIntervals__t.html#a45f86481316aaa6c5a31a34f64f81eae">bwOverlappingIntervals_t::start</a></div><div class="ttdeci">uint32_t * start</div><div class="ttdef"><b>Definition:</b> bigWig.h:226</div></div>
<div class="ttc" id="astructbwOverlapIterator__t_html_ab0f4d0bcb62d2e944a18a4a69e969ab6"><div class="ttname"><a href="structbwOverlapIterator__t.html#ab0f4d0bcb62d2e944a18a4a69e969ab6">bwOverlapIterator_t::end</a></div><div class="ttdeci">uint32_t end</div><div class="ttdef"><b>Definition:</b> bigWig.h:250</div></div>
<div class="ttc" id="astructbwOverlapIterator__t_html_a401ea1885855ff8b4285fc289aa281cf"><div class="ttname"><a href="structbwOverlapIterator__t.html#a401ea1885855ff8b4285fc289aa281cf">bwOverlapIterator_t::blocksPerIteration</a></div><div class="ttdeci">uint32_t blocksPerIteration</div><div class="ttdef"><b>Definition:</b> bigWig.h:252</div></div>
<div class="ttc" id="abigWig_8h_html_aec467bb957caab80a06c21ff5b4bbfab"><div class="ttname"><a href="bigWig_8h.html#aec467bb957caab80a06c21ff5b4bbfab">bwAddIntervalSpanSteps</a></div><div class="ttdeci">int bwAddIntervalSpanSteps(bigWigFile_t *fp, char *chrom, uint32_t start, uint32_t span, uint32_t step, float *values, uint32_t n)</div><div class="ttdoc">Add a new block of fixed-step entries to a bigWig file Adds entries for the form value to the file....</div><div class="ttdef"><b>Definition:</b> bwWrite.c:520</div></div>
<div class="ttc" id="abwValues_8h_html"><div class="ttname"><a href="bwValues_8h.html">bwValues.h</a></div></div>
<div class="ttc" id="astructbbOverlappingEntries__t_html_ac39f548d2d8204f8f90bdfb45ab48cdc"><div class="ttname"><a href="structbbOverlappingEntries__t.html#ac39f548d2d8204f8f90bdfb45ab48cdc">bbOverlappingEntries_t::start</a></div><div class="ttdeci">uint32_t * start</div><div class="ttdef"><b>Definition:</b> bigWig.h:237</div></div>
<div class="ttc" id="abigWig_8h_html_a6de19dc3a3e25e1b10a61b941f299862"><div class="ttname"><a href="bigWig_8h.html#a6de19dc3a3e25e1b10a61b941f299862">bbGetSQL</a></div><div class="ttdeci">char * bbGetSQL(bigWigFile_t *fp)</div><div class="ttdoc">Returns a string containing the SQL entry (or NULL). The "auto SQL" field contains the names and valu...</div><div class="ttdef"><b>Definition:</b> bwRead.c:315</div></div>
<div class="ttc" id="abigWig_8h_html_aa3e01d7486887aa111417b688bc1a22ca02bbe932c03913324065a5318a16e715"><div class="ttname"><a href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22ca02bbe932c03913324065a5318a16e715">coverage</a></div><div class="ttdeci">@ coverage</div><div class="ttdef"><b>Definition:</b> bigWig.h:112</div></div>
<div class="ttc" id="abigWig_8h_html_aa3e01d7486887aa111417b688bc1a22cac10cab3311c9fe30fbabf9137cd40d57"><div class="ttname"><a href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22cac10cab3311c9fe30fbabf9137cd40d57">dev</a></div><div class="ttdeci">@ dev</div><div class="ttdef"><b>Definition:</b> bigWig.h:108</div></div>
<div class="ttc" id="abigWig_8h_html_a633635a8da1bb1e9e5f42b5557f9872a"><div class="ttname"><a href="bigWig_8h.html#a633635a8da1bb1e9e5f42b5557f9872a">bwAddIntervalSpans</a></div><div class="ttdeci">int bwAddIntervalSpans(bigWigFile_t *fp, char *chrom, uint32_t *start, uint32_t span, float *values, uint32_t n)</div><div class="ttdoc">Add a new block of variable-step entries to a bigWig file Adds entries for the form chromosome start ...</div><div class="ttdef"><b>Definition:</b> bwWrite.c:462</div></div>
<div class="ttc" id="abigWig_8h_html_a0dc09da6beabf0c9ea3d0ca447ddff5b"><div class="ttname"><a href="bigWig_8h.html#a0dc09da6beabf0c9ea3d0ca447ddff5b">bwCreateHdr</a></div><div class="ttdeci">int bwCreateHdr(bigWigFile_t *fp, int32_t maxZooms)</div><div class="ttdoc">Create a largely empty bigWig header Every bigWig file has a header, this creates the template for on...</div><div class="ttdef"><b>Definition:</b> bwWrite.c:56</div></div>
<div class="ttc" id="abigWig_8h_html_a3ae987bbf528cc193bbbbd7536668e89"><div class="ttname"><a href="bigWig_8h.html#a3ae987bbf528cc193bbbbd7536668e89">bbGetOverlappingEntries</a></div><div class="ttdeci">bbOverlappingEntries_t * bbGetOverlappingEntries(bigWigFile_t *fp, char *chrom, uint32_t start, uint32_t end, int withString)</div><div class="ttdoc">Return bigBed entries overlapping an interval. Find all bigBed entries overlapping a range and return...</div><div class="ttdef"><b>Definition:</b> bwValues.c:575</div></div>
<div class="ttc" id="abigWig_8h_html_a9b99f0c33d052d278d2e25044ca706e4"><div class="ttname"><a href="bigWig_8h.html#a9b99f0c33d052d278d2e25044ca706e4">bwIteratorDestroy</a></div><div class="ttdeci">void bwIteratorDestroy(bwOverlapIterator_t *iter)</div><div class="ttdoc">Destroys a bwOverlapIterator_t.</div><div class="ttdef"><b>Definition:</b> bwValues.c:643</div></div>
<div class="ttc" id="astructbwOverlapIterator__t_html_a9f098ad832e134d457934df3d117e923"><div class="ttname"><a href="structbwOverlapIterator__t.html#a9f098ad832e134d457934df3d117e923">bwOverlapIterator_t::start</a></div><div class="ttdeci">uint32_t start</div><div class="ttdef"><b>Definition:</b> bigWig.h:249</div></div>
<div class="ttc" id="astructbigWigFile__t_html_a8b025cec8945b0ad1aef06113f17c463"><div class="ttname"><a href="structbigWigFile__t.html#a8b025cec8945b0ad1aef06113f17c463">bigWigFile_t::type</a></div><div class="ttdeci">int type</div><div class="ttdef"><b>Definition:</b> bigWig.h:217</div></div>
<div class="ttc" id="astructbigWigFile__t_html"><div class="ttname"><a href="structbigWigFile__t.html">bigWigFile_t</a></div><div class="ttdoc">A structure that holds everything needed to access a bigWig file.</div><div class="ttdef"><b>Definition:</b> bigWig.h:210</div></div>
<div class="ttc" id="astructbwZoomHdr__t_html_a49e66d83c3d0c381c647ce281a2ec80b"><div class="ttname"><a href="structbwZoomHdr__t.html#a49e66d83c3d0c381c647ce281a2ec80b">bwZoomHdr_t::dataOffset</a></div><div class="ttdeci">uint64_t * dataOffset</div><div class="ttdef"><b>Definition:</b> bigWig.h:125</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_a1418d0358e90eea7fda9cd51e90be8e5"><div class="ttname"><a href="structbwWriteBuffer__t.html#a1418d0358e90eea7fda9cd51e90be8e5">bwWriteBuffer_t::compressPsz</a></div><div class="ttdeci">uLongf compressPsz</div><div class="ttdef"><b>Definition:</b> bigWig.h:203</div></div>
<div class="ttc" id="astructbigWigHdr__t_html_a1e74411481d1ae2ff235cb7e98703e97"><div class="ttname"><a href="structbigWigHdr__t.html#a1e74411481d1ae2ff235cb7e98703e97">bigWigHdr_t::extensionOffset</a></div><div class="ttdeci">uint64_t extensionOffset</div><div class="ttdef"><b>Definition:</b> bigWig.h:146</div></div>
<div class="ttc" id="astructchromList__t_html_a97c24c18db597bd796aded85ba84f980"><div class="ttname"><a href="structchromList__t.html#a97c24c18db597bd796aded85ba84f980">chromList_t::chrom</a></div><div class="ttdeci">char ** chrom</div><div class="ttdef"><b>Definition:</b> bigWig.h:162</div></div>
<div class="ttc" id="abigWig_8h_html_af06eae8c9d405a03276c56d53e3c4fc4"><div class="ttname"><a href="bigWig_8h.html#af06eae8c9d405a03276c56d53e3c4fc4">bwStats</a></div><div class="ttdeci">double * bwStats(bigWigFile_t *fp, char *chrom, uint32_t start, uint32_t end, uint32_t nBins, enum bwStatsType type)</div><div class="ttdoc">Determines per-interval bigWig statistics Can determine mean/min/max/coverage/standard deviation of v...</div><div class="ttdef"><b>Definition:</b> bwStats.c:530</div></div>
<div class="ttc" id="astructbwOverlapIterator__t_html_a0c34bec4eecfe96b84e7038b45b0433e"><div class="ttname"><a href="structbwOverlapIterator__t.html#a0c34bec4eecfe96b84e7038b45b0433e">bwOverlapIterator_t::offset</a></div><div class="ttdeci">uint64_t offset</div><div class="ttdef"><b>Definition:</b> bigWig.h:251</div></div>
<div class="ttc" id="astructbwWriteBuffer__t_html_a2a8765d6c12d911b92fc0e6546a2e236"><div class="ttname"><a href="structbwWriteBuffer__t.html#a2a8765d6c12d911b92fc0e6546a2e236">bwWriteBuffer_t::span</a></div><div class="ttdeci">uint32_t span</div><div class="ttdef"><b>Definition:</b> bigWig.h:193</div></div>
<div class="ttc" id="abigWig_8h_html_a6a3f9298129e7fa061707739a96b36f3"><div class="ttname"><a href="bigWig_8h.html#a6a3f9298129e7fa061707739a96b36f3">bwDestroyOverlappingIntervals</a></div><div class="ttdeci">void bwDestroyOverlappingIntervals(bwOverlappingIntervals_t *o)</div><div class="ttdoc">Frees space allocated by bwGetOverlappingIntervals</div><div class="ttdef"><b>Definition:</b> bwValues.c:325</div></div>
<div class="ttc" id="abigWig_8h_html_aa3e01d7486887aa111417b688bc1a22c"><div class="ttname"><a href="bigWig_8h.html#aa3e01d7486887aa111417b688bc1a22c">bwStatsType</a></div><div class="ttdeci">bwStatsType</div><div class="ttdef"><b>Definition:</b> bigWig.h:103</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Nov 8 2020 13:48:36 for libBigWig by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>