The Code Behind a Historical Discovery
When Sam Vohr enrolled in a bioinformatics course at the University of New Hampshire nearly two decades ago, he had no idea the experience would eventually contribute to a groundbreaking discovery about American history.
That unexpected connection came full circle when Vohr, a UNH computer science alumnus, played a key role in a Smithsonian research project that provided the strongest genetic evidence yet that Thomas Jefferson fathered children with Sally Hemings, an enslaved woman at Monticello. Vohr helped develop the computational methods used to analyze DNA recovered from Jefferson's hair and compare it with the genomes of Hemings' living descendants.
The findings marked the culmination of a 15-year research effort led by Smithsonian scholar Richard Kurin that concluded Jefferson was most likely the father of two of Hemings' sons, shedding new light on a question debated for more than two centuries.
Kurin chronicles the investigation in his new book, History by a Hair: Thomas Jefferson, Sally Hemings & Solving a 200-Year-Old Mystery, which also highlights Vohr's contributions. In the following conversation, Vohr reflects on his journey from UNH to this historical finding.
What was it like to see the results announced and meet descendants of Sally Hemings?
After 13 years of working on this project at varying levels of intensity, often remotely on nights and weekends, it felt like a dream to be in the lecture hall at the Smithsonian, surrounded by long-time colleagues, historians and descendants of Thomas Jefferson, Sally Hemings and other families of Monticello. I was struck by how deeply personal this history is for the descendants and how much it meant to them to have their family history reaffirmed through science.
How did you become involved in this project, and what interested you about it?
After completing my master’s degree at UNH in 2010, I pursued a bioinformatics Ph.D. at University of California, Santa Cruz where I joined the Paleogenomics Lab. Kurin approached the lab about the possibility of recovering DNA from hairs found in Jefferson’s personal bible and answering the Jefferson-Hemings question conclusively. I was excited to join the project because it was a compelling historical mystery and it was amazing that we were in a position to solve it with ancient DNA.
What was your specific contribution, and how did computer science help uncover the findings?
I was brought on the project to do genealogical simulations to see if we would be able to distinguish between the paternity scenarios. I wrote a python script to simulate chromosome recombination and inheritance over several generations to see how much Thomas Jefferson DNA we would expect to find in a descendant of Sally Hemings under each possible paternity scenario. The simulations gave us confidence that we could get a clear result, but they also gave us a sense of urgency, because it was clear that the signal weakened with each passing generation.
Even after leaving the lab for a position in industry, I was able to continue working on the project and developed software for detecting Thomas Jefferson DNA segments in the genomes of descendants. It is based on a Hidden Markov Model, a versatile data analysis tool that I was first introduced to in the Artificial Intelligence class I took at UNH. Once we had identified these segments, I designed and implemented the statistical analyses based on simulations to calculate and compare the likelihoods of each paternity scenario.
How did your UNH education, particularly your bioinformatics class, shape your career?
My undergraduate degree in Computer Science gave me a terrific set of tools for problem solving and conducting scientific research. Part of this was learning how to write code and develop software, but also topics I learned in non-major courses like discrete mathematics, probability, and statistics. As a master’s student, I was introduced to additional advanced topics like artificial intelligence and data visualization and had my first opportunities to participate in research. The bioinformatics class I took was unlike any class I had taken before. It was my first opportunity to be an expert on an interdisciplinary team and I enjoyed combining my own skills with the expertise of my colleagues to answer biological questions.
I should also mention that having the benefit of in-state tuition at UNH and support as a research assistant through my master’s played an important part in shaping my career path. I was very fortunate to complete my degrees at UNH with very little debt and that gave me the freedom to pursue my Ph.D. in bioinformatics and work in the field of ancient DNA.
How is AI changing your field?
It’s always exciting to see how new methods can unlock old questions in biology. In industry, LLMs have fundamentally changed the way our software engineering team operates and that has led to new challenges now that code is so easy to produce, like keeping up with code review and knowing what code is really worth generating. It also has allowed us to experiment quickly with our data, develop proofs-of-concepts, and create compelling demonstrations for how new scientific analyses can become exciting results for customers.
What are you doing professionally today?
I’m a Principal Scientist at Embark Veterinary, a canine genomics start-up that offers direct-to-consumer DNA testing for ancestry, health, and more. In my role, I have worked on the algorithms for inferring ancestry in mixed-breed dogs and our relative finder for identifying a dog’s closest relatives in our database. It may seem very different from my work on the Thomas Jefferson project, but the basics of genetic inheritance and relatedness are the same for humans and dogs. The biggest difference is that dogs have 39 pairs of chromosomes while humans only have 23.