Skip to content

Commit ea717b6

Browse files
committed
Add new sequences
1 parent 3370a9e commit ea717b6

3 files changed

Lines changed: 31 additions & 16 deletions

File tree

STATS.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22

33
| Letter | Found | Percentage | Letter | Found | Percentage |
44
|--------|----------|------------|--------|----------|------------|
5-
| A | 245,371 | 53.69% | N | 165,139 | 36.14% |
6-
| B | 276,288 | 60.46% | O | 93,369 | 20.43% |
7-
| C | 267,269 | 58.49% | P | 141,538 | 30.97% |
8-
| D | 286,263 | 62.64% | Q | 135,986 | 29.76% |
9-
| E | 164,888 | 36.08% | R | 112,661 | 24.65% |
10-
| F | 284,150 | 62.18% | S | 71,444 | 15.63% |
11-
| G | 290,966 | 63.67% | T | 67,203 | 14.71% |
12-
| H | 241,135 | 52.77% | U | 29,028 | 6.35% |
13-
| I | 176,112 | 38.54% | V | 96,518 | 21.12% |
14-
| J | 329,171 | 72.03% | W | 46,616 | 10.20% |
15-
| K | 285,339 | 62.44% | X | 13,451 | 2.94% |
16-
| L | 252,482 | 55.25% | Y | 62,970 | 13.78% |
17-
| M | 210,660 | 46.10% | Z | 125,933 | 27.56% |
5+
| A | 246,129 | 53.86% | N | 165,568 | 36.23% |
6+
| B | 276,922 | 60.60% | O | 93,735 | 20.51% |
7+
| C | 267,981 | 58.64% | P | 142,237 | 31.13% |
8+
| D | 286,745 | 62.75% | Q | 136,171 | 29.80% |
9+
| E | 165,398 | 36.19% | R | 113,187 | 24.77% |
10+
| F | 284,541 | 62.27% | S | 72,803 | 15.93% |
11+
| G | 291,377 | 63.76% | T | 67,930 | 14.87% |
12+
| H | 241,556 | 52.86% | U | 29,375 | 6.43% |
13+
| I | 176,471 | 38.62% | V | 96,955 | 21.22% |
14+
| J | 329,409 | 72.08% | W | 47,127 | 10.31% |
15+
| K | 285,619 | 62.50% | X | 13,881 | 3.04% |
16+
| L | 252,685 | 55.30% | Y | 63,669 | 13.93% |
17+
| M | 211,262 | 46.23% | Z | 126,375 | 27.65% |
1818

1919
| Total Sequences Found | Percentage |
2020
|-----------------------|------------|
21-
| 4,471,950 | 37.64% |
21+
| 4,485,108 | 37.75% |

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"type": "module",
44
"private": true,
55
"scripts": {
6-
"stats": "bun ./src stats"
6+
"stats": "bun ./src stats",
7+
"file": "bun ./src file"
78
},
89
"devDependencies": {
910
"@types/bun": "^1.3.5",

src/index.ts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
import { getAllStats } from "./stats";
2+
import { processSingleFile } from "./processing";
23

34
function main() {
4-
if (process.argv[2] === "stats") {
5+
const command = process.argv[2];
6+
7+
if (command === "stats") {
58
return getAllStats();
69
}
10+
11+
const filePath = process.argv[3];
12+
13+
if (!filePath) {
14+
console.error("No file path provided");
15+
return;
16+
}
17+
18+
if (command === "file") {
19+
return processSingleFile(filePath);
20+
}
721
}
822

923
main();

0 commit comments

Comments
 (0)