Everything is connected. And when I say everything, I include you, dear reader, and the tapeworms of Madagascar. They carry a hidden history of our entire species.

I’m sure we’d all prefer that there was no such connection. Tapeworm are not just gross, but they are pretty much the polar opposite of the human existence. They have no brain. They have no eyes. They lack mouths and guts, having turned their body inside out, absorbing food through its surface. Most of their hideously long body is made up of segments, each of which contains its own supply of both eggs and sperm. To reproduce, the tapeworm fertilizes its eggs, either with its own sperm or another tapeworm’s, and then sheds its segments. Once out of the body, those segments can crawl around on the ground on their own.

But, like it or not, tapeworms–or at least the pork tapeworm Taenia solium–has an intimate relationship with us. After all, it can only live in our guts as an adult, where it will dwell for years and grow over 20 feet long. Without us, these tapeworms would simply not exist. From the safety of our guts, they can shed six egg-loaded segments a day, each of which contains 50,000 eggs. If a pig swallows one of these eggs, it hatches in the animal’s intestines, drills its way into the abdominal cavity, and finds a muscle to infect. There it dwells in a barely visible cyst, for years if need be. In order to complete its life cycle, it must get into another human, which it does if a human eats a piece of infected, undercooked pork.

Carrying an adult tapeworm around in your gut may be disturbing, but it’s not the worst thing a tapeworm can do to you. Sometimes people get infected with the eggs of pork tapeworms, rather than the cysts. Instead of developing into an adult, the tapeworm treats you like a pig. It invades your muscles, where it makes a cyst. Sometimes the tapeworms can get into people’s brains. These cysts can trigger dangerous reactions from our immune systems, and can sometimes be fatal. This disease, known as cysticercosis, is relatively rare in the United States. Only 221 people died of it between 1990 and 2002. But in other parts of the world, it’s a lot worse, with ten percent or so of the population of many countries showing signs of having had the disease.

Madagascar is one of those countries. In the highlands, over 20% of people have antibodies to cysticercosis. To get a better handle on the epidemiology of the disease, medical researchers at the Pasteur Institute of Madagascar have traveled around the country, gathering tapeworm from different regions. They isolated DNA from 13 of the samples and then compared their genetic sequences to see how they were related to one another, and to tapeworms from other parts of the world.

The family tree of tapeworms they got was strangely ancient and alien. In many cases, the closest relatives of tapeworms on Madagascar are not other tapeworms on Madagascar. The tapeworms that live in the southwest part of the island are closely related to tapeworms hundreds of miles away, in Africa. The tapeworms in other parts of the island are more closely related to tapeworms thousands of miles away, in south Asia.

The scientists then tallied up the mutations in each lineage of tapeworm to figure out how long ago they had split off from a common ancestor. All the T. solium tapeworms the scientists studied descend from a common ancestor that lived about 680,000 years ago. The southwest Madagascar tapeworms and the tapeworms of Africa share a common ancestor that lived 235,000 years ago. All of the Madagascar and Asian tapeworms share a common ancestor that lived about 260,000 years ago. The Madagascar tapeworms and their very closest Asian relatives share an ancestor that lived 85,000 years ago.

So how on Earth did one remote island end up with two such deeply split lineages of tapeworms in their pigs? The answer is like a guided tour through the evolution of our species, rolling right on through the history of civilization.

Along with pork tapeworms, there are two other species of Taenia that live in humans. One, T. asiatica, also cycles between people and pigs, but only in Asia as the name suggests. The other, T. saginata, moves between people and cows. Both of these human tapeworms use domesticated hoofed mammals (known as ungulates) as their intermediate hosts. Pigs and cows were only domesticated within the past 11,000 years or so. The best way to find clues to how these tapeworms colonized us is to compare them to the 39 species of Taenia tapeworms that infect wild animals. Eric Hoberg, a parasitologist at the U.S. Department of Agriculture, and his colleagues have found that most Taenia tapeworms form cysts in wild ungulates, such as antelopes, and then become adults in the carnivores that eat their intermediate hosts. The closest relatives of all three human tapeworms live in Africa. Hyenas are the hosts of the closest relatives of pork tapeworms, while lions are the hosts of the closest relative to the other two species, T. saginata and T. asiatica. Hoberg and his colleagues compared the mutations in the DNA of T. saginata and T. asiatica and found that their common ancestor lived somewhere between 780,000 and 1.71 million years ago.

The new results from Madagascar fit in nicely with Hoberg’s results. Hundreds of thousands of years ago, our ancestors lived in Africa, where they scavenged meat from ungulates. In so doing, it appears, they stepped into the life cycle of Taenia tapeworms. Tapeworms that might have ended up in the gut of a hyena or a lion ended up in the gut of our ancestors instead. Over thousands of years, some populations of these tapeworms adapted to our scavenger ancestors. These were the common ancestors of today’s human tapeworms, whose great antiquity is now recorded in the DNA of living tapeworms.

As hominins expanded their ranges both within Africa and beyond it, they carried their tapeworms along for the ride. As hominins scavenged new game, the tapeworms adapted to new intermediate hosts. Hominins gradually developed the skills and weapons to hunt game, offering still more opportunities for their tapeworms. Neanderthals and other hominins hunted wild boar as well, and it’s likely that we infected them with the ancestors of today’s pork tapeworms.

Starting about 11,000 years ago, humans domesticated pigs many times over, both in East Asia and in the Near East. Now the trip from host to host became ridiculously easy for the tapeworms. Instead of waiting for its wild boar host getting speared by a hunter, it could make the journey on the dinner plate. Judging from the deep split in the evolution of pork tapeworms, the parasites must have made two separate shifts from wild boar to domesticated pigs, in both East Asia and the Near East.

The genealogy of the tapeworms also matches up nicely with the human history of Madagascar. People only arrived on the island 2000 years ago. They came from two directions. Bantu farmers sailed from the west from Africa across the Mozambique channel. Asians came from the east, traveling thousands of miles across the Indian Ocean from Indonesia. Malagasy culture emerged from the mingling of these two origins. That culture also includes the livestock that the Bantu and Indonesians brought to the island. And those animals brought parasites with them that had been separated for almost 700,000 years, reaching back to a time when our ancestors had yet to invent fire or spoken language.

[Image: Chiang Mai University]

Originally published April 26, 2010. Copyright 2010 Carl Zimmer.