Computer scientists at ETH Zurich have developed a digital tool capable of searching through millions of published DNA records in a matter of seconds. This can significantly accelerate research into antibiotic resistance and unknown pathogens.

DNA datasets can be searched quickly using a simple search function in the “MetaGraph” tool. (Image generated with AI: Adobe Stock / ETH Zurich)
In brief
- “MetaGraph”, a new ETH tool enables fast searching of DNA sequences – efficiently, accurately and at favorable costs.
- In order to achieve this, the researchers use indices enabling better structuring of large data volumes, making them easy to search.
- As an open-source tool, MetaGraph is freely accessible, offering a wide range of potential applications.
Rare hereditary diseases can be identified in patients and specific mutations in tumour cells detected – DNA sequencing revolutionised biomedical research decades ago. In recent years, new sequencing methods (next-generation sequencing) in particular have resulted in numerous scientific breakthroughs. In 2020/2021, for example, they enabled the rapid decoding and global monitoring of the SARS-CoV-2 genome.
Meanwhile, more and more researchers are making the results of sequenced DNA publicly available. This has given rise to the creation of huge data volumes, which are stored in central databases such as the American SRA (Sequence Read Archive) or the European ENA (European Nucleotide Archive). Around 100 petabytes of data are stored there – roughly the same amount as all the text on the internet, one petabyte being the equivalent of one million gigabytes.
To date, biomedical scientists have needed massive computing power and other resources to search through this amount of DNA sequences and compare them with their own sequences – making the efficient searching in such mountains of data a sheer impossibility. Computer scientists at ETH Zurich have now solved this problem.
Full-text search instead of downloading entire data sets
The scientists have developed a method that greatly shortens and facilitates this search. The “MetaGraph” digital tool searches the raw data of all DNA or RNA sequences stored in the databases – just like a conventional Internet search engine. After entering a sequence they are interested in as full text into a search mask, researchers can find out within seconds or minutes, depending on the query, where it has already appeared.
“It’s a kind of Google for DNA,” as Gunnar Rätsch, a professor and data scientist at the Department of Computer Science at ETH Zurich summarises.
Until now, researchers had to search the databases for descriptive metadata. In order to access the raw data, they had to download the respective data sets. These searches were incomplete, time-consuming and expensive.
Scalable indexing with MetaGraph

a, The size of evaluated index data structures for representing a set of microbial whole-genome sequencing (WGS; BIGSI dataset) experiments of increasing size, shown for both lossy indexing methods COBS and kmindex, and for lossless Mantis, Bifrost, Themisto, Fulgor and MetaGraph with the SuccinctDBG and RowDiff<Multi-BRWT> compression schemes to encode the graph and the annotation, respectively. The dashed lines indicate lossy methods. b, The times for querying human gut metagenome AMPLICON sequencing reads against indexes constructed with MetaGraph and other state-of-the-art tools from sets of microbial WGS experiments of increasing size. All curves show the performance of exact k-mer matching, except for the dotted MetaGraph curve, which shows the query performance with the more sensitive search strategy involving alignment. c, Overview of all MetaGraph indexes. For all datasets, we show the total number of input characters on the x axis and index size (given as the total number of unique k-mers) on the y axis. The marker size represents the size of the index. The solid portion of each marker represents the fraction of the total size taken by the graph and the translucent portion represents the fraction taken by the annotation (Table 1). Asterisk indicates that the inputs of the UniParc dataset are amino acid sequences, not base pairs.
“MetaGraph“ is comparatively favorable in terms of costs, as the researchers state in their study. The representation of all public biological sequences would fit on a few computer hard drives, while larger queries should cost no more than 0.74 dollars per megabase.
As the DNA search engine the ETH researchers have developed is also both precise and efficient, it can help to accelerate genetic research – for example, in the case of little-researched pathogens or new pandemics. In this way, the tool could become a catalyst in research into antibiotic resistance: for example, by identifying resistance genes or useful viruses that can destroy bacteria – known as bacteriophages – in the databases.
Compression by a factor of 300
In the study published on 8 October in the journal Nature, the ETH researchers demonstrate how MetaGraph works: the tool indexes the data and presents it in compressed form. This is achieved by way of complex mathematical graphs that improve the structure of the data – similar to spreadsheet programmes such as Excel.
“Mathematically speaking, it is a huge matrix with millions of columns and trillions of rows,” as Rätsch states.
The idea of rendering large amounts of data searchable with the help of indexes is standard practice in computer science research. What is new about the work of the ETH researchers, however, is the complex linking of raw data and metadata and the compression by a factor of about 300, similar to a book summary: it no longer contains every word, but all the main storylines and connections remain intact – more compact, yet without any relevant loss of information.
“We are pushing the limits of what is possible in order to keep the data sets as compact as possible without losing necessary information,” says André Kahles, who, like Rätsch, is a member of the Biomedical Informatics Group at ETH Zurich.
By contrast with other DNA search masks currently being researched, the ETH researchers’ approach is scalable. This means that the larger the amount of data queried, the less additional computing power the tool requires.
Half of the data is already available now
The ETH researchers first presented MetaGraph in 2020 and have been continuously improving it ever since. The tool is already available for queries. It provides a full-text search engine for millions of sequence sets from DNA and RNA, as well as proteins from viruses, bacteria, fungi, plants, animals and humans. At present, just under half of the sequence data sets available worldwide are indexed. According to Gunnar Rätsch, the rest should follow by the end of the year. Given that MetaGraph is available as open source it could also be of interest to pharmaceutical companies that have large amounts of internal research data.
Kahles even believes it is possible that the DNA search engine will one day be used by private individuals: “In the early days, even Google didn’t know exactly what a search engine was good for. If the rapid development in DNA sequencing continues, it may become commonplace to identify your balcony plants more precisely.”
Source – ETH Zurich
Computer scientists at ETH Zurich have developed a digital tool capable of searching through millions of published DNA records in a matter of seconds. This can significantly accelerate research into antibiotic resistance and unknown pathogens.
DNA datasets can be searched quickly using a simple search function in the “MetaGraph” tool. (Image generated with AI: Adobe Stock / ETH Zurich)
In brief
Rare hereditary diseases can be identified in patients and specific mutations in tumour cells detected – DNA sequencing revolutionised biomedical research decades ago. In recent years, new sequencing methods (next-generation sequencing) in particular have resulted in numerous scientific breakthroughs. In 2020/2021, for example, they enabled the rapid decoding and global monitoring of the SARS-CoV-2 genome.
Meanwhile, more and more researchers are making the results of sequenced DNA publicly available. This has given rise to the creation of huge data volumes, which are stored in central databases such as the American SRA (Sequence Read Archive) or the European ENA (European Nucleotide Archive). Around 100 petabytes of data are stored there – roughly the same amount as all the text on the internet, one petabyte being the equivalent of one million gigabytes.
To date, biomedical scientists have needed massive computing power and other resources to search through this amount of DNA sequences and compare them with their own sequences – making the efficient searching in such mountains of data a sheer impossibility. Computer scientists at ETH Zurich have now solved this problem.
Full-text search instead of downloading entire data sets
The scientists have developed a method that greatly shortens and facilitates this search. The “MetaGraph” digital tool searches the raw data of all DNA or RNA sequences stored in the databases – just like a conventional Internet search engine. After entering a sequence they are interested in as full text into a search mask, researchers can find out within seconds or minutes, depending on the query, where it has already appeared.
Until now, researchers had to search the databases for descriptive metadata. In order to access the raw data, they had to download the respective data sets. These searches were incomplete, time-consuming and expensive.
Scalable indexing with MetaGraph
a, The size of evaluated index data structures for representing a set of microbial whole-genome sequencing (WGS; BIGSI dataset) experiments of increasing size, shown for both lossy indexing methods COBS and kmindex, and for lossless Mantis, Bifrost, Themisto, Fulgor and MetaGraph with the SuccinctDBG and RowDiff<Multi-BRWT> compression schemes to encode the graph and the annotation, respectively. The dashed lines indicate lossy methods. b, The times for querying human gut metagenome AMPLICON sequencing reads against indexes constructed with MetaGraph and other state-of-the-art tools from sets of microbial WGS experiments of increasing size. All curves show the performance of exact k-mer matching, except for the dotted MetaGraph curve, which shows the query performance with the more sensitive search strategy involving alignment. c, Overview of all MetaGraph indexes. For all datasets, we show the total number of input characters on the x axis and index size (given as the total number of unique k-mers) on the y axis. The marker size represents the size of the index. The solid portion of each marker represents the fraction of the total size taken by the graph and the translucent portion represents the fraction taken by the annotation (Table 1). Asterisk indicates that the inputs of the UniParc dataset are amino acid sequences, not base pairs.
“MetaGraph“ is comparatively favorable in terms of costs, as the researchers state in their study. The representation of all public biological sequences would fit on a few computer hard drives, while larger queries should cost no more than 0.74 dollars per megabase.
As the DNA search engine the ETH researchers have developed is also both precise and efficient, it can help to accelerate genetic research – for example, in the case of little-researched pathogens or new pandemics. In this way, the tool could become a catalyst in research into antibiotic resistance: for example, by identifying resistance genes or useful viruses that can destroy bacteria – known as bacteriophages – in the databases.
Compression by a factor of 300
In the study published on 8 October in the journal Nature, the ETH researchers demonstrate how MetaGraph works: the tool indexes the data and presents it in compressed form. This is achieved by way of complex mathematical graphs that improve the structure of the data – similar to spreadsheet programmes such as Excel.
The idea of rendering large amounts of data searchable with the help of indexes is standard practice in computer science research. What is new about the work of the ETH researchers, however, is the complex linking of raw data and metadata and the compression by a factor of about 300, similar to a book summary: it no longer contains every word, but all the main storylines and connections remain intact – more compact, yet without any relevant loss of information.
By contrast with other DNA search masks currently being researched, the ETH researchers’ approach is scalable. This means that the larger the amount of data queried, the less additional computing power the tool requires.
Half of the data is already available now
The ETH researchers first presented MetaGraph in 2020 and have been continuously improving it ever since. The tool is already available for queries. It provides a full-text search engine for millions of sequence sets from DNA and RNA, as well as proteins from viruses, bacteria, fungi, plants, animals and humans. At present, just under half of the sequence data sets available worldwide are indexed. According to Gunnar Rätsch, the rest should follow by the end of the year. Given that MetaGraph is available as open source it could also be of interest to pharmaceutical companies that have large amounts of internal research data.
Source – ETH Zurich
Karasikov M, Mustafa H, Danciu D, Kulkov O, Zimmermann M, Barber C, Rätsch G, Kahles A. (2025) Efficient and accurate search in petabase scale sequence repositories. Nature [Epub ahead of print]. [article]
Related Posts
Scientists identify the neuroblastoma cells that signal poor outcomes
Novel biosensor uses DNA ‘barcodes’ to uncover disease signals in cells
CellART extracts single-cell information from high-resolution spatial transcriptomics
Cell2space restores spatial context to single-cell RNA sequencing data
Urine test may improve bladder cancer diagnosis and guide treatment decisions
DeCoRE – a computational method to resolve RNA structural heterogeneity from RNA structure probing data by direct RNA sequencing
Tracing 700 million years of cell evolution
How should biological replicates be handled in long-read RNA sequencing?
RNA-Seq reveals a new way the developing heart controls its growth
The Human RNome Project Consortium seeks to publish first-ever complete sequence of the body’s RNA
scFlowReport brings multiple single-cell RNA sequencing analyses into one workflow
Long-read RNA sequencing reveals how neurons choose alternative RNA endings
DeOPUS improves cell-type estimates from bulk RNA sequencing
ResolVI improves accuracy in spatial transcriptomics analysis
RNA sequencing reveals transcriptional allele differences in prostate cancer stem cells
Unmasking “zombie cells” in aging tissue with an AI-powered barcode
RNA variant imaging for cancer diagnosis
Autism-risk mutations reveal two opposing patterns of brain gene activity
A real-data approach to evaluating RNA transcript analysis methods
Detection and sequencing of Ap2N-capped RNAs in human cells
Computer scientists at ETH Zurich have developed a digital tool capable of searching through millions of published DNA records in a matter of seconds. This can significantly accelerate research into antibiotic resistance and unknown pathogens.
DNA datasets can be searched quickly using a simple search function in the “MetaGraph” tool. (Image generated with AI: Adobe Stock / ETH Zurich)
In brief
Rare hereditary diseases can be identified in patients and specific mutations in tumour cells detected – DNA sequencing revolutionised biomedical research decades ago. In recent years, new sequencing methods (next-generation sequencing) in particular have resulted in numerous scientific breakthroughs. In 2020/2021, for example, they enabled the rapid decoding and global monitoring of the SARS-CoV-2 genome.
Meanwhile, more and more researchers are making the results of sequenced DNA publicly available. This has given rise to the creation of huge data volumes, which are stored in central databases such as the American SRA (Sequence Read Archive) or the European ENA (European Nucleotide Archive). Around 100 petabytes of data are stored there – roughly the same amount as all the text on the internet, one petabyte being the equivalent of one million gigabytes.
To date, biomedical scientists have needed massive computing power and other resources to search through this amount of DNA sequences and compare them with their own sequences – making the efficient searching in such mountains of data a sheer impossibility. Computer scientists at ETH Zurich have now solved this problem.
Full-text search instead of downloading entire data sets
The scientists have developed a method that greatly shortens and facilitates this search. The “MetaGraph” digital tool searches the raw data of all DNA or RNA sequences stored in the databases – just like a conventional Internet search engine. After entering a sequence they are interested in as full text into a search mask, researchers can find out within seconds or minutes, depending on the query, where it has already appeared.
Until now, researchers had to search the databases for descriptive metadata. In order to access the raw data, they had to download the respective data sets. These searches were incomplete, time-consuming and expensive.
Scalable indexing with MetaGraph
a, The size of evaluated index data structures for representing a set of microbial whole-genome sequencing (WGS; BIGSI dataset) experiments of increasing size, shown for both lossy indexing methods COBS and kmindex, and for lossless Mantis, Bifrost, Themisto, Fulgor and MetaGraph with the SuccinctDBG and RowDiff<Multi-BRWT> compression schemes to encode the graph and the annotation, respectively. The dashed lines indicate lossy methods. b, The times for querying human gut metagenome AMPLICON sequencing reads against indexes constructed with MetaGraph and other state-of-the-art tools from sets of microbial WGS experiments of increasing size. All curves show the performance of exact k-mer matching, except for the dotted MetaGraph curve, which shows the query performance with the more sensitive search strategy involving alignment. c, Overview of all MetaGraph indexes. For all datasets, we show the total number of input characters on the x axis and index size (given as the total number of unique k-mers) on the y axis. The marker size represents the size of the index. The solid portion of each marker represents the fraction of the total size taken by the graph and the translucent portion represents the fraction taken by the annotation (Table 1). Asterisk indicates that the inputs of the UniParc dataset are amino acid sequences, not base pairs.
“MetaGraph“ is comparatively favorable in terms of costs, as the researchers state in their study. The representation of all public biological sequences would fit on a few computer hard drives, while larger queries should cost no more than 0.74 dollars per megabase.
As the DNA search engine the ETH researchers have developed is also both precise and efficient, it can help to accelerate genetic research – for example, in the case of little-researched pathogens or new pandemics. In this way, the tool could become a catalyst in research into antibiotic resistance: for example, by identifying resistance genes or useful viruses that can destroy bacteria – known as bacteriophages – in the databases.
Compression by a factor of 300
In the study published on 8 October in the journal Nature, the ETH researchers demonstrate how MetaGraph works: the tool indexes the data and presents it in compressed form. This is achieved by way of complex mathematical graphs that improve the structure of the data – similar to spreadsheet programmes such as Excel.
The idea of rendering large amounts of data searchable with the help of indexes is standard practice in computer science research. What is new about the work of the ETH researchers, however, is the complex linking of raw data and metadata and the compression by a factor of about 300, similar to a book summary: it no longer contains every word, but all the main storylines and connections remain intact – more compact, yet without any relevant loss of information.
By contrast with other DNA search masks currently being researched, the ETH researchers’ approach is scalable. This means that the larger the amount of data queried, the less additional computing power the tool requires.
Half of the data is already available now
The ETH researchers first presented MetaGraph in 2020 and have been continuously improving it ever since. The tool is already available for queries. It provides a full-text search engine for millions of sequence sets from DNA and RNA, as well as proteins from viruses, bacteria, fungi, plants, animals and humans. At present, just under half of the sequence data sets available worldwide are indexed. According to Gunnar Rätsch, the rest should follow by the end of the year. Given that MetaGraph is available as open source it could also be of interest to pharmaceutical companies that have large amounts of internal research data.
Source – ETH Zurich
Karasikov M, Mustafa H, Danciu D, Kulkov O, Zimmermann M, Barber C, Rätsch G, Kahles A. (2025) Efficient and accurate search in petabase scale sequence repositories. Nature [Epub ahead of print]. [article]
Related Posts
Scientists identify the neuroblastoma cells that signal poor outcomes
Novel biosensor uses DNA ‘barcodes’ to uncover disease signals in cells
CellART extracts single-cell information from high-resolution spatial transcriptomics
Cell2space restores spatial context to single-cell RNA sequencing data
Urine test may improve bladder cancer diagnosis and guide treatment decisions
DeCoRE – a computational method to resolve RNA structural heterogeneity from RNA structure probing data by direct RNA sequencing
Tracing 700 million years of cell evolution
How should biological replicates be handled in long-read RNA sequencing?
RNA-Seq reveals a new way the developing heart controls its growth
The Human RNome Project Consortium seeks to publish first-ever complete sequence of the body’s RNA
scFlowReport brings multiple single-cell RNA sequencing analyses into one workflow
Long-read RNA sequencing reveals how neurons choose alternative RNA endings
DeOPUS improves cell-type estimates from bulk RNA sequencing
ResolVI improves accuracy in spatial transcriptomics analysis
RNA sequencing reveals transcriptional allele differences in prostate cancer stem cells
Unmasking “zombie cells” in aging tissue with an AI-powered barcode
RNA variant imaging for cancer diagnosis
Autism-risk mutations reveal two opposing patterns of brain gene activity
A real-data approach to evaluating RNA transcript analysis methods
Detection and sequencing of Ap2N-capped RNAs in human cells
Stay Connected
Submit a Post to the Blog
Recent Posts
Subscribe to the RNA-Seq Blog
RNA-Seq Products & Services