Large genome models used to design new viruses

Aug 07, 2026 - 01:09
0 0
Large genome models used to design new viruses

The AI system makes genetically distant versions of a bacteria-killing virus.

A lot of the AI work in biology has been focused on designing proteins. That’s partly because proteins do most of the business of life, catalyzing the interesting chemistry and structuring cells. So, figuring out how to make a new protein can mean directly tinkering with biochemistry, providing new and potentially useful functions.

Since the genetic code provides a layer of abstraction between DNA and proteins, it wasn’t obvious what a model trained on DNA could do. Yet people went ahead and made a large genome model, and it turned out to be able to output DNA sequences that could encode functional proteins in bacteria and mimic the gene structures found in complex cells. Now, those same models have been used to output the genomes of viruses that infect bacteria.

This isn’t science fiction—all the viruses the models created are closely related to an existing virus. But they do have some distinct features that would be challenging to evolve. And the researchers who did the work, based at Stanford University, suggest we may want to start thinking now about preparing for the potential that someone could develop a related AI that can design a virus that targets vertebrates.

Large genome models

Large language models are essentially trained on their ability to predict the next bit of verbiage in as large a compendium of human-generated text as their developers can get ahold of. Large genome models are the same approach, but applied to DNA. To an extent, that simplifies matters, given that DNA only uses four “letters,” A, T, C, and G. But it’s more complicated in that genomes typically have areas where the next letter matters a great deal, interspersed with sequences where the next base could be anything and it wouldn’t matter.

So large genome models need to recognize the biological context of the sequence they’re outputting in many situations where we humans haven’t figured it out yet. Yet, if we feed them enough genome sequences, they seem to be able to. Bacterial genes with related functions tend to cluster together. Prompt a large genome model with the sequence of part of a cluster, and it’ll output DNA sequences that encode proteins with related functions—potentially including working proteins that look like nothing else we’ve identified so far.

But our own lack of knowledge places limits on what we can do with these models. If we prompt them with a bit of sequence from a complex cell, it will respond with a string of bases that contain what look like genes and regulatory DNA. But, since most genes can be located essentially anywhere in a eukaryotic genome, we have no idea what functions these hallucinated genes might perform (if any), so we can’t really test them in any way.

Still, as a precaution while training these models, termed Evo 1 and Evo 2, the researchers did not provide them with any sequences from viruses that target complex cells. Even if we can’t understand what they output, there’s a chance that they’ll output something dangerous.

But there’s a whole world of viruses that attack bacteria and can’t infect humans. And those, the Evo developers figured, are fair game. So, rather than looking at whether Evo 1 and Evo 2 could output reasonable-looking genes, they decided to test if they could output an entire genome.

Order from chaos

The model virus they chose as a test case is the catchily named ΦX174, part of a larger family of viruses that infect E. coli. In addition to the convenience of using the best-studied bacteria on the planet for tests, ΦX174 has a number of notable features. It’s fairly simple: At 11 genes spread over about 5,400 bases, all 11 of those genes have identified functions, and the virus’s infection cycle is well characterized.

It also has a useful feature from the perspective of working with a large genome model: The end of the virus always has the same short sequence of bases. So, if you use those bases as a prompt, the large genome model should be able to recognize that it needs to respond by outputting a sequence that is in some way related to ΦX174.

To further prepare their models, Evo 1 and Evo 2 were fed over 2 million additional bases of DNA sequences from viruses that infect bacteria (termed bacteriophages), and then fine-tuned with sequences specific to Microviridae, the group that ΦX174 belongs to. After that, they experimented with different prompts. Prompt with too much of the ΦX174 start sequence, and it would simply spit the rest of the genome back out. Too little, and it would generate lots of unrelated sequences. The researchers eventually found prompts with four to nine bases of the start sequence worked best.

While the outputs were primed to return something that looked like ΦX174, they literally could be anything—from near-carbon-copies of the normal virus to sequences that are only vaguely viral. To address this, the research team put a lot of pre-conditions on the outputs designed to throw away some of the more extreme ones while still enforcing a bit of tinkering.

For example, ΦX174 uses its own version of a spike protein to latch onto and infect bacteria; if the gene that encodes spike is missing or damaged, the virus simply wouldn’t work. So they discarded any outputs that had a spike protein that was less than 60 percent identical to the real one. They also threw out viruses that were too long or too short (< 4,000 bases or > 6,000), any that had strings of the same base more than 10 bases long, and any that had unusual frequencies of the two base pairings (GC and AT).

Throwing out those at the computer analysis stage left them with a reasonable number of potential outputs to test: 302 proposed viral sequences. They were able to chemically synthesize the sequences of 285 of them and inserted them into bacteria to see what happened. In most cases, the answer was “nothing.” But 16 of the sequences managed to inhibit the growth of the E. coli, suggesting they were actually working as viruses. Nine were the initial sequences output by the AI, and the remaining seven had acquired additional mutations after being inserted into bacteria.

The same, yet different

In some ways, these designed viruses were quite similar to the original ΦX174, but in other ways they were quite distinct.

For the “the same” perspective, the most effective viruses in the group of 285 tended to look a lot like the original. The overall fraction of viable viruses was only 16 out of the 285 outputs tested (5.6 percent). But if you looked only at the outputs that were most similar to the original ΦX174 (those with 98 percent sequence similarity and up), viability rose to 46 percent. So, if you don’t look a lot like a normal ΦX174, chances are good that you’re not going to work as a virus at all.

Most of the viable viruses had the same set of genes found in the original. None of them had even a single change in the stretch of DNA where the duplication of the virus’s genome starts.

All of that is in keeping with past studies that have shown that making even a single base change that alters just one amino acid in one of the proteins made from the virus’s genome had, on average, a 20 percent chance of inactivating the virus entirely. ΦX174 doesn’t just fear change; it’s typically murdered by it. Accordingly, the changes suggested by the AI produced a population of viable viruses that, on average, looked a lot like the original.

But, as individuals, the viruses were fairly distinct. One of them lost one of the viral proteins entirely, compensating for its loss with changes elsewhere in the genome. Another added an entirely new gene. Many had genes that were either longer or shorter than the original. One even replaced one of the ΦX174 genes with a gene from a very distantly related virus.

The researchers did an interesting analysis based on the idea that any one amino acid change had a 20 percent chance of inactivating the virus. Doing the math, they say that any viruses with less than 25 changes have only a 2.3 percent chance of being viable. Of the 300 or so viruses the AI output, five viruses fell in that range, and three of them were viable. At above 25 individual amino acid changes, the chances of producing a viable virus are essentially zero. Yet nearly a quarter of the AI-suggested viruses that had more than 25 changes were viable, including two that had over 50 amino acid alterations.

This tells us the AI is far more likely to make changes that leave a viable virus behind than random mutation.

Benefits and risks

This study is interesting from an intellectual perspective, but the researchers also show that it might be useful. Bacteriophages have been tested as therapies for bacterial infections that are resistant to standard antibiotics. But many bacterial strains have already evolved resistance to some families of viruses, including ΦX174. One potential solution to that is to use a cocktail of bacteriophages, since it may not be easy or even possible to evolve resistance to all of them.

And here, the AI has produced a cocktail of potential viruses. So the team tested a cocktail of natural bacteriophages that normally prey on E. coli and compared it to a cocktail of the 16 viable AI products. In their tests, the natural bacteriophage cocktail failed, but the AI-generated group managed to quickly evolve the ability to infect their otherwise resistant hosts. The researchers suspect that the process of overcoming resistance involved some of the AI-designed viruses swapping segments of DNA and the appearance of additional mutations.

It’s not clear whether this is a major potential benefit; phage therapies have been under consideration for years but haven’t seen widespread public use, despite the growing problems with drug-resistant bacterial strains. And the authors are very clear that large genome models come with risks. Although they excluded viruses that infect vertebrates from their training data, anyone with access to sufficient computing resources could repeat the process with those viruses included.

The paper ends with a call for better governance of this and related areas, such as the ordering of custom DNA sequences. So far, however, regulation of AI has largely failed to keep up with the rapid pace of the field.

Science, 2026. DOI: 10.1126/science.aec2657  (About DOIs).

Photo of John Timmer

John is Ars Technica's science editor. He has a Bachelor of Arts in Biochemistry from Columbia University, and a Ph.D. in Molecular and Cell Biology from the University of California, Berkeley. When physically separated from his keyboard, he tends to seek out a bicycle, or a scenic location for communing with his hiking boots.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0

Comments (0)

User