Genomic Benchmarks: A Collection of Datasets for Genomic Sequence Classification

Katarina Gresova, Vlastimil Martinek, David Cechak, Petr Simecek, Panagiotis Alexiou

TL;DR

This paper introduces "genomic-benchmarks," a Python package providing a curated collection of easily accessible datasets for genomic sequence classification. By standardizing data and offering baseline models, it aims to improve the reproducibility and comparability of machine learning research in genomics, a field currently lacking robust benchmarks.

What Problem Does This Paper Address?

The field of genomics is increasingly leveraging deep learning to identify functional elements within DNA sequences, such as promoters and enhancers. However, a significant challenge is the lack of standardized, easily accessible benchmark datasets. Researchers often use disparate datasets, different preprocessing methods, and varying evaluation metrics, making it difficult to compare the performance of different models and hindering reproducibility. This fragmentation slows down progress and creates a steep learning curve for newcomers to the field. The authors draw parallels to the protein folding community's success with the CASP challenge, highlighting the need for similar standardized benchmarks in genomics.

Methods

The core contribution is the creation of the genomic-benchmarks Python package. This package offers:

  • Curated Datasets: A collection of eight datasets focused on regulatory elements (promoters, enhancers, open chromatin regions) from human, mouse, and roundworm. These datasets are derived from mining public databases (like Ensembl, FANTOM5) and existing published articles, with novel negative samples generated where necessary.
  • Reproducible Data Generation: Each dataset comes with a Jupyter notebook that fully details its generation process, ensuring transparency and reproducibility.
  • Easy Data Access: The package provides ready-to-use data loaders for popular deep learning frameworks like TensorFlow and PyTorch, simplifying the process of incorporating these benchmarks into research.
  • Baseline Model: A simple convolutional neural network (CNN) architecture is included as a baseline model, along with training notebooks, to provide an initial performance reference for each dataset.

Datasets

The genomic-benchmarks package includes eight datasets categorized as follows:

  • Human Regulatory Functional Elements:
    • human_enhancers_cohn: Human enhancers from Cohn et al. (2018).
  • human_enhancers_ensembl: Human enhancers from the FANTOM5 project.
  • human_nontata_promoters: Human non-TATA promoters.
  • human_ocr_ensembl: Human Open Chromatin Regions (OCRs) from the Ensembl Regulatory Build.
  • human_ensembl_regulatory: A multi-class dataset with enhancers, promoters, and OCRs from the Ensembl Regulatory Build.
  • Demo Datasets (Computationally Generated):
    • demo_coding_vs_intergenomic_seqs: Classifies coding vs. intergenomic sequences.
  • demo_human_or_worm: Differentiates human and worm sequences.
  • Dummy Dataset:
    • dummy_mouse_enhancers_ensembl: A small, generated dataset for quick prototyping.

The datasets are designed to be balanced or close to balanced, with a limited number of classes, and primarily focus on human data, though mouse and roundworm are also represented.

Key Insights and Ideas

  • The critical need for standardized benchmarks: The paper strongly argues that the lack of common benchmarks is a major bottleneck in advancing machine learning for genomics, hindering progress and reproducibility.
  • Bridging the gap between ML and genomics: By providing accessible datasets and tools, the package aims to lower the barrier to entry for researchers who want to apply machine learning techniques to genomic problems without needing deep domain expertise.
  • Reproducibility as a cornerstone: The emphasis on providing detailed data generation notebooks and cloud-based caching highlights the authors' commitment to making their work fully reproducible.
  • Baseline performance as a starting point: Including a simple CNN model and its performance metrics provides a crucial reference point for future research and allows for direct comparison of new methods.

Key Results

The paper presents a baseline performance of a simple CNN model on all eight datasets using both PyTorch and TensorFlow. For example:

  • On the human_ensembl_regulatory dataset, the PyTorch CNN achieved an accuracy of 93.3% and an F1 score of 93.3%.
  • The human_nontata_promoters dataset saw a PyTorch accuracy of 84.6% and an F1 score of 83.7%.
  • Performance varied across datasets, with some, like human_enhancers_ensembl, showing lower F1 scores (56.5% in PyTorch), indicating areas where more sophisticated models might be needed.

The paper also demonstrates the ease of use of the package by showing a single line of code to load a dataset and a sample of the output format.

Limitations and Future Work

The authors acknowledge several limitations of the current repository:

  • Dataset Balance: Most datasets are balanced or close to balanced, which might not reflect real-world scenarios where class imbalances are common.
  • Limited Diversity: The datasets primarily focus on human regulatory features and a limited number of classes.

Future work suggested includes:

  • Expanding dataset diversity: Incorporating more imbalanced datasets and exploring multi-class classification problems with more nuanced relationships between classes.
  • Encouraging community contributions: An open call for users to submit new datasets and for researchers to outperform the baseline model, with the potential for a "Leaderboard" to foster competition and drive innovation.
  • Developing more sophisticated baseline models: While a simple CNN is provided, future iterations could include more advanced architectures.

Summary updated

BibTeX
@inproceedings{gresova2023genomic,
  author = {Katarina Gresova and Vlastimil Martinek and David Cechak and Petr Simecek and Panagiotis Alexiou},
  title = {{Genomic Benchmarks: A Collection of Datasets for Genomic Sequence Classification}},
  booktitle = {BMC Genomic Data},
  year = {2023},
  url = {https://openreview.net/forum?id=9OzFDRY1vA},
}
Figure