From sequences to images: deep feature extraction for transposable element classification

Transposable elements (TEs) play a fundamental role in genome evolution and contribute significantly to genetic diversity. However, their automatic classification remains challenging due to their high structural diversity and the lack of effective computational representations. In this study, we investigate the use of deep features for TE sequence classification and evaluate the efficacy of general-purpose convolutional neural networks (CNNs), including ResNet50RS, InceptionV3, EfficientNetB0, and VGG16 to leverage their deep feature representations. To enable this integration, we propose a two-dimensional image-based representation of TE sequences that captures structural and compositional patterns. These deep features were combined with classical machine learning algorithms to evaluate hybrid configurations, bridging traditional machine learning and modern deep learning approaches. End-to-end CNN models were also evaluated using the same representation, showing that TE classification does not require specialized architectures. Experiments were conducted on five taxonomic datasets derived from multiple sources, including RepBase, covering both order- and superfamily-level classifications. The integration of deep features from the state-of-the-art Transposable Elements Representation Learner (TERL) with a Random Forest classifier achieved the highest overall accuracy of 0.953, precision of 0.749, and F1-score of 0.717 on the most challenging superfamily-level dataset. Among the general-purpose CNNs, ResNet50RS consistently achieved the best performance, outperforming TERL across the superfamily-level classification tasks. Furthermore, Gradient-weighted Class Activation Mapping (Grad-CAM) analyses revealed biologically meaningful activation patterns, providing interpretability and supporting the validity of the proposed representation. Overall, the results demonstrate that the proposed image-based representation is robust, transferable, and compatible with modern CNN architectures, reducing dependence on domain-specific solutions while enabling feature reuse, transfer learning, and improved generalization. The proposed framework offers an adaptable and explainable methodology for genomic classification pipelines and other sequence-based biological applications.

Authors

Institutions

Publication Details

Journal
PeerJ Computer Science
Published
2026-12-02
DOI
https://doi.org/10.7717/peerj-cs.4123
Primary Topic
Chromosomal and Genetic Variations
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

From sequences to images: deep feature extraction for transposable element classification

Priscila T. M. Saito, Pedro H. Bugatti, Fabiana Rodrigues de Góes, Wellington de Souza Vieira
PeerJ Computer Science
Chromosomal and Genetic Variations
article

From sequences to images: deep feature extraction for transposable element classification

Priscila T. M. Saito, Pedro H. Bugatti, Fabiana Rodrigues de Góes, Wellington de Souza Vieira
article en

Abstract

Transposable elements (TEs) play a fundamental role in genome evolution and contribute significantly to genetic diversity. However, their automatic classification remains challenging due to their high structural diversity and the lack of effective computational representations. In this study, we investigate the use of deep features for TE sequence classification and evaluate the efficacy of general-purpose convolutional neural networks (CNNs), including ResNet50RS, InceptionV3, EfficientNetB0, and VGG16 to leverage their deep feature representations. To enable this integration, we propose a two-dimensional image-based representation of TE sequences that captures structural and compositional patterns. These deep features were combined with classical machine learning algorithms to evaluate hybrid configurations, bridging traditional machine learning and modern deep learning approaches. End-to-end CNN models were also evaluated using the same representation, showing that TE classification does not require specialized architectures. Experiments were conducted on five taxonomic datasets derived from multiple sources, including RepBase, covering both order- and superfamily-level classifications. The integration of deep features from the state-of-the-art Transposable Elements Representation Learner (TERL) with a Random Forest classifier achieved the highest overall accuracy of 0.953, precision of 0.749, and F1-score of 0.717 on the most challenging superfamily-level dataset. Among the general-purpose CNNs, ResNet50RS consistently achieved the best performance, outperforming TERL across the superfamily-level classification tasks. Furthermore, Gradient-weighted Class Activation Mapping (Grad-CAM) analyses revealed biologically meaningful activation patterns, providing interpretability and supporting the validity of the proposed representation. Overall, the results demonstrate that the proposed image-based representation is robust, transferable, and compatible with modern CNN architectures, reducing dependence on domain-specific solutions while enabling feature reuse, transfer learning, and improved generalization. The proposed framework offers an adaptable and explainable methodology for genomic classification pipelines and other sequence-based biological applications.

PeerJ Computer ScienceVol. 12
Universidade Tecnológica Federal do Paraná (BR), Universidade Federal de São Carlos (BR), Rosalind Franklin Institute (GB)
Chromosomal and Genetic Variations
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon