pastForward: a Snakemake pipeline for ancient and historical DNA with eukaryote-wide taxonomic screening and tracking of copy-number variation
The authors present pastForward, a fully automated Snakemake pipeline that streamlines ancient and historical DNA analysis by integrating user-friendly processing, eukaryote-wide taxonomic screening, and copy-number variation tracking to enable longitudinal genomic studies across diverse species.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer
Imagine you are a time traveler with a very special camera. Instead of taking pictures of castles or dinosaurs, your camera captures the invisible genetic code left behind in old bones, dried insects, and dusty museum jars. This field of science is called ancient and historical DNA research. It's like trying to read a book that has been torn into tiny, burnt pieces and soaked in mud. The pages (DNA) are short, the ink is faded, and sometimes, someone else's handwriting (contamination from modern humans or bacteria) has been scribbled over the original story. Scientists care about this because these genetic scraps are the only direct windows we have into the past. They can tell us how animals changed when they became pets, how species survived ice ages, or how diseases spread centuries ago. But reading these messy, broken stories is incredibly hard. You need a very smart, very careful detective to piece them together without making mistakes.
Enter pastForward, a new, super-smart detective tool created by a team of scientists. Think of pastForward as an automated, all-in-one workshop for these genetic time capsules. Before this tool existed, scientists had to use a dozen different, complicated programs to clean up the DNA, check if it was real, and figure out what animal it came from. It was like trying to fix a broken watch using a hammer, a screwdriver, and a pair of tweezers, all while wearing blindfolds. pastForward changes the game by putting all those tools into one easy-to-use machine. It takes the messy, raw DNA data and runs it through a series of steps: it trims off the sticky bits, merges the torn pieces back together, and checks for "damage" that happens when DNA sits in the ground for thousands of years.
But pastForward doesn't just clean the data; it has two secret superpowers. The first is ECMSD, a taxonomic scanner that acts like a rapid-fire ID badge reader. It checks the DNA to see exactly which species is present, distinguishing the real ancient animal from modern contaminants or fake signals. The second superpower is REVEAL, a copy-counter. It can count how many copies of specific genetic "recipes" (like genes or jumping genetic elements) are in the DNA, allowing scientists to see if those recipes multiplied or disappeared over time.
The team tested this new machine on two very different time travelers. First, they looked at ancient dog bones from thousands of years ago. They wanted to see if the gene for digesting starch (AMY2B) changed as dogs were domesticated. The machine confirmed that while ancient wolves and early dogs had just one or two copies of this gene, modern dogs have about ten times as many. This proves that as humans started eating more starch-rich foods, their dogs evolved to eat the same diet, gaining extra copies of the starch-digesting gene.
In the second test, they looked at fruit flies (D. melanogaster) preserved in museum jars for nearly 200 years. They were tracking a "jumping gene" called opus. The results showed that this gene was completely absent in flies from the 1800s but appeared suddenly in samples from 1933 and stayed present in modern flies. This allowed the scientists to pinpoint exactly when this genetic invader took over the population.
By making these complex steps automatic and easy to use, pastForward allows researchers to focus on the exciting stories hidden in the DNA rather than getting stuck on the technical headaches of cleaning it up. It turns the messy, broken genetic code of the past into a clear, readable story, helping us understand how life has changed over time.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.