image copyrightGetty Images

In late December 2019, a team of virologists in three major Chinese cities began analyzing swab samples from hospitalized patients with mysterious cases of severe pneumonia.

They had all been to the Huanan Seafood Market in Wuhan before quickly falling ill. However, when analyzing the samples, virologists obtained inconclusive results: the genetic material did not match any previously discovered pathogen.

Doctors turned to a new detection method known as metagenomic analysis. Instead of looking for already known microbes, this test allows us to identify all the microorganisms present in the samples, both those that had already been described and those that had not.

Thanks to this, they were able to observe that the pathogen found in the patients' samples bore a great similarity to the coronavirus family, a group that includes viruses that, in the past, had caused outbreaks of severe pneumonia in humans, such as Middle East respiratory syndrome (MERS). Scientists had just discovered covid-19.

"It was a turning point compared to previous pandemics," said Niranjan Nagarajan, an associate professor at the National University of Singapore.

Identifying the pathogen made it possible to quickly develop diagnostic tests for Covid-19, in order to try to stop its spread, and began a frenetic search for treatments and vaccines around the world.

To date, this remains the best-known use of metagenomics. However, this technique is increasingly used in hospitals. From quickly diagnosing sepsis to identifying the causes of unexplained ailments, you're already saving lives.

Reveal the unknown

When a patient arrives at a neurology unit showing signs of confusion and drowsiness, and with fever, headache and weakness, doctors are fully aware that it could be a life-or-death emergency.

End of Most read

All the news you need is on BBC World Service

Download it here

End of Ad app

This set of symptoms may indicate meningitis or encephalitis, life-threatening conditions that affect the brain and spinal cord. However, physicians often face a critical dilemma. The most appropriate treatment would depend on whether the patient's condition is due to a virus, bacteria, or an overreaction of the brain's immune system.

However, given the shortage of time and diagnostic tests, doctors are often forced to act with caution, covering several possibilities at the same time.

"A decision needs to be made immediately," says Charles Chiu, a professor and infectious disease expert in the Department of Medicine at the University of California, San Francisco, who has been conducting new studies on the use of metagenomic testing.

"Currently, when it comes to critically ill patients, doctors treat them for both a possible infection and an autoimmune disease."

In some ways, this is contradictory, since it involves suppressing the patient's immune system, even when they could be suffering from an infection. "But often there is no other option," says Chiu.

Metagenomics is now helping to guide these decisions. Chiu and his colleagues have developed a pioneering metagenomic test to identify pathogens in cerebrospinal fluid, the fluid that bathes the brain and spinal cord. This test has already made it possible to detect cases in which, unbeknownst to doctors, a pathogen was the cause of the patient's symptoms.

For example, Chiu cared for a patient diagnosed with meningitis and liver failure, who was scheduled for a liver transplant. However, metagenomic testing performed on his cerebrospinal fluid revealed that he was actually suffering from hepatitis E virus infection.

Although hepatitis E is a known and treatable cause of liver disease, it is not typically included in routine diagnostic testing in high-income countries such as the United States.

"We gave him an antiviral drug, his condition improved and we prevented him from having to undergo the transplant," explains Chiu.

Until recently, the use of metagenomics was limited by the time required to perform the analysis. Separating human from microbial DNA, as well as identifying signs of a potentially worrying pathogen, requires highly specialized skills.

"Conducting sequencing and analysis can take several days to a week," says Nagarajan. "The patient could die before a result is obtained."

However, today there are machines capable of sequencing DNA in just one or two hours, and artificial intelligence tools that can process massive data sets to decipher the patterns they contain. This is ultimately making metagenomics much more accessible.

Race against time

For people with poorly functioning immune systems, any infection can quickly become a life-threatening threat. Transplant recipients, cancer patients undergoing immunosuppressive treatments, and those living with autoimmune diseases must be on constant high alert.

Studies have suggested that immunocompromised patients who develop sepsis or blood poisoning due to infection have a 23% increased risk of dying in hospital. However, making a quick diagnosis in these cases is not always easy.

"Diseases like pneumonia or sepsis can be caused by hundreds of potential pathogens, resulting in a very long diagnostic odyssey in which we have to send test after test," says Chiu. "It can be a race against time."

In Singapore, Nagarajan is leading a project to see whether AI-enhanced metagenomic screening can lead to faster, more specific treatment for immunocompromised people.

A typical data set, Chiu says, is riddled with spurious information. This includes the seemingly harmless viruses that most people carry and laboratory microbes that have accidentally contaminated the sample. AI can help with this by sorting metagenomic data sets, making it faster and easier for doctors to get an idea of ​​what's happening.

A patient could also have multiple coinfections, only one of which makes them sick, or the damage could be related to an autoimmune response and not related to a pathogen at all.

AI can help identify which pathogens are causing the damage by analyzing how the person's genes are expressed, such as what proteins they are producing. This can be used to determine whether a patient's immune system is likely to be fighting a virus or happily coexisting with it.

"(This) gives us the ability to do precision medicine... which will allow us to personalize or tailor the optimal treatment," Chiu says.

Transforming public health

As data is collected on the effectiveness of metagenomics, it could play an increasingly important role in hospitals. Last year, for example, a pilot study conducted in two London hospitals examined whether metagenomics could provide additional information on patients hospitalized with respiratory infections. It was found that, in 30% of cases, these tests identified pathogens that were not detected by conventional methods.

In one specific case, the test prevented a patient from having to undergo invasive surgery: he had tuberculosis, and not lung cancer, as initially assumed.

The test also detected two cases of the respiratory virus parvovirus B19. This occurred months before agencies in the United Kingdom and Europe issued public health alerts about its growing prevalence, suggesting that metagenomics could serve to warn authorities about emerging epidemics.

In fact, Nagarajan notes that several laboratories in Singapore are currently conducting metagenomic analyzes on wastewater and air samples. The data is then processed by artificial intelligence models trained to detect signs of new viruses, as part of efforts to prevent the next pandemic.

Proactive surveillance could have similarly served as an early warning against Covid-19. In Italy, wastewater analysis revealed the presence of traces of the virus months before the first cases were confirmed in the country.

*This article was published on BBC Future. Click here to read the original version (in English).

Discover more

Video

End of Video

What are serological and molecular tests like to detect covid-19 and what advantages and disadvantages do they have?

7 scientific advances that have been achieved thanks to the (huge) research efforts caused by the coronavirus

Top news

Why the historic summit between Trump, Putin and Xi worries Europe (and what it could mean for the rest of the world)

What was the sophisticated attack with which Ukraine destroyed part of Putin's prized Crimean bridge (and what consequences will it have)?

Xi receives Trump and Putin in Shenzhen, China's "city of dreams": this is what they won't see

Don't miss it

Most popular readings