-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
819 lines (752 loc) · 46.1 KB
/
index.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
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
<!DOCTYPE html>
<html lang="en">
<head>
<style>
p {
text-align: center;
}
div {
text-align: center;
}
h1 {
text-align: center;
}
svg {
text-align: center;
}
pre {
text-align: center;
}
body {
background-color: mistyrose;
}
.center-block {
display: block;
margin-right: auto;
margin-left: auto;
}
</style>
<script src="https://cdn.jsdelivr.net/npm/danfojs@1.1.2/lib/bundle.min.js"></script>
<script>
const LIZ = [
20, 40, 60, 80, 100, 114, 120, 140, 160, 180, 200, 214, 220, 240, 260,
280, 300, 314, 320, 340, 360, 380, 400, 414, 420, 440, 460, 480, 500,
514, 520, 540, 560, 580, 600,
];
const tagDict = {
DATA1: { tagName: "DATA", tagNum: 1, typeToReturn: "getShort" },
DATA2: { tagName: "DATA", tagNum: 2, typeToReturn: "getShort" },
DATA3: { tagName: "DATA", tagNum: 3, typeToReturn: "getShort" },
DATA4: { tagName: "DATA", tagNum: 4, typeToReturn: "getShort" },
DATA205: { tagName: "DATA", tagNum: 205, typeToReturn: "getShort" },
};
// https://github.com/eamitchell/ab1ToJSON
const DIR_SIZE = 28;
class abiConverter {
constructor(buffer) {
this.buffer = buffer;
this.dirLocation = buffer.getInt32(26);
this.numElements = buffer.getInt32(18);
this.lastEntry = this.dirLocation + this.numElements * DIR_SIZE;
}
getTagName(inOffset) {
var name = "";
for (
var loopOffset = inOffset;
loopOffset < inOffset + 4;
loopOffset++
) {
name += String.fromCharCode(this.buffer.getInt8(loopOffset));
}
return name;
}
getNumber(inOffset, numEntries) {
var retArray = [];
for (var counter = 0; counter < numEntries; counter += 1) {
retArray.push(this.buffer.getInt8(inOffset + counter));
}
return retArray;
}
getShort(inOffset, numEntries) {
var retArray = [];
for (var counter = 0; counter < numEntries; counter += 2) {
retArray.push(this.buffer.getInt16(inOffset + counter));
}
return retArray;
}
getData(inTag) {
let output;
let curElem = this.dirLocation;
while (curElem < this.lastEntry) {
let currTagName = this.getTagName(curElem);
let tagNum = this.buffer.getInt32(curElem + 4);
if (currTagName == inTag.tagName && tagNum === inTag.tagNum) {
let numEntries = this.buffer.getInt32(curElem + 16);
let entryOffset = this.buffer.getInt32(curElem + 20);
output = this[inTag.typeToReturn](entryOffset, numEntries);
break;
}
curElem += DIR_SIZE;
}
return output;
}
}
function parseAbifFile(file) {
return new Promise((resolve, reject) => {
const reader = new window.FileReader();
reader.onload = (event) => {
const arrayBuffer = event.target.result;
resolve(arrayBuffer);
};
reader.onerror = (event) => {
reject(event.target.error);
};
reader.readAsArrayBuffer(file);
});
}
findPeaks = (data, threshold, windowSize) => {
// handle cases where current === after and before
// handle where i < halfWindow
let peaks = [];
const halfWindow = Math.floor(windowSize / 2);
// start from index 1 (no peaks at 0 anyways)
for (let i = 1; i < data.length; i++) {
let current = data[i];
if (current >= threshold) {
let before = data[i - 1];
let after = data[i + 1];
if (current > before && current > after) {
let windowArray = data.slice(i - halfWindow, i + halfWindow);
if (current === Math.max(...windowArray)) {
let pair = [i, current];
peaks.push(pair);
}
}
}
}
return peaks;
};
function returnMaximumAllowedDistanceBetweenSizeStandardPeaks(peaks, multiplier = 2) {
const distances = [];
for (let i = 0; i < peaks.length - 1; i++) {
distances.push(peaks[i + 1] - peaks[i]);
}
const meanDistance = distances.reduce((sum, distance) => sum + distance, 0) / distances.length;
let diff = Math.floor(meanDistance * multiplier);
console.log("diff:", diff)
return diff;
}
function generateCombinations(a, length, distance) {
const memo = {};
function dfs(start, path) {
const key = `${start},${path.length}`;
if (memo[key]) return memo[key];
if (path.length === length) return [[]];
const result = [];
for (let i = start; i < a.length; i++) {
const newPath = path.concat(a[i]);
if (!path.length || Math.abs(a[i] - path[path.length - 1]) <= distance) {
const combos = dfs(i + 1, newPath);
for (const combo of combos) {
result.push([a[i], ...combo]);
}
}
}
memo[key] = result;
return result;
}
return dfs(0, []);
}
function pearson(x, y) {
const promedio = (l) => l.reduce((s, a) => s + a, 0) / l.length;
const calc = (v, prom) =>
Math.sqrt(v.reduce((s, a) => s + a * a, 0) - n * prom * prom);
let n = x.length;
let nn = 0;
for (let i = 0; i < n; i++, nn++) {
if ((!x[i] && x[i] !== 0) || (!y[i] && y[i] !== 0)) {
nn--;
continue;
}
x[nn] = x[i];
y[nn] = y[i];
}
if (n !== nn) {
x = x.splice(0, nn);
y = y.splice(0, nn);
n = nn;
}
const prom_x = promedio(x),
prom_y = promedio(y);
return (
(x
.map((e, i) => ({ x: e, y: y[i] }))
.reduce((v, a) => v + a.x * a.y, 0) -
n * prom_x * prom_y) /
(calc(x, prom_x) * calc(y, prom_y))
);
}
function findBestMatch(combinations, ladder) {
let highScoreMatch;
let pearsonScore = 0;
for (comb of combinations) {
let score = pearson(comb, LIZ);
if (score > pearsonScore) {
pearsonScore = score;
highScoreMatch = comb;
}
}
return highScoreMatch;
}
// Fit basepairs to best model
function polynomialFit(x, y, degree) {
if (x.length !== y.length) {
throw new Error("Input arrays x and y must have the same length.");
}
if (degree < 1) {
throw new Error("Degree of the polynomial must be at least 1.");
}
const n = x.length;
const matrix = [];
// Build the matrix of equation coefficients
for (let i = 0; i < degree + 1; i++) {
matrix[i] = [];
for (let j = 0; j < degree + 1; j++) {
let sum = 0;
for (let k = 0; k < n; k++) {
sum += Math.pow(x[k], i + j);
}
matrix[i][j] = sum;
}
}
const rhs = [];
// Build the right-hand side of the equation
for (let i = 0; i < degree + 1; i++) {
let sum = 0;
for (let j = 0; j < n; j++) {
sum += y[j] * Math.pow(x[j], i);
}
rhs[i] = sum;
}
// Solve the system of equations using Gaussian elimination
for (let i = 0; i < degree + 1; i++) {
let maxRow = i;
for (let j = i + 1; j < degree + 1; j++) {
if (Math.abs(matrix[j][i]) > Math.abs(matrix[maxRow][i])) {
maxRow = j;
}
}
const temp = matrix[i];
matrix[i] = matrix[maxRow];
matrix[maxRow] = temp;
const rhsTemp = rhs[i];
rhs[i] = rhs[maxRow];
rhs[maxRow] = rhsTemp;
for (let j = i + 1; j < degree + 1; j++) {
const factor = matrix[j][i] / matrix[i][i];
for (let k = i; k < degree + 1; k++) {
matrix[j][k] -= factor * matrix[i][k];
}
rhs[j] -= factor * rhs[i];
}
}
const coefficients = [];
// Back substitution
for (let i = degree; i >= 0; i--) {
let sum = 0;
for (let j = i + 1; j < degree + 1; j++) {
sum += matrix[i][j] * coefficients[j];
}
coefficients[i] = (rhs[i] - sum) / matrix[i][i];
}
return coefficients;
}
function predict(coefficients, x) {
const degree = coefficients.length - 1;
let result = 0;
for (let i = 0; i <= degree; i++) {
result += coefficients[i] * Math.pow(x, i);
}
return result;
}
function plotData(converter, tag, divName) {
let data = converter.getData(tagDict[tag]);
const s = new dfd.Series(data);
s.plot(divName).line();
}
function plotAllData(converter, coefs) {
let df = new dfd.DataFrame({
data1: converter.getData(tagDict["DATA1"]),
// "data2": converter.getData(tagDict["DATA2"]),
// "data3": converter.getData(tagDict["DATA3"]),
// "data4": converter.getData(tagDict["DATA4"]),
});
df = df.addColumn(
"time",
[...Array(df.shape[0]).keys()].map((num) => num + 1)
);
df = df.addColumn(
"bp",
df.time.$data.map((x) => predict(coefs, x))
);
df.setIndex({ column: "bp", inplace: true });
df.drop({ columns: ["time", "bp"], inplace: true });
df.plot("allData").line();
}
function findAndMatchLadder(ladder, threshold, windowSize = 10) {
let peaks = findPeaks(
ladder,
(threshold = threshold),
(windowSize = windowSize)
);
let peaksIndices = peaks.map((x) => x[0]);
if (peaksIndices.length < LIZ.length) {
alert(
`Too few peaks found!, Number of peaks: ${peaksIndices.length}`
);
return;
}
console.log("peak_indices", peaksIndices);
let maximumDiffs = returnMaximumAllowedDistanceBetweenSizeStandardPeaks(peaksIndices)
let combinations = generateCombinations(
peaksIndices, LIZ.length, maximumDiffs
)
console.log("number of combinations found:", combinations.length)
let bestMatch = findBestMatch(combinations, LIZ)
console.log("best", bestMatch);
return bestMatch;
}
async function parseFsaFile() {
return new Promise((resolve, reject) => {
let file = document.querySelector("#fsaFile").files[0];
parseAbifFile(file)
.then((buffer) => {
const dataView = new DataView(buffer);
let converter = new abiConverter(dataView);
resolve(converter);
})
.catch((error) => {
console.error("An error occurred while parsing the file:", error);
reject(error);
});
});
}
async function runFraggler() {
// Clear all the children
let div = document.getElementById("allData");
div.replaceChildren();
let converter = await parseFsaFile();
let ladder = converter.getData(tagDict["DATA205"]);
let threshold = document.querySelector("#peakThreshold").value;
const bestMatch = findAndMatchLadder(ladder, (threshold = threshold));
coefs = polynomialFit(bestMatch, LIZ, 5);
// ladder 205
plotData(converter, "DATA205", "data1");
plotData(converter, "DATA2", "data2");
plotData(converter, "DATA3", "data3");
plotData(converter, "DATA1", "data4");
plotAllData(converter, coefs);
}
document.addEventListener("DOMContentLoaded", function () {
document.querySelector("#run").addEventListener("click", () => {
runFraggler();
});
});
</script>
<title>Fraggler.js</title>
</head>
<body>
<div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="83.612579mm"
height="83.612587mm"
viewBox="0 0 83.612581 83.612588"
version="1.1"
id="svg5"
inkscape:version="1.2.2 (b0a84865, 2022-12-01)"
sodipodi:docname="fraggler2.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
>
<sodipodi:namedview
id="namedview7"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="0.5"
inkscape:cx="-483"
inkscape:cy="46"
inkscape:window-width="1800"
inkscape:window-height="1126"
inkscape:window-x="0"
inkscape:window-y="43"
inkscape:window-maximized="0"
inkscape:current-layer="layer1"
/>
<defs id="defs2" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(242.44815,28.496113)"
>
<g
id="g546"
transform="matrix(0.26690185,0,0,0.26690185,-159.94261,11.452499)"
>
<g id="g510">
<g id="g475">
<ellipse
style="
opacity: 0.56;
fill: none;
stroke: #000000;
stroke-width: 0.5334;
stroke-linecap: round;
"
id="path2431"
cx="-160.16466"
cy="6.9601865"
rx="45.715363"
ry="156.36876"
/>
<ellipse
style="
opacity: 0.56;
fill: none;
stroke: #000000;
stroke-width: 0.5334;
stroke-linecap: round;
"
id="path2431-4"
cx="1.8990844"
cy="-152.48769"
rx="45.715363"
ry="156.36876"
transform="matrix(0,1,1,0,0,0)"
/>
<path
sodipodi:type="star"
style="
opacity: 0.56;
fill: #ffcc00;
stroke: #000000;
stroke-width: 0.5334;
stroke-linecap: round;
"
id="path2119"
inkscape:flatsided="true"
sodipodi:sides="5"
sodipodi:cx="-425.81381"
sodipodi:cy="-139.19397"
sodipodi:r1="127.81319"
sodipodi:r2="103.40305"
sodipodi:arg1="0.26179939"
sodipodi:arg2="0.89011792"
inkscape:rounded="0"
inkscape:randomized="0"
d="m -302.35575,-106.11348 -116.76884,94.557533 -126.01311,-81.833873 38.88844,-145.13365 150.0475,-7.86366 z"
inkscape:transform-center-x="0.44990804"
inkscape:transform-center-y="12.642066"
transform="matrix(0.97831765,0.05862852,-0.06267829,1.0458951,248.14314,164.83265)"
/>
<g
aria-label="Fraggler"
transform="matrix(0.81330639,0,0,0.81330639,178.39343,-171.58598)"
id="text523-0"
style="
font-weight: bold;
font-size: 74.9451px;
font-family: 'Liberation Mono for Powerline';
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
white-space: pre;
fill: #000000;
stroke: #000000;
stroke-width: 2.016;
stroke-linecap: round;
"
>
<g id="path1006-7" style="fill: #000000; stroke: #000000">
<path
style="
color: #000000;
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
fill: #000000;
stroke: #000000;
stroke-linecap: butt;
-inkscape-stroke: none;
"
d="m -573.35516,184.45378 v 14.05221 h 22.72505 v 8.34349 h -22.72505 v 18.62649 h -10.79531 v -49.36569 h 34.36203 v 8.3435 z"
id="path1025-3"
/>
<path
style="
color: #000000;
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
fill: #000000;
stroke: #000000;
stroke-linecap: butt;
-inkscape-stroke: none;
"
d="m -585.1582,175.10156 v 51.38281 h 12.81054 v -18.62695 h 22.72461 v -10.35937 h -22.72461 v -12.03711 h 23.56641 v -10.35938 z m 2.01562,2.01758 h 32.34571 v 6.32617 h -23.56641 v 1.00781 15.06055 h 22.72461 v 6.32813 h -22.72461 v 18.62695 h -8.7793 z"
id="path1027-3"
/>
</g>
<g id="path1008-2" style="fill: #000000; stroke: #000000">
<path
style="
color: #000000;
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
fill: #000000;
stroke: #000000;
stroke-linecap: butt;
-inkscape-stroke: none;
"
d="m -505.72892,194.44402 q -4.09856,-0.69529 -7.75799,-0.69529 -5.70871,0 -9.07538,4.31812 -3.33008,4.31813 -3.33008,11.38083 v 16.02829 h -10.2464 v -25.65259 q 0,-2.78117 -0.51232,-6.55038 -0.47573,-3.76921 -1.39058,-7.39204 h 9.91705 q 1.31739,4.75725 1.68334,8.34349 h 0.14637 q 1.82972,-4.97682 4.94023,-7.0261 3.11052,-2.04928 8.08734,-2.04928 3.8058,0 7.53842,0.6221 z"
id="path1031-1"
/>
<path
style="
color: #000000;
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
fill: #000000;
stroke: #000000;
stroke-linecap: butt;
-inkscape-stroke: none;
"
d="m -513.26758,184.14062 c -3.45623,10e-6 -6.36265,0.71474 -8.64258,2.2168 -1.67353,1.10257 -2.96016,2.91573 -4.07617,5.04688 -0.31087,-1.83872 -0.5608,-3.60749 -1.16601,-5.79297 l -0.20508,-0.73828 h -11.97852 l 0.31641,1.2539 c 0.59974,2.37498 1.05701,4.79852 1.36914,7.27149 v 0.006 0.004 c 0.33709,2.48002 0.50391,4.6238 0.50391,6.41602 v 26.66015 h 12.26171 v -17.0371 c 0,-4.547 1.06214,-8.09208 3.11719,-10.75977 l 0.002,-0.002 c 8.5e-4,-0.001 10e-4,-0.003 0.002,-0.004 2.07392,-2.65696 4.72825,-3.92578 8.27734,-3.92578 2.37578,0 4.90429,0.22639 7.58789,0.68164 l 1.17774,0.19922 v -1.19336 -9.52539 l -0.8418,-0.14063 c -2.54321,-0.42386 -5.11296,-0.63672 -7.70508,-0.63672 z m 0,2.01563 c 2.19885,0 4.37079,0.2208 6.53125,0.53906 v 6.65039 c -2.33341,-0.34258 -4.61793,-0.60547 -6.75,-0.60547 -4.05995,0 -7.45678,1.61042 -9.87109,4.70704 l -0.002,0.002 -0.002,0.002 c -2.38234,3.0892 -3.53906,7.12921 -3.53906,11.9961 v 15.02148 h -8.23047 v -24.64453 c 0,-1.91601 -0.17548,-4.14191 -0.52148,-6.6875 -0.2683,-2.12309 -0.70141,-4.19209 -1.17578,-6.24805 h 7.88085 c 0.73668,2.78311 1.28909,5.33234 1.50391,7.4375 l 0.0918,0.90625 h 1.75976 l 0.24219,-0.66015 c 1.17144,-3.18631 2.71238,-5.32136 4.54883,-6.53125 1.86743,-1.23031 4.35368,-1.88477 7.5332,-1.88477 z"
id="path1033-4"
/>
</g>
<g id="path1010-0" style="fill: #000000; stroke: #000000">
<path
style="
color: #000000;
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
fill: #000000;
stroke: #000000;
stroke-linecap: butt;
-inkscape-stroke: none;
"
d="m -484.24807,226.20786 q -5.74531,0 -8.9656,-3.11051 -3.2203,-3.14711 -3.2203,-8.81923 0,-6.14784 3.8058,-9.33154 3.8424,-3.2203 11.45402,-3.33008 l 8.16052,-0.14638 v -2.01268 q 0,-3.76921 -1.2808,-5.70871 -1.2808,-1.9395 -4.13515,-1.9395 -2.67138,0 -3.95218,1.35399 -1.24421,1.31739 -1.53697,4.24494 l -10.72212,-0.51232 q 1.97609,-11.74677 16.6504,-11.74677 7.39205,0 11.30763,3.62284 3.95219,3.62283 3.95219,10.64893 v 14.34496 q 0,3.33008 0.73188,4.61088 0.76848,1.24421 2.52501,1.24421 1.17102,0 2.26884,-0.21957 v 5.56233 q -0.91485,0.21957 -1.64674,0.40254 -0.73188,0.18297 -1.46377,0.29276 -0.73189,0.10978 -1.57355,0.18297 -0.80508,0.0732 -1.90291,0.0732 -3.87899,0 -5.7453,-1.90291 -1.82971,-1.9029 -2.19566,-5.59892 h -0.21956 q -2.30544,4.13515 -5.26958,5.96487 -2.92754,1.82971 -7.0261,1.82971 z m 11.23444,-19.06562 -4.90363,0.0732 q -3.29349,0.0732 -4.79385,0.69529 -1.46378,0.58551 -2.23226,1.93949 -0.76848,1.3174 -0.76848,3.62284 0,5.56233 4.39132,5.56233 3.54965,0 5.92827,-2.78117 2.37863,-2.81776 2.37863,-7.09929 z"
id="path1037-0"
/>
<path
style="
color: #000000;
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
fill: #000000;
stroke: #000000;
stroke-linecap: butt;
-inkscape-stroke: none;
"
d="m -477.99023,184.14062 c -5.02592,0 -9.07706,1.00248 -12.08008,3.1211 -3.00302,2.11861 -4.8719,5.34994 -5.56446,9.4668 l -0.18945,1.11914 12.8125,0.61328 0.0957,-0.95313 c 0.1826,-1.82591 0.66694,-3.01637 1.26758,-3.65234 0.61353,-0.64783 1.60906,-1.03906 3.21875,-1.03906 1.67459,0 2.6308,0.48261 3.29492,1.48828 0.6884,1.04243 1.11329,2.75371 1.11329,5.15234 v 1.02344 l -7.16993,0.1289 c -5.21303,0.0755 -9.27595,1.21106 -12.08398,3.56446 -2.78212,2.32735 -4.16602,5.79696 -4.16602,10.10351 0,3.97217 1.16008,7.23137 3.52344,9.54102 l 0.002,0.002 0.002,0.002 c 2.14392,2.07083 5.13955,3.05127 8.6582,3.23828 v 0.15625 h 1.00781 c 2.8814,0 5.42806,-0.65148 7.5586,-1.98243 1.66927,-1.03122 3.10684,-2.67416 4.43164,-4.62109 0.41052,1.61382 0.99588,3.05947 1.99414,4.09766 l 0.004,0.004 0.004,0.004 c 1.48866,1.51785 3.71402,2.20508 6.46484,2.20508 0.75282,0 1.41317,-0.0258 1.99024,-0.0781 0.57932,-0.0504 1.12328,-0.11273 1.63476,-0.18945 0.52042,-0.0781 1.04,-0.18285 1.5586,-0.3125 0.48409,-0.12102 1.03124,-0.2546 1.63867,-0.40039 l 0.77148,-0.18555 v -7.58594 l -1.20507,0.24024 c -0.6643,0.13286 -1.35459,0.20117 -2.07227,0.20117 -0.92079,0 -1.32095,-0.22768 -1.65039,-0.75 -0.30019,-0.53141 -0.59766,-1.95858 -0.59766,-4.09766 v -14.3457 c 0,-4.87306 -1.40523,-8.75607 -4.27929,-11.39062 -2.84233,-2.62799 -6.89746,-3.88867 -11.98828,-3.88868 z m 0,2.01563 c 4.76335,0 8.24476,1.15499 10.62304,3.35547 l 0.002,0.002 0.002,0.002 c 2.39552,2.19589 3.625,5.40924 3.625,9.9043 v 14.3457 c 0,2.2939 0.19061,3.93073 0.86523,5.11133 l 0.008,0.0156 0.01,0.0137 c 0.69276,1.12161 1.97184,1.72266 3.38086,1.72266 0.4315,0 0.84132,-0.0794 1.26172,-0.1211 v 3.66602 c -0.29627,0.0723 -0.62074,0.14932 -0.88281,0.21484 -0.45725,0.11431 -0.91371,0.20512 -1.36914,0.27344 -0.46437,0.0696 -0.96883,0.12857 -1.51172,0.17578 h -0.002 -0.002 c -0.49557,0.0451 -1.10106,0.0684 -1.81055,0.0684 -2.41887,0 -4.02348,-0.58008 -5.02343,-1.59766 -1.01457,-1.05787 -1.68695,-2.68058 -1.91602,-4.99414 l -0.0898,-0.9082 h -1.72461 l -0.28711,0.51562 c -1.47828,2.65152 -3.13325,4.49478 -4.91992,5.59766 l -0.002,0.002 -0.002,0.002 c -1.77241,1.10775 -3.90982,1.67578 -6.49219,1.67578 -3.64589,0 -6.33059,-0.95912 -8.26172,-2.82227 l -0.002,-0.002 c -6.3e-4,-6.1e-4 -0.001,-0.001 -0.002,-0.002 -1.92783,-1.88622 -2.91211,-4.50745 -2.91211,-8.09571 0,-3.89055 1.15303,-6.63906 3.44531,-8.55664 v -0.002 c 2.31478,-1.94001 5.88557,-3.02258 10.82031,-3.09375 h 0.002 l 9.15234,-0.16406 v -3.00391 c 0,-2.62698 -0.42793,-4.72011 -1.44726,-6.26367 -1.04362,-1.58033 -2.84536,-2.39258 -4.97657,-2.39258 -1.95122,0 -3.5893,0.5131 -4.68359,1.66992 h -0.002 c -0.87747,0.92908 -1.33627,2.29242 -1.60743,3.88867 l -8.54296,-0.4082 c 0.74568,-3.06711 2.10538,-5.45222 4.35742,-7.04101 2.54711,-1.79698 6.16102,-2.75391 10.91797,-2.75391 z m 5.98437,19.96289 -1.02344,0.0156 -4.90625,0.0723 h -0.004 c -2.25484,0.0501 -3.92801,0.26453 -5.15625,0.77344 -1.16183,0.46746 -2.10737,1.28703 -2.72266,2.36914 -0.63822,1.09815 -0.90234,2.4777 -0.90234,4.12305 0,1.98674 0.382,3.6133 1.3164,4.79687 0.9344,1.18358 2.40742,1.77344 4.08399,1.77344 2.62969,0 4.94663,-1.09048 6.69336,-3.13281 l 0.002,-0.004 0.004,-0.002 c 1.74808,-2.07081 2.61523,-4.70899 2.61523,-7.75 z m -2.01562,2.04688 v 0.98828 c 0,2.66699 -0.71794,4.76128 -2.14063,6.44726 -3.7e-4,4.4e-4 3.7e-4,0.002 0,0.002 -1.42383,1.66267 -3.05698,2.42382 -5.1582,2.42382 -1.25097,0 -1.97259,-0.33727 -2.50196,-1.00781 -0.52937,-0.67053 -0.88086,-1.8254 -0.88085,-3.54687 0,-1.42496 0.24748,-2.45803 0.63085,-3.11524 l 0.002,-0.004 0.004,-0.006 c 0.4075,-0.71796 0.94691,-1.18853 1.73047,-1.50196 l 0.006,-0.002 0.006,-0.002 c 0.77077,-0.31959 2.29205,-0.57106 4.42188,-0.61914 z"
id="path1039-8"
/>
</g>
<g id="path1012-7" style="fill: #000000; stroke: #000000">
<path
style="
color: #000000;
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
fill: #000000;
stroke: #000000;
stroke-linecap: butt;
-inkscape-stroke: none;
"
d="m -432.79651,241.3579 q -6.80654,0 -11.08807,-2.81776 -4.28153,-2.81776 -5.26958,-7.83118 l 10.283,-1.20761 q 0.54891,2.37863 2.26884,3.76921 1.71993,1.39058 4.09856,1.39058 3.69603,0 5.59893,-2.67138 1.9029,-2.63479 1.9029,-7.86777 v -2.15907 l 0.0732,-4.20834 h -0.0732 q -3.40327,7.28226 -12.00292,7.28226 -6.55038,0 -10.17322,-5.0866 -3.62283,-5.1232 -3.62283,-14.60112 0,-9.58771 3.76921,-14.82069 3.76921,-5.26958 10.79532,-5.26958 3.8424,0 6.73334,1.79312 2.89095,1.75653 4.5011,5.19639 h 0.18297 q 0,-1.2808 0.14638,-3.47645 0.18297,-2.19566 0.36594,-2.89095 h 9.73408 q -0.21956,3.95218 -0.21956,9.14857 v 29.23883 q 0,8.30691 -4.68407,12.69822 -4.64748,4.39132 -13.32032,4.39132 z m 7.86777,-36.22835 q 0,-6.00146 -2.04928,-9.40473 -2.04928,-3.40327 -5.59893,-3.40327 -3.65942,0 -5.59892,3.33008 -1.90291,3.29349 -1.90291,9.69749 0,6.3674 1.9761,9.47792 1.97609,3.07392 5.45255,3.07392 3.73261,0 5.7087,-3.43987 2.01269,-3.43986 2.01269,-9.33154 z"
id="path1043-3"
/>
<path
style="
color: #000000;
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
fill: #000000;
stroke: #000000;
stroke-linecap: butt;
-inkscape-stroke: none;
"
d="m -436.23633,184.25 c -4.93607,0 -8.93001,1.9373 -11.61523,5.69141 -2.6824,3.72538 -3.95703,8.88554 -3.95703,15.4082 0,6.44704 1.22223,11.52888 3.80664,15.18359 H -448 v 0.002 c 2.58176,3.62488 6.36826,5.50976 10.99609,5.50976 4.70512,0 8.43567,-1.71111 11.00782,-4.89648 l -0.0137,0.80664 v 2.16601 c 0,3.36647 -0.62974,5.77955 -1.71289,7.2793 l -0.002,0.002 -0.002,0.002 c -1.08968,1.52973 -2.55618,2.24804 -4.77735,2.24804 -1.38932,0 -2.49489,-0.3818 -3.46484,-1.16601 -0.96888,-0.78335 -1.59617,-1.80801 -1.91992,-3.21094 l -0.20313,-0.88086 -12.26172,1.43945 0.21094,1.07032 c 0.70518,3.57813 2.6492,6.46866 5.70313,8.47851 3.05925,2.01336 6.96579,2.98242 11.64258,2.98242 5.95015,0 10.68409,-1.52354 14.00976,-4.66406 3.35408,-3.14444 5.00391,-7.7062 5.00391,-13.43359 V 195.0293 c 0,-3.45006 0.0718,-6.48145 0.21679,-9.0918 l 0.0586,-1.06445 h -11.57617 l -0.19727,0.75195 c -0.16739,0.6361 -0.27293,1.57979 -0.39648,3.0625 v 0.01 0.008 c -0.0166,0.24911 -0.0115,0.36565 -0.0254,0.59765 -0.93343,-1.23413 -1.98567,-2.32532 -3.2754,-3.10937 -2.09612,-1.29868 -4.54167,-1.94336 -7.25781,-1.94336 z m 0,2.01758 c 2.4048,0 4.44388,0.55065 6.20117,1.64062 l 0.004,0.002 0.004,0.004 c 1.74872,1.06252 3.11012,2.61861 4.11328,4.76172 l 0.27148,0.58008 h 1.83203 v -1.00781 c 0,-0.81547 0.0478,-1.95742 0.14453,-3.40821 0.0866,-1.03304 0.16488,-1.48044 0.24024,-1.95117 h 7.82226 c -0.11545,2.43513 -0.19726,5.06441 -0.19726,8.14063 v 29.23828 c 0,5.34847 -1.47389,9.25226 -4.36524,11.96289 l -0.002,0.002 v 0.002 c -2.8708,2.71258 -7.01714,4.11524 -12.6289,4.11524 -4.3986,0 -7.88376,-0.90869 -10.53321,-2.65234 -2.3165,-1.52454 -3.66551,-3.59789 -4.41406,-6.13868 l 8.23437,-0.96679 c 0.47402,1.36768 1.18494,2.58282 2.27344,3.46289 1.32329,1.06989 2.95024,1.61523 4.73242,1.61523 2.70583,0 4.97038,-1.06317 6.41797,-3.09375 1.45236,-2.0131 2.0918,-4.84623 2.0918,-8.45508 v -2.14843 l 0.0918,-5.22657 h -1.74024 l -0.27344,0.58203 c -2.13096,4.55981 -5.63932,6.70118 -11.08789,6.70118 -4.10443,0 -7.10316,-1.50539 -9.35156,-4.66016 l -0.002,-0.004 c -2.24447,-3.17612 -3.43555,-7.82766 -3.43555,-14.01562 0,-6.25971 1.23791,-10.98067 3.58008,-14.23242 v -0.002 h 0.002 c 2.34039,-3.27199 5.54254,-4.84765 9.97461,-4.84765 z m 3.66016,5.04687 c -2.74537,0 -5.03895,1.37179 -6.4707,3.83008 v 0.002 h -0.002 c -1.41019,2.44071 -2.03711,5.83396 -2.03711,10.20313 0,4.3492 0.64848,7.68113 2.13282,10.01758 l 0.002,0.002 v 0.004 c 1.46279,2.27545 3.68605,3.53515 6.30078,3.53515 2.79714,0 5.12604,-1.41396 6.58008,-3.94336 1.46645,-2.50911 2.15039,-5.79606 2.15039,-9.83593 0,-4.1157 -0.69406,-7.43067 -2.19531,-9.92383 -1.49886,-2.48918 -3.77237,-3.89063 -6.46094,-3.89063 z m 0,2.01563 c 2.04429,0 3.50086,0.86555 4.73437,2.91406 1.23112,2.04453 1.9043,4.99853 1.9043,8.88477 0,3.813 -0.65794,6.74553 -1.87305,8.82226 l -0.002,0.004 -0.004,0.004 c -1.18084,2.05555 -2.65522,2.9336 -4.83398,2.9336 -2.02054,0 -3.43152,-0.78823 -4.60352,-2.61133 -1.14876,-1.81134 -1.8164,-4.79432 -1.8164,-8.93164 0,-4.16819 0.63925,-7.2407 1.76562,-9.19141 l 0.002,-0.002 c 1.15396,-1.97981 2.59371,-2.82617 4.72656,-2.82617 z"
id="path1045-8"
/>
</g>
<g id="path1014-4" style="fill: #000000; stroke: #000000">
<path
style="
color: #000000;
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
fill: #000000;
stroke: #000000;
stroke-linecap: butt;
-inkscape-stroke: none;
"
d="m -387.82213,241.3579 q -6.80654,0 -11.08807,-2.81776 -4.28153,-2.81776 -5.26958,-7.83118 l 10.283,-1.20761 q 0.54891,2.37863 2.26884,3.76921 1.71993,1.39058 4.09856,1.39058 3.69603,0 5.59893,-2.67138 1.9029,-2.63479 1.9029,-7.86777 v -2.15907 l 0.0732,-4.20834 h -0.0732 q -3.40327,7.28226 -12.00292,7.28226 -6.55038,0 -10.17322,-5.0866 -3.62283,-5.1232 -3.62283,-14.60112 0,-9.58771 3.76921,-14.82069 3.76921,-5.26958 10.79532,-5.26958 3.8424,0 6.73334,1.79312 2.89095,1.75653 4.5011,5.19639 h 0.18297 q 0,-1.2808 0.14638,-3.47645 0.18297,-2.19566 0.36594,-2.89095 h 9.73408 q -0.21956,3.95218 -0.21956,9.14857 v 29.23883 q 0,8.30691 -4.68407,12.69822 -4.64748,4.39132 -13.32032,4.39132 z m 7.86777,-36.22835 q 0,-6.00146 -2.04928,-9.40473 -2.04928,-3.40327 -5.59893,-3.40327 -3.65942,0 -5.59892,3.33008 -1.9029,3.29349 -1.9029,9.69749 0,6.3674 1.97609,9.47792 1.97609,3.07392 5.45255,3.07392 3.73261,0 5.7087,-3.43987 2.01269,-3.43986 2.01269,-9.33154 z"
id="path1049-5"
/>
<path
style="
color: #000000;
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
fill: #000000;
stroke: #000000;
stroke-linecap: butt;
-inkscape-stroke: none;
"
d="m -391.26172,184.25 c -4.93607,0 -8.93001,1.9373 -11.61523,5.69141 -2.6824,3.72538 -3.95703,8.88554 -3.95703,15.4082 0,6.44704 1.22223,11.52888 3.80664,15.18359 h 0.002 v 0.002 c 2.58176,3.62488 6.36631,5.50976 10.99414,5.50976 4.70578,0 8.43759,-1.71219 11.00977,-4.89844 l -0.0137,0.8086 v 2.16601 c 0,3.36647 -0.62974,5.77955 -1.71289,7.2793 l -0.002,0.002 -0.002,0.002 c -1.08968,1.52973 -2.55618,2.24804 -4.77735,2.24804 -1.38932,0 -2.49489,-0.3818 -3.46484,-1.16601 -0.96888,-0.78335 -1.59617,-1.80801 -1.91992,-3.21094 l -0.20313,-0.88086 -12.26172,1.43945 0.21094,1.07032 c 0.70518,3.57813 2.6492,6.46866 5.70313,8.47851 3.05925,2.01336 6.96579,2.98242 11.64257,2.98242 5.95016,0 10.6841,-1.52354 14.00977,-4.66406 3.35408,-3.14444 5.00195,-7.7062 5.00195,-13.43359 V 195.0293 c 0,-3.45006 0.0737,-6.48145 0.21875,-9.0918 l 0.0586,-1.06445 h -11.57617 l -0.19727,0.75195 c -0.16739,0.6361 -0.27293,1.57979 -0.39648,3.0625 v 0.01 0.008 c -0.0166,0.24911 -0.0115,0.36565 -0.0254,0.59765 -0.93342,-1.23413 -1.98566,-2.32532 -3.27539,-3.10937 -2.09612,-1.29868 -4.54167,-1.94336 -7.25781,-1.94336 z m 0,2.01758 c 2.4048,0 4.44387,0.55065 6.20117,1.64062 l 0.004,0.002 0.004,0.004 c 1.74872,1.06252 3.10816,2.61861 4.11132,4.76172 l 0.27344,0.58008 h 1.83203 v -1.00781 c 0,-0.81174 0.0467,-1.95124 0.14258,-3.39258 0.0871,-1.04517 0.16622,-1.4923 0.24219,-1.9668 h 7.82031 c -0.11545,2.43512 -0.19531,5.06441 -0.19531,8.14063 v 29.23828 c 0,5.34847 -1.47389,9.25226 -4.36524,11.96289 l -0.002,0.002 v 0.002 c -2.87081,2.71258 -7.01714,4.11524 -12.62891,4.11524 -4.39859,0 -7.88375,-0.90869 -10.5332,-2.65234 -2.3165,-1.52454 -3.66551,-3.59789 -4.41406,-6.13868 l 8.23437,-0.96679 c 0.47402,1.36768 1.18494,2.58282 2.27344,3.46289 1.32329,1.06989 2.95024,1.61523 4.73242,1.61523 2.70583,0 4.97038,-1.06317 6.41797,-3.09375 1.45236,-2.0131 2.0918,-4.84623 2.0918,-8.45508 v -2.14843 l 0.0918,-5.22657 h -1.74219 l -0.27149,0.58203 c -2.13096,4.55981 -5.64127,6.70118 -11.08984,6.70118 -4.10443,0 -7.10121,-1.50539 -9.34961,-4.66016 l -0.002,-0.004 c -2.24447,-3.17612 -3.43555,-7.82766 -3.43555,-14.01562 0,-6.25971 1.23595,-10.98067 3.57813,-14.23242 l 0.002,-0.002 c 2.34038,-3.27199 5.54449,-4.84765 9.97656,-4.84765 z m 3.6582,5.04687 c -2.74537,0 -5.03699,1.37179 -6.46875,3.83008 l -0.002,0.002 c -1.41018,2.44071 -2.03906,5.83396 -2.03906,10.20313 0,4.3492 0.65044,7.68113 2.13476,10.01758 v 0.002 l 0.002,0.004 c 1.46279,2.27545 3.68605,3.53515 6.30078,3.53515 2.79714,0 5.12604,-1.41396 6.58008,-3.94336 1.46645,-2.50911 2.14843,-5.79606 2.14843,-9.83593 0,-4.1157 -0.6921,-7.43067 -2.19335,-9.92383 -1.49886,-2.48918 -3.77432,-3.89063 -6.4629,-3.89063 z m 0,2.01563 c 2.04429,0 3.50282,0.86555 4.73633,2.91406 1.23112,2.04453 1.9043,4.99853 1.9043,8.88477 0,3.813 -0.65989,6.74553 -1.875,8.82226 l -0.002,0.004 -0.002,0.004 c -1.18084,2.05555 -2.65523,2.9336 -4.83398,2.9336 -2.01806,0 -3.43042,-0.78715 -4.60156,-2.60547 l -0.002,-0.004 c -1.14926,-1.81121 -1.8164,-4.79528 -1.8164,-8.93359 0,-4.16819 0.63926,-7.2407 1.76562,-9.19141 l 0.002,-0.002 c 1.15396,-1.97981 2.59176,-2.82617 4.7246,-2.82617 z"
id="path1051-2"
/>
</g>
<g id="path1016-9" style="fill: #000000; stroke: #000000">
<path
style="
color: #000000;
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
fill: #000000;
stroke: #000000;
stroke-linecap: butt;
-inkscape-stroke: none;
"
d="m -336.33397,218.52306 h 12.91779 v 6.95291 h -37.65553 v -6.95291 h 14.45475 v -40.40009 h -10.61235 v -6.95292 h 20.89534 z"
id="path1055-0"
/>
<path
style="
color: #000000;
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
fill: #000000;
stroke: #000000;
stroke-linecap: butt;
-inkscape-stroke: none;
"
d="m -358.23828,170.16211 v 8.96875 h 10.61328 v 38.38476 h -14.45508 v 8.96875 h 39.67188 v -8.96875 h -12.91797 v -47.35351 z m 2.01758,2.01562 h 18.8789 v 47.35352 h 1.00782 11.91015 v 4.9375 h -35.64062 v -4.9375 h 14.45508 v -42.41602 h -10.61133 z"
id="path1057-9"
/>
</g>
<g id="path1018-8" style="fill: #000000; stroke: #000000">
<path
style="
color: #000000;
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
fill: #000000;
stroke: #000000;
stroke-linecap: butt;
-inkscape-stroke: none;
"
d="m -297.50744,226.20786 q -9.22176,0 -14.23518,-5.41595 -5.01342,-5.45255 -5.01342,-15.29642 0,-6.58697 2.34204,-11.12466 2.37863,-4.53769 6.73335,-6.87972 4.35472,-2.34204 10.31958,-2.34204 8.67285,0 13.4667,5.7819 4.79385,5.7819 4.79385,16.43083 v 0.29276 h -26.8602 q 0,5.37936 2.37863,8.52647 2.41522,3.1471 6.58697,3.1471 2.70797,0 4.79385,-1.13442 2.08587,-1.17102 2.81776,-3.58624 l 9.69748,0.84167 q -2.01268,5.15979 -6.69675,7.97755 -4.68407,2.78117 -11.12466,2.78117 z m 0,-34.5816 q -3.76921,0 -6.00147,2.5616 -2.23225,2.52501 -2.37862,7.0261 h 16.83337 q -0.25616,-4.39131 -2.52501,-6.98951 -2.23225,-2.59819 -5.92827,-2.59819 z"
id="path1061-0"
/>
<path
style="
color: #000000;
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
fill: #000000;
stroke: #000000;
stroke-linecap: butt;
-inkscape-stroke: none;
"
d="m -297.36133,184.14062 c -4.10849,10e-6 -7.72464,0.8106 -10.79687,2.4629 -3.07489,1.65371 -5.47836,4.11283 -7.14844,7.29882 l -0.002,0.004 -0.002,0.002 c -1.65253,3.20177 -2.45312,7.07712 -2.45312,11.58789 0,6.7337 1.73245,12.12101 5.2793,15.97852 l 0.002,0.002 c 3.55157,3.83673 8.62944,5.74024 14.97461,5.74024 4.43881,0 8.34352,-0.96618 11.64062,-2.92383 l 0.002,-0.002 h 0.002 c 3.30095,-1.98573 5.70177,-4.84599 7.11719,-8.47461 l 0.48828,-1.25586 -11.85352,-1.02735 -0.23633,0.78125 c -0.42348,1.3975 -1.16951,2.33766 -2.34375,2.99805 -1.228,0.66612 -2.64352,1.00781 -4.30468,1.00781 -2.52448,0 -4.34263,-0.87728 -5.78125,-2.74804 v -0.002 c -1.26122,-1.66935 -1.90481,-4.01575 -2.05274,-6.9082 h 26.73828 v -1.30078 c 0,-7.25054 -1.63737,-12.98555 -5.02734,-17.07422 -3.38653,-4.08452 -8.23629,-6.14649 -14.24219,-6.14649 z m 0,2.01563 c 5.5579,0 9.68615,1.7933 12.69141,5.41797 2.89208,3.48816 4.40784,8.49989 4.51758,15.07226 h -26.81641 v 1.00782 c 0,3.7348 0.8297,6.8163 2.58203,9.13476 l 0.002,0.002 0.004,0.004 c 1.7808,2.32044 4.35013,3.54102 7.38477,3.54102 1.94606,0 3.72592,-0.41211 5.27734,-1.25586 l 0.006,-0.004 0.006,-0.004 c 1.35139,-0.75868 2.27768,-1.97276 2.89453,-3.4043 l 7.4668,0.64844 c -1.28342,2.59068 -3.03521,4.72929 -5.55664,6.24609 -2.94725,1.74853 -6.45928,2.63672 -10.60547,2.63672 -5.9505,0 -10.36116,-1.70727 -13.49414,-5.0918 -3.13651,-3.41242 -4.7461,-8.22112 -4.7461,-14.61133 0,-4.27184 0.76028,-7.81363 2.23047,-10.66211 1.50123,-2.86169 3.58467,-4.98696 6.31446,-6.45507 2.73405,-1.47042 5.99715,-2.22266 9.84179,-2.22266 z m -0.14648,4.46289 c -2.73811,0 -5.08344,0.985 -6.75586,2.90039 -5.8e-4,6.6e-4 -0.001,0.001 -0.002,0.002 -1.67664,1.89766 -2.52616,4.50028 -2.62891,7.66016 l -0.0352,1.04102 h 18.94336 l -0.0625,-1.06836 c -0.17995,-3.08487 -1.0844,-5.65684 -2.76562,-7.58594 l -0.002,-0.002 c -1.66723,-1.9393 -3.99219,-2.94727 -6.6914,-2.94727 z m 0,2.01563 c 2.22781,0 3.8551,0.72254 5.16406,2.24609 l 0.002,0.004 0.004,0.002 c 1.14413,1.31021 1.78385,3.12385 2.07422,5.31836 h -14.44531 c 0.23321,-2.26126 0.83877,-4.0869 1.95507,-5.34961 l 0.002,-0.002 0.004,-0.004 c 1.30356,-1.49588 2.95578,-2.21484 5.24024,-2.21484 z"
id="path1063-5"
/>
</g>
<g id="path1020-3" style="fill: #000000; stroke: #000000">
<path
style="
color: #000000;
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
fill: #000000;
stroke: #000000;
stroke-linecap: butt;
-inkscape-stroke: none;
"
d="m -235.88265,194.44402 q -4.09856,-0.69529 -7.75799,-0.69529 -5.7087,0 -9.07538,4.31812 -3.33008,4.31813 -3.33008,11.38083 v 16.02829 h -10.2464 v -25.65259 q 0,-2.78117 -0.51232,-6.55038 -0.47572,-3.76921 -1.39058,-7.39204 h 9.91705 q 1.31739,4.75725 1.68334,8.34349 h 0.14637 q 1.82972,-4.97682 4.94023,-7.0261 3.11052,-2.04928 8.08734,-2.04928 3.80581,0 7.53842,0.6221 z"
id="path1067-5"
/>
<path
style="
color: #000000;
-inkscape-font-specification: 'Liberation Mono for Powerline, Bold';
fill: #000000;
stroke: #000000;
stroke-linecap: butt;
-inkscape-stroke: none;
"
d="m -243.42187,184.14062 c -3.45623,10e-6 -6.36071,0.71474 -8.64063,2.2168 -1.67344,1.10251 -2.96019,2.9159 -4.07617,5.04688 -0.31087,-1.83875 -0.56275,-3.60744 -1.16797,-5.79297 l -0.20508,-0.73828 h -11.97851 l 0.31836,1.2539 c 0.59974,2.37497 1.05506,4.79852 1.36718,7.27149 v 0.006 l 0.002,0.004 c 0.33709,2.48002 0.50195,4.6238 0.50195,6.41602 v 26.66015 h 12.26172 v -17.0371 c 0,-4.547 1.06213,-8.09208 3.11719,-10.75977 l 0.002,-0.002 c 8.6e-4,-0.001 10e-4,-0.003 0.002,-0.004 2.07393,-2.65696 4.72826,-3.92578 8.27735,-3.92578 2.37577,0 4.90624,0.22639 7.58984,0.68164 l 1.17578,0.19922 v -1.19336 -9.52539 l -0.8418,-0.14063 c -2.5432,-0.42386 -5.11295,-0.63672 -7.70507,-0.63672 z m 0,2.01563 c 2.19885,0 4.37079,0.2208 6.53125,0.53906 v 6.65039 c -2.33341,-0.34258 -4.61793,-0.60547 -6.75,-0.60547 -4.05995,0 -7.45678,1.61042 -9.8711,4.70704 v 0.002 l -0.002,0.002 c -2.38235,3.0892 -3.54102,7.12921 -3.54102,11.9961 v 15.02148 h -8.23047 v -24.64453 c 0,-1.91601 -0.17548,-4.14191 -0.52148,-6.6875 -0.2683,-2.12309 -0.7014,-4.19208 -1.17578,-6.24805 h 7.88086 c 0.73667,2.78311 1.28909,5.33234 1.5039,7.4375 l 0.0918,0.90625 h 1.75977 l 0.24414,-0.66015 c 1.17144,-3.18631 2.71238,-5.32136 4.54883,-6.53125 1.86743,-1.23031 4.35172,-1.88477 7.53125,-1.88477 z"
id="path1069-5"
/>
</g>
</g>
<g id="g2533" transform="translate(106.9494,129.72687)">
<g id="g2528">
<ellipse
style="
opacity: 0.56;
fill: none;
stroke: #000000;
stroke-width: 0.5334;
stroke-linecap: round;
"
id="path2431-9"
cx="-102.06901"
cy="-275.68732"
rx="45.715363"
ry="156.36876"
transform="rotate(-45)"
/>
<ellipse
style="
opacity: 0.56;
fill: none;
stroke: #000000;
stroke-width: 0.5334;
stroke-linecap: round;
"
id="ellipse2524"
cx="-275.68732"
cy="-102.06901"
rx="45.715363"
ry="156.36876"
transform="matrix(0.70710678,0.70710678,0.70710678,-0.70710678,0,0)"
/>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
</div>
<div id="file-controls">
<input type="file" id="fsaFile" accept=".fsa, .ab1" />
<label for="peakThreshold">Threshold for ladder peaks</label>
<input
type="number"
id="peakThreshold"
min="20"
max="1000"
step="10"
value="100"
/>
<button id="run">Run Fraggler</button>
</div>
<p>DATA1</p>
<div id="data1"></div>
<p>DATA2</p>
<div id="data2"></div>
<p>DATA3</p>
<div id="data3"></div>
<p>DATA4</p>
<div id="data4"></div>
<p>All Data</p>
<div id="allData"></div>
</body>
</html>