Show HN: Modeling the Human Body in Rust So I Can Cmd+Click Through It

Wait 5 sec.

I started this trying to understand two things: why my Asian friends turn red after drinking, and why several friends all seemed to have migraine clusters.I was reading medical papers and textbooks, but kept getting lost jumping between topics. I thought: what if I could just Cmd+Click through this like code? What if "ALDH2 gene" was actually clickable, and took me to the variant, the phenotype, the population frequencies?So I started modeling human biology in Rust with my Ralph agent (Claude in a loop, ty ghuntley). Turns out the type system is perfect for this. Every biological entity is strongly-typed with relationships enforced at compile time.After 1 day of agent coding:- 277 Rust files, ~95k lines of code - 1,561 tests passing- 13 complete organ systems- Genetics with ancestry-specific variants- Clinical pathology modelsTry it:git clone https://github.com/lantos1618/open_human_ontologycd open_human_ontologycargo run --example ide_navigation_demoThen open `examples/ide_navigation_demo.rs` and Cmd+Click through:Understanding Asian flush:AsianGeneticVariantsCatalog::get_metabolic_variants()// Click through to:// → ALDH2 gene on chromosome 12q24.12// → rs671 variant (Glu504Lys)// → 40% frequency in Japanese population// → Alcohol flush reaction// → 10x esophageal cancer risk with alcohol// → Acetaldehyde metabolism pathwayUnderstanding migraines:Migraine { subtype: WithAura, triggers: [Stress, LackOfSleep, HormonalChanges], genetic_variants: ["rs2075968", "rs1835740"], ...}// Click through to:// → 17 migraine trigger types// → 12 aura symptom types// → Genetic risk factors// → Why clusters happen (HormonalChanges → Menstruation)Now I can actually navigate the connections instead of flipping through PDFs. Heart → CoronaryArtery → Plaque. VisualCortex → 200M neurons → NeuralConnection pathways. It's like Wikipedia but type-checked and with jump-to-definition.This isn't production medical software - it's a learning tool. But it's way more useful than textbooks for understanding how biological systems connect.The agent keeps expanding it. Sometimes it OOMs but that's part of the fun.Tech: Rust, nalgebra, serde, rayon, proptestI am not a dr or medical professional this is for my education you can commit to it if you want to or review and open some PR's if you find wrong information or want to add references.Comments URL: https://news.ycombinator.com/item?id=45541874Points: 4# Comments: 0