kokyriakidis / karan
Exact pairwise sequence alignment in Mojo for the CPU and GPU, with Python, C and C++ APIs
Over time
2026-10-03 to 2026-11-17; peak 36,332 lines
2026-10-03 to 2026-11-17; 426 commits, counted up by commit date
- Opened 1
- Closed or merged 1
2026-10-05 to 2026-10-05; 1 issues and pull requests opened (0 issues, 1 pull requests), from GitHub by mojo_issues
Dependencies
Declared in its manifests at HEAD (toolchain left out): patchelf.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| lee101/mojo-biopython | Mojo port of biopython - sequence alignment and parsing | 91% |
| lee101/mojo-pyseq | Mojo port of pyseq - sequence alignment | 89% |
| lee101/mojo-scikit-bio | Mojo port of scikit-bio - sequence distance and diversity | 86% |
| unum-science/AffineGaps | Exact biosequence alignment and folding on GPUs — Needleman-Wunsch, Smith-Waterman, Levenshtein, Zuker, and Sankoff with Gotoh adjustments and traceback | 85% |
| MoSafi2/BlazeSeq | High-Performance FASTQ Parsing for Mojo — Zero-Copy to GPU | 85% |
By the cosine of the embeddings of each repo's name, description and topics: bge-small-en-v1.5 at bbddccb7, from snapshot 3454761910736014829 of mojo.repo_embeddings, which mojo_embed writes.
Stars per month
- stars
- forks
0 stars over the months of GH Archive loaded so far (47; months in between aren't loaded yet), counted from its events.
Contributors per month
- contributors
- new
2 people authored or co-authored its commits (every commit reachable from HEAD, Co-authored-by trailers included, bots left out), counted by email.
Releases and tags
No published release in the GH Archive days loaded, and no git tag in the clone.
Issues and pull requests
0 open and 0 closed issues; 0 open, 1 merged and 0 closed pull requests, from GitHub by mojo_issues.
Pull requests
| # | Title | Opened | State | Comments |
|---|---|---|---|---|
| 1 | Exact DNA alignment in Mojo: affine gaps on CPU and GPU, and A*PA2's edit distance, extended | 2026-10-05 | merged | 0 |
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2026-10-05 | mojo_version | – | 1.1.0 | c55496f5bc |
| 2026-10-05 | tooling | none | pixi | c55496f5bc |
| 2026-10-22 | mojo_version | 1.1.0 | 1.2.0.dev2026102005 | 016ca6fa25 |
Commits
Commit types: Fix 1% · Mojo version 0% · Refactor 1% · Docs 1% · Tests 0% · Build and chores 3% · Merge 0% · Other 93%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2026-11-17 | 2d49ef60dd | Refactor | Format api.mojo (mojo format) | 36,332 | pixi | 1.2.0.dev2026102005 |
| 2026-11-17 | dff486bd46 | Other | Extensions take an end bonus under a band; Z-drop regression from a HiFi tail | 36,328 | pixi | 1.2.0.dev2026102005 |
| 2026-11-11 | d7193c08b7 | Other | spread keeps subnormal numbers on its workers, as the caller's thread does | 36,255 | pixi | 1.2.0.dev2026102005 |
| 2026-11-08 | 6344bbf72e | Refactor | Format ksw2_gpu.mojo (mojo format) | 36,186 | pixi | 1.2.0.dev2026102005 |
| 2026-11-08 | 0b98590e5f | Other | ksw2_gpu: codes at the whole budget at once, other buffers grown by half again | 36,188 | pixi | 1.2.0.dev2026102005 |
| 2026-11-08 | 20a94bdba6 | Other | ksw2_gpu: bounded walk-back room; overflowing pairs walk back again into the compact CIGARs | 36,178 | pixi | 1.2.0.dev2026102005 |
| 2026-11-08 | e2d14a0555 | Other | ksw_extd2[L, W]: minimap2's 16-lane results at 64 cells an instruction, 1.9x the C | 36,015 | pixi | 1.2.0.dev2026102005 |
| 2026-11-08 | a2eb7bdf01 | Docs | Docs: minimap2's KSW2 modules in the README, CHANGELOG and CLAUDE.md | 35,916 | pixi | 1.2.0.dev2026102005 |
| 2026-11-07 | e2fcc53fe4 | Other | ksw2_gpu walk back: the run being extended stays in registers | 35,916 | pixi | 1.2.0.dev2026102005 |
| 2026-11-07 | e60d0df6f6 | Other | ksw_lanes: codes as comparison masks, a lazy walk back, no wildcard check without wildcards; LanesGpu.code_budget | 35,906 | pixi | 1.2.0.dev2026102005 |
| 2026-11-07 | 33959bf0bb | Other | ksw_lanes: codes grow uninitialized; GpuSegment.reserve | 35,845 | pixi | 1.2.0.dev2026102005 |
| 2026-11-07 | 3c41a6343e | Other | ksw2_gpu: an fp16 kernel, two cells an instruction, off by default | 35,832 | pixi | 1.2.0.dev2026102005 |
| 2026-11-07 | c6ce052880 | Other | ksw2_gpu: bands up to 384 diagonals, a submit's codes within 1 GB | 35,550 | pixi | 1.2.0.dev2026102005 |
| 2026-11-07 | 83eadf0689 | Other | ksw2_gpu: submit and collect, the pairs packed by the caller's threads | 35,530 | pixi | 1.2.0.dev2026102005 |
| 2026-11-07 | fce709c326 | Other | ksw2_gpu: 6 diagonals a lane as well as 2, 4, 8; pairs may share warps | 35,444 | pixi | 1.2.0.dev2026102005 |
| 2026-11-07 | a493464a49 | Other | ksw2_gpu: KSW2's gap filling on a GPU, the CIGARs ksw2_lanes gives | 35,415 | pixi | 1.2.0.dev2026102005 |
| 2026-11-07 | 981dca8c32 | Other | ksw2_lanes: a band per lane, so a pair's CIGAR is its own | 34,954 | pixi | 1.2.0.dev2026102005 |
| 2026-11-06 | 196edab0a0 | Other | Ties.KSW2 walked by the global wavefront; rings kept wide; rewrite within max_memory | 34,884 | pixi | 1.2.0.dev2026102005 |
| 2026-11-06 | ce7cc5e0ad | Other | Ties.KSW2: walked natively at unit costs, and exact everywhere | 34,410 | pixi | 1.2.0.dev2026102005 |
| 2026-11-06 | b0bc247438 | Other | ksw_ties: the KSW2 rewrite swept by anti-diagonal in 16 lanes, shaped by cost model | 34,134 | pixi | 1.2.0.dev2026102005 |
| 2026-11-06 | 7d5234f764 | Other | Ties.KSW2, the default: minimap2's and plegma's rule for equal alignments | 33,747 | pixi | 1.2.0.dev2026102005 |
| 2026-11-06 | f9c7f6083a | Other | karan.ksw2_lanes: KSW2's global gap filling for 32 pairs at once | 33,079 | pixi | 1.2.0.dev2026102005 |
| 2026-11-06 | f86dafed49 | Other | karan.ksw2: minimap2's ksw_extd2_sse ported line for line | 32,701 | pixi | 1.2.0.dev2026102005 |
| 2026-11-06 | d9e8225384 | Other | Extension Z-drop as KSW2 gauges it: every layer, over the last move's costs | 32,034 | pixi | 1.2.0.dev2026102005 |
| 2026-11-06 | 27089da329 | Other | Aligner.align takes 2-bit codes and gives the CIGAR as runs | 31,995 | pixi | 1.2.0.dev2026102005 |
| 2026-10-22 | 504afae626 | Other | Byte spans into every single-pair call under Costs: distance, align, score, local_scores and Aligner's distance and align take ImmSpan[UInt8, _], read where they lie down to the searches, no String ma | 31,782 | pixi | 1.2.0.dev2026102005 |
| 2026-10-22 | 016ca6fa25 | Mojo version | Build on the Mojo nightly sporos and plegma use (1.2.0.dev2026102005) | 31,258 | pixi | 1.2.0.dev2026102005 |
| 2026-10-20 | 96186d97da | Refactor | Renamed dinara-align to karan: the repository, the Mojo and Python packages, the command line, the C library (libkaran, karan.h, karan_*, KARAN_*, karan::), the probe flags and the paper | 31,257 | pixi | 1.1.0 |
| 2026-10-20 | 54955f0c03 | Other | Paper: the setup names the commit dinara-align was timed at, 7fb47d5, and the rivals' 87d365f | 31,257 | pixi | 1.1.0 |
| 2026-10-20 | 18bef34863 | Docs | README redesigned: centred header, highlights table, current figures from 2026-10-15 with speed-ups, Aligner examples, collapsible C/C++/Mojo; benchmarks/README's summaries brought to the same run | 31,257 | pixi | 1.1.0 |
| 2026-10-15 | be1a568733 | Other | Paper: the Methods overview gives the short pairs' hand-over too | 31,257 | pixi | 1.1.0 |
| 2026-10-15 | 23a0c9f6c3 | Other | Paper: Figure 1's notes in near-black, its labels in 6 pt and its borders and arrows darker, for print | 31,257 | pixi | 1.1.0 |
| 2026-10-15 | e9a060a9d5 | Other | Paper: Figure 1 says when the one front gives way to two ends and that a short pair's band waits for its whole cost, as the caption now does | 31,257 | pixi | 1.1.0 |
| 2026-10-15 | 13f153ad59 | Other | Paper: results of dinara-align at 7fb47d5 beside the rivals' three-round run, every quoted figure from them | 31,257 | pixi | 1.1.0 |
| 2026-10-15 | 38a8c74cb0 | Other | Paper: Table 4 left to Supplementary Table S4, which holds every dataset, and the Background said in fewer words | 31,257 | pixi | 1.1.0 |
| 2026-10-15 | 85b239e838 | Other | Paper: Methods says each rule and why it stays exact, the per-change measurements left to Table S1 and the supplement (3,580 to 2,803 words); the short pairs' spend rule, the warm aligner, local pruni | 31,257 | pixi | 1.1.0 |
| 2026-10-15 | 7fb47d52bd | Other | TODO: where the gap-affine step stands on the near misses after the two kept speedups | 31,257 | pixi | 1.1.0 |
| 2026-10-15 | c404d65947 | Other | A gathered slide finds each lane's first differing byte by the leading zeros of its bytes turned back to front, and keeps unreached lanes without a select: their words differ at once | 31,257 | pixi | 1.1.0 |
| 2026-10-15 | e382fd38b2 | Other | The gap-affine step tests no move against the matrix's last column or row on a cost whose sources, by the furthest anti-diagonal reached, cannot lie there: bidirectional searches meet in the middle, s | 31,181 | pixi | 1.1.0 |
| 2026-10-15 | 6834dff454 | Other | TODO: the kilobase warm-up tried and left; reads 35 and 115 lose only as the first to grow their history | 31,133 | pixi | 1.1.0 |
| 2026-10-15 | 3a3f15d662 | Build and chores | Revert "An Aligner also warms on a kilobase pair an eighth apart at unit costs: the first ont-1k reads to grow a front history that large, at distances 151 and 169, took three times the others' 31 us" | 31,133 | pixi | 1.1.0 |
| 2026-10-15 | fe7998736a | Other | An Aligner also warms on a kilobase pair an eighth apart at unit costs: the first ont-1k reads to grow a front history that large, at distances 151 and 169, took three times the others' 31 us | 31,144 | pixi | 1.1.0 |
| 2026-10-15 | 10846635f6 | Other | The searches' spend cap is a compile-time choice, so the distance's two-ended search counts no steps it never checks | 31,133 | pixi | 1.1.0 |
| 2026-10-15 | b6a6f0746a | Other | A short pair's searches give up only once their steps have cost the band over its whole matrix, never on a projection: nanopore reads' error-dense ends ran their projections three and a half times ove | 31,128 | pixi | 1.1.0 |
| 2026-10-15 | 531873a6a2 | Other | TODO: the ont-1k losses traced to the same per-read choice; no fixed policy wins any distance bin | 31,092 | pixi | 1.1.0 |
| 2026-10-15 | ccf3dc6013 | Other | Aligner(warm=False) for one call's aligner, which the Python module's align and distance take: warming, 80 us on the Skylake-X, would cost each call more than the call | 31,092 | pixi | 1.1.0 |
| 2026-10-15 | 1b88e89f0a | Other | An Aligner's documentation says it is warm from the start, and docs/API.md with it | 31,088 | pixi | 1.1.0 |
| 2026-10-15 | 76ef188917 | Other | An Aligner warms its memory on one built-in short divergent pair, at gap-affine and unit costs: grown by the first reads that needed it instead, nine of 4,031 Illumina reads took 2.9% of their time at | 31,087 | pixi | 1.1.0 |
| 2026-10-15 | 021dd9fc1b | Other | TODO: the windowed slides tried and left, 21 to 42% slower; nothing cheaper than the gathers is known | 31,060 | pixi | 1.1.0 |
| 2026-10-15 | 40207148f7 | Build and chores | Revert "The gap-affine step slides a lane group from one sixteen-byte window of each sequence where its lanes read within four letters of lane 0's, a shift a lane in place of a gather" | 31,060 | pixi | 1.1.0 |
The latest 50 of 426 commits; all of them are in the JSON.