alt.hn

7/2/2026 at 12:28:20 PM

Introduction to Genomics for Engineers

https://learngenomics.dev/docs/biological-foundations/cells-genomes-dna-chromosomes/

by yreg

7/6/2026 at 11:45:36 AM

This guide is also made from me (or some of the me from a couple years back). I haven't read the whole thing yet and it's probably clearly stated at some point (though one can deduce it with the beginning already) but the surprise for me was that this field is highly statistical. Before starting I had the (very) naive view that it was possible to read the genome as one reads a file and look at what's going on. But the sequencing technics (and accompanying algorithms) only allow to statistically read the genome. So variants/mutations found are only found with a given statistical certainty. If the sample wasn't well prepared for example it could be that this certainty is ultimately not high enough to do a proper analysis/diagnostic. It's a fascinating field (try to watch a video on sequencing by expansion, to feel how sci-fi this field actually is) that is very hard to approach with only high-school biology level and this guide is really well done to sort of bridge this first gap.

by maaaaattttt

7/6/2026 at 3:10:56 PM

I'm working on a project in malaria genetics this summer, and I was shocked to find out that the entire analysis toolkit is entirely based on math and statistics (and some non-trivial stuff too, e.g. hidden Markov models to predict CNV). Genotype likelihoods throw an extra wrench into the process, since even basic stuff like predicting allele frequencies requires a maximum likelihood estimator instead of simple counting. This whole area was quite eye-opening, and I'm still amazed that reading billions of base-pairs in DNA sequencing reliably works.

Also gotta shout out to these incredible molecular animations by WEHI: https://www.youtube.com/watch?v=7Hk9jct2ozY

by jwgarber

7/6/2026 at 12:05:36 PM

Biology is often an intensely statistics-heavy field. A remarkably large part of statistics was developed to study issues in biology, particularly dealing with evolution and ecology.

by grey413

7/6/2026 at 3:37:53 PM

[dead]

by throwaway676712

7/6/2026 at 12:51:14 PM

All one needs to do is look at the Claude Science thread here last week and note how many comments were surprised that it appeared to be a statistical/analysis tool.

by jghn

7/6/2026 at 3:31:20 PM

Just a couple days ago I argued with an HN poster who quipped that biology is stamp collecting. A non-negligible number of "mathy" engineer types (not actual mathematicians, those usually understand the complexity of biology and even gladly contribute to the field) seem to think all biologists are quirky eccentrics dedicating 30 years to a single protein or a species of ants in the Kalahari desert. (Not that these don't exist or aren't worthy of respect, but they don't score high in the sophomoric 'hardness scale' of fields that these mathy types still subscribe to)

by throwaway676712

7/6/2026 at 5:53:33 PM

The rub is of course it is actually far harder to work on your rare species of ant than to do something more "noble" like human genetics. You may have to build the reference genome yourself working on your ant before you can begin with other work. Collecting your ant samples and processing them eventually into raw sequence reads. You may have to optimize this library preparation process yourself if you are really in uncharted territory here.

Meanwhile human geneticist doesn't even need to collect any data. Reference genomes are always being improved. People dump their data into public repositories (at least public for other credentialed researchers). A couple emails and filling of approval forms and you too can have access to 10,000 patient samples of some human disease already sequenced for you to an acceptable depth. Of course you will still need to pay for downstream compute needs in money and your time crafting the analysis to suit your reasoning, but still, half the battle is already won when you work on these well trodden paths. So much necessary groundwork has been performed by others for you already.

by asdff

7/6/2026 at 7:35:40 PM

I think that it's just because a lot of that is grunt work, a bit like getting a PhD by studying mice, with a little bit of theory at the end of a lot of repetitive work, whereas maths is generally the complete opposite of that: no practical, all cerebral work.

I'm not a maths person; that's just what I've observed.

by philipallstar

7/6/2026 at 1:57:48 PM

And the foundations of those statistical approaches are built on heuristics and shortcuts.

For example, sequencing instruments include base quality strings in the output. Base qualities are estimates how likely the instrument got each sequenced base right. But most people don't want to store that much noise, especially when the actual data is highly compressible. So the base qualities get quantized using more or less principled methods that seem to work well empirically.

Read aligners make similar estimates of how likely they got the correct alignment for each read. Those estimates are typically based on simplistic models and a number of assumptions. There are two main components in the estimate. One is based on comparing the primary alignment the aligner chose to the secondary alignments it also found. Another is an estimate that the aligner didn't find the correct alignment, because that part of the sequenced genome is too different from the reference. The latter is obviously handwavy. And the aligner cheats in the former. Because people don't want to wait 10x or 100x longer for better results, the aligner gives up early and estimates how good secondary alignments it might have found if it had actually done the work.

And then there is variant calling. At some point, the state-of-the-art callers were statistical. But then people got better results with neural networks. Or at least the results were empirically better.

by jltsiren

7/6/2026 at 1:20:26 PM

To expand this a bit, most sequencing methods are exact, and have a low error rate (except nanopores).

But they produce short reads, and because DNA is full of repetitive fragments, it's not always clear where the read came from.

We also have two copies of genes, which also further complicates matters.

The first startup where I worked, developed synthetic long reads on top of Illumina's hardware. We could stitch together 50kbp reads, which really helped with de-novo sequencing.

by cyberax

7/6/2026 at 7:35:13 PM

As a software developer who spent nearly 10 years founding and building a genomic startup, this is a good start, but does have a lot of vast oversimplifications and a few inaccuracies. The people making this know what they're doing, so I'm sure these are known shortcomings they likely deemed necessary for a quick introduction. You'd need a further study at the end to start being able to do some real-world work.

by JangoSteve

7/6/2026 at 7:53:40 PM

What was your reading list ? I plan to add more medical / genomic knowledge to my skillset.

by jnpnj

7/6/2026 at 8:12:03 PM

The definition of haplotypes is definitely incorrect am I misunderstanding anything?

by dumb1224

7/6/2026 at 9:51:26 PM

How is the definition incorrect? I know haplotype as all the genomic variation on a single gene. And since every gene comes in two copies, two haplotypes define one diplotype.

by whilenot-dev

7/6/2026 at 1:08:56 PM

One part that people from the software side tend to underestimate is how fuzzy and analog everything in biology is. Genomics look more predictable and organized at first, but even these parts are quite fuzzy and subject to all kinds of physical effects.

I'd strongly recommend in reading up on the parts of cell biology that come after this. Otherwise you'll get the wrong impression of how messy biology actually is.

by fabian2k

7/6/2026 at 1:16:18 PM

And most of genomics is still stuck in 1930ties. Many people believe gender is somehow related to genes, which is objectively not true! Or that genes are somehow related to your religion!

by throe9394ir

7/6/2026 at 1:21:14 PM

Scientists tend to understand that part, that's more of a political/cultural thing (I'm ignoring the language part here entirely about which terms to use for which concepts here).

There's the X and Y chromosomes, those produce a binary result (unless you have a genetic anomaly). And after that comes the messy and fuzzy parts I mentioned, where those genes trigger changes in hormone levels and development. And those parts are analog, very complex and contain a lot of different parts. So the outcome is not binary anymore.

by fabian2k

7/6/2026 at 3:08:28 PM

...well actually...

There are more combinations than merely having only X, or an XY combination. And there is more fuzziness even in the Y and X expression, as you said. It's fuzzy all the way down. The tale of Binary results has always been from compression of reality: Always has been.

by altruios

7/6/2026 at 3:57:50 PM

As it happens, in humans there is a single gene on the Y chromosome, named SRY, that typically switches on male-linked traits.

But you're right, the full range of biological possibilities is very fuzzy . SRY itself a just a regulatory switch that other sex-linked traits are conditionally dependent on. If the switch gets broken, you develop as female. If genes that support the switch break, you might develop as female. If a sex-linked trait downstream from SRY mutates, then pretty much anything can happen. And other species do sex determination completely differently. Hell, a lot of bacterial sex basically involves throwing pseudo-viruses at each other.

by grey413

7/6/2026 at 3:29:58 PM

Can you point to where these ideas have been confirmed as objectively not true?

by almostjazz

7/6/2026 at 12:35:54 PM

If you're an engineer and want to go deeper into the core algorithms behind genomics, there's a book / course called Bioinformatics Algorithms. It was a punishing read when I was going through it a few years ago (but rewarding). It's probably much better now given the state of AI.

[1] https://cogniterra.org/course/64/info

by offbynull

7/6/2026 at 1:53:28 PM

I've worked for a year in a lab doing cancer genomics and had to learn everything from scratch, since my background is in computer science.

It's definitely possible to learn enough to be productive within a few months, but to actually comprehend and understand the underlying biology takes much, much longer. I still don't understand much of what is presented by people from other labs outside of my specialty.

by devlovstad

7/6/2026 at 9:56:47 PM

There are two things you absolutely must understand if you're going into biology as an engineer:

1. Everything, and I mean everything, is stochastic. There is nothing in biology that is a guaranteed "if X then Y," there's nothing in biology that is a guaranteed "X is used for Y," "X is only used for Y," or "only X is used for Y." Even stuff that seems like it _should_ be that way isn't. RNA folds into useful shapes, the codon table varies between organisms, enzymes will target and modify multiple substrates, and metabolic pathways can and will run in both directions depending on the circumstances. Understand this, internalize this.

2. Biology is a physics problem, not an informatics problem. There's no API boundaries between different "layers," because everything is molecules jostling against other molecules. This means things like the geographic distribution of molecules within a cell can and will have serious effects on gene expression and biological processes. What's more, that "no API boundaries" extends to the cellular level - the "cell wall" is a thing cells use both sides of, bacteria regularly swap genes and genetic material, and metabolic pathways will pass between unrelated organisms.

Basically, everything we've ever done to turn engineering into a tractable problem does not exist in nature. Nature grabs whatever happens to be right at hand and shoves it into use. Consequently, it is _devilishly_ complicated to model, because every simplifying assumption you want to make has exceptions that stack to "your model works perfectly exactly once on a Tuesday at 3pm, but only if the humidity is over 72%." This is also why you'll notice your lab biologists are the kind of superstitious that would make a pagan soothsayer say "oh come on, it's not _that_ bad."

It's an awesome, amazing field, and there's huge contributions you can make as an engineer, but step one is shut the hell up and listen to the scientists, and step two is to learn that every time you hear "X does Y," your next questions should be "under what circumstances?" "how often?" "when doesn't it?" and "what happens then?"

by roughly

7/6/2026 at 2:46:28 PM

This is very very nice. when you are reading this, just keep this in the back of your mind - inside a cell- things are floating around constantly at a very high speed. those things do not have any crisp shape or boundary. so how do we tell them apart? they are phase separated. if you put an oil drop in water, you can still see the oil drop and water and tell them apart. that's a very high degree of phase separation. inside a cell the degree of phase separation is much lower. just putting this out here so that you could appreciate the complexity of the biology that you are reading. my wife educated me on this a bit.

by dwa3592

7/6/2026 at 7:34:46 PM

This website was made by St. Jude Children's Research Hospital. AFAIK they are a non-profit which runs treatment clinical trials on children cancer patients and doesn't bill them for anything.

The course was mentioned in a recent whoishiring thread. Sounds like it could be a purposeful place to work.

I'm not affiliated in any way, just found it interesting.

by yreg

7/6/2026 at 11:19:44 AM

Love the guide, out of curiosity, what is your background and what inspired you to create this?

by shnksi

7/6/2026 at 7:30:16 PM

Oh, I'm not the author! This was actually made by St. Jude's hospital.

I've seen it mentioned by one of their people in a recent whoishiring thread and found it neat.

by yreg

7/6/2026 at 3:56:29 PM

Super!

Maybe a section on RNA degredation and DNA stability and how it would affect sequencing would be nice.

Also, down stream analyses are largely missing e.g. differential analysis, pathway enrichment. Not to mention newer single cell techniques and their up/down sides. But good start!

by celltalk

7/6/2026 at 11:33:13 AM

Its like this was made for me haha ! I've been reading books about epigenomica to get an understanding. This is cool, will definitely spend my weekend going through it

by ramon156

7/6/2026 at 3:09:25 PM

One area that might be worth expanding in future sections is how these concepts scale when moving from single genes to whole-genome analysis and polygenic traits.

by murzynalbinos

7/6/2026 at 2:27:18 PM

This is super cool, thanks

by egyptianblue

7/6/2026 at 4:13:35 PM

Waiting for an enterprising hacker to develop mosquito gene drive in their garage. You could probably develop a thriving recurring income stream if you develop something that works

by engineer_22

7/6/2026 at 1:47:46 PM

> In plants and animals, DNA is broken up into a number of large sequences called chromosomes that are tucked into the nucleus.

This is a weird description, because ... it is not really "broken up". Each chromosome could be shuffled and put into different cells in different numbers. Now, it is unlikely that the resulting cell would be viable or useful, but my contention here is the "broken up" part. Chromosomes are just a way to handle the genome set. There are reasons why bacteria do not have chromosomes and this has mostly to do with the amount of DNA. To call this "breaking up" is a very strange description. (Size is not the only reason; duplication of the DNA before cell division is another important factor; bacteria usually have just one origin of replication, eukaryotes have several on each chromosome, otherwise the S-phase in the cell cycle would simply take too long.)

> Each genome is a biochemical database that, if properly accessed, can inform how our bodies function.

This is also a very strange description, aka "biochemical database". Not everything in a genome has a role with regards to biochemistry or metabolism. Some is just regulatory RNA; some of this relates to metabolism, but you also have e. g. piwiRNA or silencers of transposons and so forth. That in itself has only very rarely a biochemical function, with some exceptions (e. g. I would classify tRNA as related to metabolism, and many viruses have tRNA or use tRNA as quick-starters, but most of those regulatory RNAs do not have any function for metabolism directly, other than e. g. repurposing energy towards their own reproduction).

To me it seems as if the article was written by an engineer. That's fine, but it also means that the thinking is quite biased. Genetics is not quite so easy to engineer; a good example are leaky promoters used in synthetic biology (just ask the people who use such promoters how to make them un-leaky) or off-target cleavage effects in CRISPR-Cas(9 or whatever is used); I am pretty certain they'll give excuses as to why 100% accurate gene therapy isn't yet ready for the masses. And they'll do that for quite some years to come, I bet, usually hiding behind "it will cost too much" - when in reality, it should cost very little, if it were to work, rather than this just becoming the new meta-milking scheme.

by shevy-java

7/6/2026 at 2:53:11 PM

"Broken up" may not be the best choice of words, but you did not explain which synonym would make you happier: "divided", "segmented", "fragmented", "split", etc.

The DNA of a nucleated (a.k.a. eukaryote) cell is indeed split into multiple chromosomes and the number of the chromosomes and the number of genes on each chromosomes and the sequence of the genes on each chromosome are normally constant for a species and very similar for closely related species. The cells that have an incorrect number of chromosomes (which happens when a cell division does not work correctly) will normally die soon, because their DNA is incomplete.

Only when a cell has all the normal chromosomes, but also some extra chromosomes, it has a chance to survive, even if the extra chromosomes may interfere with some internal processes. Because superfluous chromosomes are much less harmful than missing chromosomes, there have been cases, rare at animals, but frequent at plants, when the entire genome has been doubled, when some cell division has failed, but the descendants of that cell have survived.

There are animals for which the number of the chromosomes and the sequence of the genes on them has remained unchanged for many hundreds of millions of years, though there are also animals where the DNA has been completely rearranged, because some chromosomes have fused into a single chromosome, other chromosomes have split into multiple chromosomes, and on some chromosomes the genes have been shuffled.

Nowadays, it is known that it is very likely that the common ancestor of all animals except comb jellies had 29 chromosome pairs (humans have 23 pairs). In most animal branches there were more chromosome fusions than chromosome splittings, so in the present most animals have fewer than 29 chromosome pairs.

Among the animals with the most conservative genomes are some sponges, some jellyfish, many echinoderms and some of their relatives, i.e. acorn worms, the lancelets, some nemertean worms and some bivalves.

by adrian_b

7/6/2026 at 12:28:15 PM

> This Guide is written specifically by and for computer scientists and engineers. The underlying biology in cancer genomics can be exceedingly complex and requires years of study.

This looks like a great guide to read.

But I think before diving deeper and reading the rest of the guide, which granted it is from employees working in a lab inside of a hospital, I'd like to get the expert opinion of a geneticist or an expert biologist with years of experience in genomics to iron out any issues in the guide or give an additional proof-reading review.

by rvz

7/6/2026 at 7:40:12 PM

Curious, have you thought about writing articles about the things that you are concerned with?

by Zie_Mordecai

7/6/2026 at 12:21:17 PM

[flagged]

by pullrun