Mojourney

kokyriakidis / karan

Exact pairwise sequence alignment in Mojo for the CPU and GPU, with Python, C and C++ APIs

GitHub ↗ · first seen in GH Archive 2026-11-17 (search / language) · 36,332 lines of Mojo in 50 files at the last of 426 commits (2026-10-03 to 2026-11-17)

Stars0as of 2026-11-23
Forks0as of 2026-11-23
Depends on0Mojo libraries, of 1 declared
Used by0census repos that depend on it
Open issues0
Watchers0
Created2026-10-0351 days ago
Lines of Mojo36,33250 files
Commits4262026-10-03 to 2026-11-17
Contributors2commit authors, bots left out
Mojo version1.2.0.dev2026102005from lock file
CategoryML and inferenceapproximate
Toolingpixi
Packagingnone
LicenseMPL-2.0

Over time

2026-10-03 to 2026-11-17; peak 36,332 lines

Dependencies

Declared in its manifests at HEAD (toolchain left out): patchelf.

Similar repos

RepoDescriptionSimilarity
lee101/mojo-biopythonMojo port of biopython - sequence alignment and parsing91%
lee101/mojo-pyseqMojo port of pyseq - sequence alignment89%
lee101/mojo-scikit-bioMojo port of scikit-bio - sequence distance and diversity86%
unum-science/AffineGapsExact biosequence alignment and folding on GPUs — Needleman-Wunsch, Smith-Waterman, Levenshtein, Zuker, and Sankoff with Gotoh adjustments and traceback85%
MoSafi2/BlazeSeqHigh-Performance FASTQ Parsing for Mojo — Zero-Copy to GPU85%

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 (WatchEvents) and forks per month in GH Archive, 2023-01 to 2026-10012023-012023-052023-092024-012024-052024-092025-012025-052025-092026-012026-052026-09
  • 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

People with a commit each month, and the ones with their first, 2026-10 to 2026-11022026-102026-11
  • 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 releases or 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

#TitleOpenedStateComments
1Exact DNA alignment in Mojo: affine gaps on CPU and GPU, and A*PA2's edit distance, extended2026-10-05merged0

Migrations

DateWhatFromToCommit
2026-10-05mojo_version–1.1.0c55496f5bc
2026-10-05toolingnonepixic55496f5bc
2026-10-22mojo_version1.1.01.2.0.dev2026102005016ca6fa25

Commits

Commit types: Fix 1% · Mojo version 0% · Refactor 1% · Docs 1% · Tests 0% · Build and chores 3% · Merge 0% · Other 93%

DateCommitTypeSubjectLines of MojoToolingMojo version
2026-11-172d49ef60ddRefactorFormat api.mojo (mojo format)36,332pixi1.2.0.dev2026102005
2026-11-17dff486bd46OtherExtensions take an end bonus under a band; Z-drop regression from a HiFi tail36,328pixi1.2.0.dev2026102005
2026-11-11d7193c08b7Otherspread keeps subnormal numbers on its workers, as the caller's thread does36,255pixi1.2.0.dev2026102005
2026-11-086344bbf72eRefactorFormat ksw2_gpu.mojo (mojo format)36,186pixi1.2.0.dev2026102005
2026-11-080b98590e5fOtherksw2_gpu: codes at the whole budget at once, other buffers grown by half again36,188pixi1.2.0.dev2026102005
2026-11-0820a94bdba6Otherksw2_gpu: bounded walk-back room; overflowing pairs walk back again into the compact CIGARs36,178pixi1.2.0.dev2026102005
2026-11-08e2d14a0555Otherksw_extd2[L, W]: minimap2's 16-lane results at 64 cells an instruction, 1.9x the C36,015pixi1.2.0.dev2026102005
2026-11-08a2eb7bdf01DocsDocs: minimap2's KSW2 modules in the README, CHANGELOG and CLAUDE.md35,916pixi1.2.0.dev2026102005
2026-11-07e2fcc53fe4Otherksw2_gpu walk back: the run being extended stays in registers35,916pixi1.2.0.dev2026102005
2026-11-07e60d0df6f6Otherksw_lanes: codes as comparison masks, a lazy walk back, no wildcard check without wildcards; LanesGpu.code_budget35,906pixi1.2.0.dev2026102005
2026-11-0733959bf0bbOtherksw_lanes: codes grow uninitialized; GpuSegment.reserve35,845pixi1.2.0.dev2026102005
2026-11-073c41a6343eOtherksw2_gpu: an fp16 kernel, two cells an instruction, off by default35,832pixi1.2.0.dev2026102005
2026-11-07c6ce052880Otherksw2_gpu: bands up to 384 diagonals, a submit's codes within 1 GB35,550pixi1.2.0.dev2026102005
2026-11-0783eadf0689Otherksw2_gpu: submit and collect, the pairs packed by the caller's threads35,530pixi1.2.0.dev2026102005
2026-11-07fce709c326Otherksw2_gpu: 6 diagonals a lane as well as 2, 4, 8; pairs may share warps35,444pixi1.2.0.dev2026102005
2026-11-07a493464a49Otherksw2_gpu: KSW2's gap filling on a GPU, the CIGARs ksw2_lanes gives35,415pixi1.2.0.dev2026102005
2026-11-07981dca8c32Otherksw2_lanes: a band per lane, so a pair's CIGAR is its own34,954pixi1.2.0.dev2026102005
2026-11-06196edab0a0OtherTies.KSW2 walked by the global wavefront; rings kept wide; rewrite within max_memory34,884pixi1.2.0.dev2026102005
2026-11-06ce7cc5e0adOtherTies.KSW2: walked natively at unit costs, and exact everywhere34,410pixi1.2.0.dev2026102005
2026-11-06b0bc247438Otherksw_ties: the KSW2 rewrite swept by anti-diagonal in 16 lanes, shaped by cost model34,134pixi1.2.0.dev2026102005
2026-11-067d5234f764OtherTies.KSW2, the default: minimap2's and plegma's rule for equal alignments33,747pixi1.2.0.dev2026102005
2026-11-06f9c7f6083aOtherkaran.ksw2_lanes: KSW2's global gap filling for 32 pairs at once33,079pixi1.2.0.dev2026102005
2026-11-06f86dafed49Otherkaran.ksw2: minimap2's ksw_extd2_sse ported line for line32,701pixi1.2.0.dev2026102005
2026-11-06d9e8225384OtherExtension Z-drop as KSW2 gauges it: every layer, over the last move's costs32,034pixi1.2.0.dev2026102005
2026-11-0627089da329OtherAligner.align takes 2-bit codes and gives the CIGAR as runs31,995pixi1.2.0.dev2026102005
2026-10-22504afae626OtherByte 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 ma31,782pixi1.2.0.dev2026102005
2026-10-22016ca6fa25Mojo versionBuild on the Mojo nightly sporos and plegma use (1.2.0.dev2026102005)31,258pixi1.2.0.dev2026102005
2026-10-2096186d97daRefactorRenamed 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 paper31,257pixi1.1.0
2026-10-2054955f0c03OtherPaper: the setup names the commit dinara-align was timed at, 7fb47d5, and the rivals' 87d365f31,257pixi1.1.0
2026-10-2018bef34863DocsREADME 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 run31,257pixi1.1.0
2026-10-15be1a568733OtherPaper: the Methods overview gives the short pairs' hand-over too31,257pixi1.1.0
2026-10-1523a0c9f6c3OtherPaper: Figure 1's notes in near-black, its labels in 6 pt and its borders and arrows darker, for print31,257pixi1.1.0
2026-10-15e9a060a9d5OtherPaper: 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 does31,257pixi1.1.0
2026-10-1513f153ad59OtherPaper: results of dinara-align at 7fb47d5 beside the rivals' three-round run, every quoted figure from them31,257pixi1.1.0
2026-10-1538a8c74cb0OtherPaper: Table 4 left to Supplementary Table S4, which holds every dataset, and the Background said in fewer words31,257pixi1.1.0
2026-10-1585b239e838OtherPaper: 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 pruni31,257pixi1.1.0
2026-10-157fb47d52bdOtherTODO: where the gap-affine step stands on the near misses after the two kept speedups31,257pixi1.1.0
2026-10-15c404d65947OtherA 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 once31,257pixi1.1.0
2026-10-15e382fd38b2OtherThe 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, s31,181pixi1.1.0
2026-10-156834dff454OtherTODO: the kilobase warm-up tried and left; reads 35 and 115 lose only as the first to grow their history31,133pixi1.1.0
2026-10-153a3f15d662Build and choresRevert "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,133pixi1.1.0
2026-10-15fe7998736aOtherAn 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 us31,144pixi1.1.0
2026-10-1510846635f6OtherThe searches' spend cap is a compile-time choice, so the distance's two-ended search counts no steps it never checks31,133pixi1.1.0
2026-10-15b6a6f0746aOtherA 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 ove31,128pixi1.1.0
2026-10-15531873a6a2OtherTODO: the ont-1k losses traced to the same per-read choice; no fixed policy wins any distance bin31,092pixi1.1.0
2026-10-15ccf3dc6013OtherAligner(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 call31,092pixi1.1.0
2026-10-151b88e89f0aOtherAn Aligner's documentation says it is warm from the start, and docs/API.md with it31,088pixi1.1.0
2026-10-1576ef188917OtherAn 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 at31,087pixi1.1.0
2026-10-15021dd9fc1bOtherTODO: the windowed slides tried and left, 21 to 42% slower; nothing cheaper than the gathers is known31,060pixi1.1.0
2026-10-1540207148f7Build and choresRevert "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,060pixi1.1.0

The latest 50 of 426 commits; all of them are in the JSON.