Comprehensive Hierarchical Classification of Transposable Elements based on Deep Learning

Yang Qi, Yiqi Chen, Yingfu Wu, Yanyan Li, Meihong Gao, Fuhao Zhang, Xingyu Liao, Xuequn ShangbioRxiv 2024

TL;DR

This paper introduces CREATE, a novel deep learning framework that accurately and efficiently classifies transposable elements (TEs) using a hierarchical approach. By combining Convolutional Neural Networks (CNNs), Recurrent Neural Networks (RNNs), and attention mechanisms, CREATE captures both global and local sequence features, outperforming existing methods. The authors also developed WebDLTE, a user-friendly web platform for online TE classification and data access.

What Problem Does This Paper Address?

Transposable elements (TEs), often called "jumping genes," are DNA sequences that can move within a genome. They make up a significant portion of eukaryotic genomes and play crucial roles in evolution and gene regulation. Accurately identifying and classifying these elements is essential for understanding their impact. However, existing TE classification tools often struggle with:

  • Limited Feature Utilization: They tend to focus on either global sequence patterns or specific structural features, neglecting the synergistic power of both.
  • Suboptimal Performance: This limited feature utilization leads to less accurate classifications.
  • User-Friendliness: Many tools are difficult to install and rely on numerous dependencies, hindering their adoption by researchers.

This paper aims to address these limitations by developing a more comprehensive, accurate, and user-friendly TE classification system.

Methods

The core of this work is the CREATE framework, which employs a deep learning architecture designed for hierarchical TE classification. Key components include:

  • Hybrid CNN-RNN Architecture:
    • CNN Module: Processes k-mer counts (representing global sequence composition) to extract features.
  • RNN Module: Processes handcrafted "Both Ends" (BE) sequences (representing local structural motifs like LTR and TIR) to capture sequential patterns.
  • Attention Mechanism: Dynamically weighs the importance of features extracted by the CNN and RNN modules, allowing the model to focus on the most relevant information for each TE type.
  • Hierarchical Classification Strategy: Instead of a single classifier, CREATE trains nine separate multi-class classifiers, each corresponding to a parent node in the TE hierarchy (Figure 1A). This "local classifier per parent node" strategy breaks down the complex classification problem into smaller, manageable subproblems.
  • Non-Mandatory Leaf Node Prediction: During testing, sequences can be classified at any level of the hierarchy, not just at the most specific (leaf) node. A probability threshold determines whether to stop classification at a given node or pass the sequence to a child node's classifier.
  • Efficient Feature Extraction:
    • Horner's Rule: Used to efficiently compute k-mer frequencies, significantly reducing computation time compared to traditional methods.
  • One-Hot Encoding: Applied to the flanking sequences for RNN input.

For researchers, the authors developed WebDLTE, a web platform that leverages the pre-trained CREATE models for online TE classification. It also serves as a comprehensive database for TE sequences and offers analysis tools.

Datasets

  • Training and Testing Data: Sequences were collected from 13 widely used repeat databases, including APTEdb, CicerSpTEdb, ConTEdb, Dfam, Repbase, and others (Table 1).
  • Preprocessing: Data underwent filtering (length < 80 bp, >20% non-canonical characters), deduplication, and standardization. For the large APTEdb, sequences were randomly sampled to avoid bias.
  • Benchmark Dataset: For validation, a curated TE library from EDTA for rice (2,431 sequences) was used.
  • WebDLTE Database: Contains over 932,944 TE consensus sequences from 315 eukaryotic species.

Key Insights and Ideas

  • Synergy of Global and Local Features: The paper strongly advocates for the combined use of global k-mer frequencies (captured by CNNs) and local flanking sequence motifs (captured by RNNs) for superior TE classification.
  • Hierarchical Decomposition: Breaking down the classification problem into a hierarchy of smaller, specialized classifiers (one per parent node) is more effective than a single, monolithic classifier.
  • Attention for Feature Fusion: The attention mechanism is crucial for adaptively integrating information from different feature types (global vs. local), leading to more robust predictions.
  • Non-Mandatory Leaf Node Prediction: This strategy allows for flexible classification, acknowledging that not all TEs can be definitively assigned to the most specific category, which aligns better with the nature of TE evolution.
  • WebDLTE as a Practical Tool: The development of a user-friendly web platform democratizes access to advanced TE classification and data, accelerating research in the field.

Key Results

  • CREATE Outperforms Existing Tools: Benchmarking experiments showed that CREATE significantly outperformed other TE classification tools (TERL, DeepTE, ClassifyTE) across various metrics, including accuracy, F1-score, and MCC (Figure 4B-D).
  • Superior Hierarchical Performance: CREATE achieved the best performance in hierarchical classification metrics (hP, hR, hF) compared to other methods.
  • Efficiency Gains: Using Horner's rule for k-mer extraction reduced feature extraction time by approximately 50% for large datasets (Figure 4A).
  • CREATE-RNN's Strength: Experiments showed that the CREATE-RNN component was particularly effective for classifying TEs in imbalanced classes and minority groups, compensating for potential weaknesses in CNN-only approaches.
  • WebDLTE's Comprehensive Database: The platform offers the most extensive collection of TE consensus sequences to date, covering 315 eukaryotic species.

Limitations and Future Work

  • Imbalanced Data: While CREATE-RNN showed robustness, the authors acknowledge that addressing class imbalance remains an area for further improvement.
  • High-Level Classifier Limitations: The current hierarchical strategy, while effective, means that high-level classifiers might exclude some classes at lower levels.
  • Parameter Sensitivity: While CREATE is described as parameter-insensitive, the paper suggests that for practical applications, the probability threshold for classification might benefit from being set higher (e.g., 0.90).
  • Future Work: The authors suggest that their findings can help investigate structural features and phylogenetic relationships of TEs. The WebDLTE platform is designed to facilitate further research into these areas.

Summary updated

Abstract

Abstract Transposable elements (TEs) are DNA sequences capable of translocating within a genome. They constitute a substantial portion of eukaryotic genomes and play significant roles in genome evolution and gene regulation. The correct classification of these repetitive elements is essential to investigate their potential impact on genomes. Despite the existence of several tools for TE classification, they often neglect the importance of simultaneously utilizing global and local information for TE-type identification, resulting in suboptimal performance. Furthermore, these tools are not user-friendly due to the complex installation processes and numerous dependencies. In this study, we introduced a novel framework, CREATE, which leverages the strengths of C onvolutional and R ecurrent Neural N E tworks, combined with A ttention mechanisms, for efficient TE classification. Given the tree-like structure of TE groups, we separately trained nine models within the class hierarchy. Benchmarking experiments showed that CREATE significantly outperformed other TE classification tools. The source code and demo data for CREATE are available at https://github.com/yangqi-cs/CREATE . To facilitate TE annotation for researchers, we have developed a web platform, named WebDLTE, based on the CREATE framework. This platform employs GPU-accelerated pre-trained deep learning models for real-time TE classification and offers the most comprehensive collection of TEs for download. The web interface can be accessed at https://www.webdlte.nwpu.edu.cn .
BibTeX
@misc{qi2024comprehensive,
  author = {Yang Qi and Yiqi Chen and Yingfu Wu and Yanyan Li and Meihong Gao and Fuhao Zhang and Xingyu Liao and Xuequn Shang},
  title = {{Comprehensive Hierarchical Classification of Transposable Elements based on Deep Learning}},
  year = {2024},
  doi = {10.1101/2024.01.27.577599},
  howpublished = {bioRxiv},
}
Figure