Settings

Theme

Rosalind: A genomics toolkit in Rust running whole-genome pipelines on a laptop

github.com

129 points by samuell 6 days ago · 36 comments

Reader

logannyeMD 5 hours ago

Hey guys, this is my github repo. Glad it's received some interest - I figured HN might be the culprit when it suddenly jumped ~100 stars despite not working on the code base since last year. I prototyped this out of personal curiosity last year and moved on abruptly so there's a lot of gaps I still need to close and knobs that need to be optimized. But if people genuinely find "deterministic genomics workloads on edge devices" proposal useful, I'll begin refining the code tonight and try to make it as useful as possible. If you have any particular bioinformatics tasks or use cases that you want to be feasible on edge devices, lmk and I'll work on integrating new capabilities. Always happy to be helpful

mriet 24 minutes ago

Realistically, without data from a large testset that compares this thoroughly to Samtools (and others?), I wouldn't touch this.

Note to the OP: specify a focus please? short, long, mega-long read and bacterial, human, small plant or large plant genome? Alignment heuristics and performance differ significantly across those axes.

a_bonobo an hour ago

There has been a bit of a 'trend' to rewrite common bioinformatics/comp-bio into faster languages (Rust) via LLMs, OP's repo seems to be an early example.

Seqera Labs has a bit of a manifesto: https://rewrites.bio/

Heng Li has an overview here too: https://lh3.github.io/2026/04/17/the-ai-rewrite-dilemma

IMHO it's... OK? Bioinformatics code quality is generally poor, untrained biologists writing functioning code that is poor in scoping, but works. (Unguided) LLMs write on that level, too, so not much harm done.

p4ul 8 hours ago

This is interesting; thanks for sharing! I have been curious about the adoption of Rust in computational biology. I know that the folks at Saint Jude's [1] are also using Rust for their 'omics research.

[1] https://github.com/stjude-rust-labs

  • shpongled 2 hours ago

    There is a relatively widely adopted tool (100+ citations, >500k invocations collected via telemetry) for mass spectrometry-based proteomics written in Rust, and quite a few others in the works.

    [1] https://github.com/lazear/sage

  • croemer 5 hours ago

    We rewrote Nextclade in Rust and are very happy. Works nicely both for CLI and client side browser with wasm.

    https://github.com/nextstrain/nextclade

  • the__alchemist 6 hours ago

    I'm building a structural bio crate system in rust (na_seq, bio_files, bio_apis, dynamics and some more specialized). No one is using it AFAIK other than myself. I am using it to build a GUI multi-purpose structural bio GUI program called Molchanica.

    Note that this doesn't have much overlap with the traditional bioinformatics workflows like the OP (Rosland), or the one you linked to seem to be focused on.

  • clmcleod 6 hours ago

    Thanks for the shout out!

    • p4ul an hour ago

      Oh, thank you, @clmcleod! We've been following all your work closely in my team!

      I'm very bullish on the long-term prospects of Rust in computational biology—as well as research computing more generally.

croemer 5 hours ago

Those are all the tests for alignment. They don't even check the alignment is correct. Just that there are no errors. This is a joke: https://github.com/logannye/rosalind/blob/main/tests/alignme...

Looks like total slop to me. All code in one commit, then a bunch of commits polishing the Readme.

No release, no updates in half a year.

vatsachak 6 hours ago

Looking at the commenting pattern, it seems like AI unfortunately

boron1006 7 hours ago

Lots of bad smells in this repo.

  • the__alchemist 6 hours ago

    Do you have some examples to look at? I am curious.

    • boron1006 5 hours ago

      Well the √t stuff looks like nonsense or way overblown, existing tools already do similar things, there’s pretty much a single commit with no follow up commits etc etc.

      • aeve890 3 minutes ago

        O(√t) looks weird but it's real. the "naive trial division" primality test for example.

semiinfinitely 6 hours ago

bioinformaticians have been making these useless bioinformatic-toolkit-in-my-favorite-programming-language repos for years

  • maxall4 6 hours ago

    Well, what else are we going to do while waiting for the bench scientists to finish collecting data?

  • asdff 5 hours ago

    Dissertationware is common in a lot of fields, honestly.

  • gilleain 6 hours ago

    Hate to agree, but it is true. For a while, I think, the main sequencing framework was in perl (Bioperl). Not sure what was best for structures - possibly Biojava?

    It is very tempting, though - 'just' make a nice, clean API in your favourite language (eg Haskell, Ruby, ...) and everyone will flock to use it! Maybe.

Rijanhastwoears 6 hours ago

> A deterministic genomics engine with a compact memory footprint.

Uhh... are there stochastic genomics pipelines?

shauniel 7 hours ago

I would love to hear about what the sacrifices are, but this project really looks amazing.

bonsai_spool 7 hours ago

Didn't see a publication or preprint for this - is there one?

peterfirefly 7 hours ago

Should have called it Raymond.

  • flobosg 7 hours ago
    • cmpb 7 hours ago

      I'm not familiar with Margaret Oakley Dayhoff, but I am aware that Rosalind Franklin [1] was extremely important for our understanding of DNA, comparable to Watson/Crick, with whom she co-discovered the structure of DNA. So it seems "Rosalind" is at least very appropriate as a name for a genomics tool such as this.

      Not to say the other names mentioned aren't also deserving of similar honors

      [1] https://en.wikipedia.org/wiki/Rosalind_Franklin

      • philipallstar 5 hours ago

        Rosalind Franklin was the team lead of the research team that photographed DNA.

        The actual team member that took the key photo[0] was Raymond Gosling.

        That team didn't interpret the double helix structure of DNA that the photograph had captured - that was Watson and Crick working it out from the photograph.

        [0] https://en.wikipedia.org/wiki/Photo_51

        • groby_b 3 hours ago

          It's not quite that clear-cut. Franklin was pretty clear on the helical structure in both research notes and papers, but she didn't quite nail the overall structure (2 strands with opposing winding, complementing bases).

          Fundamentally, she suffered the curse of the experimental scientist - waiting for actual data before being willing to build a model. Watson & Crick postulated ahead based on partial data.

      • flobosg 7 hours ago

        > I'm not familiar with Margaret Oakley Dayhoff

        Then you’re one of today’s lucky 10,000. Any time!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection