A search through more than 85,000 DNA collections has uncovered a previously unknown family of viruses hiding in the digestive systems of people and animals. The newly named egoviruses are not known to infect human cells, but their genetic links may help explain the distant history of the virus family that includes smallpox.

The discovery came from researchers led by Genoscope in France. Rather than collecting new samples from inside people or animals, the team combed through existing DNA data from environmental samples and from many species. They searched for a gene often found in large DNA viruses, then examined nearby genetic material and compared it with the DNA of known viruses.

The work, published in Nature, identified 12 complete egovirus genomes in samples from humans and animals, including pigs, goats, buffalo, chickens and deer. The researchers also found egovirus genetic markers in 864 samples from around the world. Almost all of those samples came from digestive systems.

The markers appeared at different rates in different species. They were found in about 26% of buffalo samples, 11% of pig samples and 2.3% of human samples. One egovirus group appeared across Europe, Asia, Africa and North America. Based on their findings, the researchers estimate that this group may be present in more than 1% of the world’s population.

That does not mean egoviruses are making people ill. The study suggests they infect single-celled organisms that live in animal guts, rather than animal cells themselves. Some of those tiny organisms help animals such as cows and buffalo digest food. The viruses’ role in these gut communities is still not fully known, and the study does not establish what effects they may have on their hosts.

The researchers’ comparison of egovirus genes with those of other large DNA viruses revealed a striking relationship: egoviruses are the closest known relatives of poxviruses. Smallpox is caused by a member of that virus group. This genetic connection offers a new clue to how poxviruses may have evolved, though it does not tell the whole story.

The team proposes that the shared ancestor of egoviruses and poxviruses infected single-celled organisms inside ancient animals more than 700 million years ago. Over time, poxviruses may have evolved the ability to infect animal cells directly. That is a hypothesis about deep evolutionary history, not evidence that today’s egoviruses cause smallpox or are on a path to doing so.

The discovery also points to how much remains hidden in the world’s microbial life. The study’s authors say egovirus diversity is probably substantially undersampled, especially in wild animals. Further searches could uncover more members of the group and help researchers test how these viruses relate to their hosts—and how a distant branch of the poxvirus family came to infect animal cells.