In January, the pharmaceutical company Roche paid more than a billion dollars to buy about half of a small company called Foundation Medicine. Foundation has not invented any new drugs or life-saving devices. Most insurance companies won’t pay for its main product, and like a lot of biotech companies, it loses money.

The big bucks are for Foundation’s information. Roche, Foundation, and many other cancer researchers now believe that thinking about cancer in terms of data is going to be the way to beat the disease. The deal gives Roche access to Foundation’s database, which holds the DNA sequences of the tumors of 35,000 cancer patients, along with information about what kinds of drugs they were treated with and how good those drugs were at beating back the cancer.

Traditionally oncology has been information poor. Cancers have been categorized and treated based on what body part they afflict, how the cells look under a microscope, and how much the tumor had spread, leading to a diagnosis like “Stage 2 colon cancer.” This typology has become more sophisticated over the years, but it still lumps lots of cancers together. It’s like doing a census of Noah’s ark and concluding that the boat contains a total of one dozen kinds of animals: Ones with feathers and wings, those with six legs and wings, some with fur and four legs, and so on. It’s not wrong, but it gives only a blurry picture of reality.

In cancer, that has not been good enough. Cancer drugs work (i.e. significantly shrink tumors) a dismal 22 percent of the time, and oncologists have a hard time predicting which one is best for which patient. According to one estimate, $39 billion of the $50 billion spent annually on cancer drugs is wasted in this way. It’s “trial-and-error medicine,” in the phrase of former Roche executive Mara Aspinall.

The old method for categorizing cancers is like doing a census of Noah’s ark and concluding that the boat contains a total of one dozen kinds of animals: Ones with feathers and wings, those with six legs and wings, some with fur and four legs, and so on.

DNA sequencing and other biological information technologies are changing that. Already, tumor-gene sequencing reveals that what we have been calling “kidney cancer” or “lung cancer” is, in a sense, a thousand or a million diseases, each with a different pattern of mutations and other molecular mistakes. Each tumor is its own miniature ark, stuffed full of bizarrely dysfunctional cells with a wide range of corrupted DNA. One recent study of kidney cancers found that no two patients had exactly the same set of genetic mistakes; in fact, no two tumors within the same patient had the same mutations. Taking it one step further, one high-resolution DNA-sequencing study of breast cancer last year couldn’t find two cells within one tumor that were genetically identical.

This matters because identifying the mutations often shows how to attack the cancer—where its weaknesses are. Drug developers have now invented dozens of “targeted therapy” drugs that zero in on cells with a particular cancer-related genetic mutation and either kill or disable those cells. Because these drugs are so specific, they are often more effective than older drugs—think of Erbitux for some kinds of colon cancer, or Herceptin for certain types of breast cancer. But in order to use these weapons, you have to first know which enemy you are attacking.

So looking for HER2 mutations in breast cancers has become standard, as well as testing some advanced lung cancers for mutations in another gene, EGFR. But these tests only detect one mutation at a time—looking for the keys under the lamppost. A better approach is to do a comprehensive search for mutations.

Patient samples sent to Foundation Medicine are scanned for about 300 mutations known to play a role in cancer, no matter if the tissue comes from breast or bone or lung. The hope is that this information will reveal a genetic smoking gun, a mutation that can be exploited with the right drug. In the best-case scenario, eventually every cancer will turn out to have one of these vulnerabilities, and genome sequencing (or some other method of intensive biological data analysis) will identify it. “With all this new data, we’re teasing apart patient populations so that we’re not talking about a patient with ‘stage X’ breast cancer, but identifying the cancer at the level of the molecular driver,” said Foundation Medicine president Michael Pellini at the Personalized Medicine World Conference in January.

“I’m beating lung cancer thanks to genomic sequencing, and thanks to data.”

Today many elite cancer centers offer comprehensive genetic analysis, especially for advanced cancers; Boston’s Dana Farber now offers it to all adult patients. The information approach has already changed the way non-small-cell lung cancer (the most common kind) is classified: NSCLC is now described by its predominant mutation, rather than by the tissue that hosts it. And this way of thinking about cancer is one of the driving forces behind the precision initiative announced by President Obama at the end of January.

Using data to change the way we treat cancer will not be as easy as using it to tweak prices of consumer goods on Amazon or avoid traffic jams with a crowdsourced app like Waze. Biology is more complicated than man-made systems. One 2012 study of 100 people with breast cancer found mutations in 40 different genes in 73 different combinations; some people had as many as six different mutations that played a role in their cancer. Tumors also evolve in response to treatment, so it may be necessary to repeatedly sequence tumor DNA to stay one step ahead of the cancer—and for many mutations, there may be no suitable drug.

But there are already occasions on which this information-rich approach to cancer therapy has worked. One of the 35,000 people in Foundation Medicine’s database is a young woman named Corey Wood. She found out last spring, just a week after graduating from college, that she had stage IV non-small-cell lung cancer that had metastasized to her bones and eye. The disease is usually treated with drugs that work only about 20 percent of the time. But a bit of her tumor sent to Foundation Medicine revealed a flaw in the gene ROS-1, meaning that it could be treated with a drug called Xalcori that shuts down the activity of cells with that aberrant gene. Less than two percent of lung cancers have this mutation, so her oncologist likely never would’ve tried this drug on her without the genetic tip-off.

Wood started taking the drug, and within three months, her cancer was nearly gone. In February she got the news that she is officially cancer-free. “I’m beating lung cancer thanks to genomic sequencing, and thanks to data,” she told an audience at the Forbes Healthcare Summit last fall. The bet that Foundation, Roche, and many other cancer researchers are making is a big one, but for her it has already paid off. 

Kat McGowan is a contributing editor at Discover magazine and an independent journalist based in Berkeley, Calif., and New York City.