Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2025 Sep 1.
Published in final edited form as: J Mol Biol. 2024 Mar 27;436(17):168552. doi: 10.1016/j.jmb.2024.168552

RNA3DB: A structurally-dissimilar dataset split for training and benchmarking deep learning models for RNA structure prediction

Marcell Szikszai a, Marcin Magnus a, Siddhant Sanghi b,c, Sachin Kadyan b, Nazim Bouatta d, Elena Rivas a
PMCID: PMC11377173  NIHMSID: NIHMS1982592  PMID: 38552946

Abstract

With advances in protein structure prediction thanks to deep learning models like AlphaFold, RNA structure prediction has recently received increased attention from deep learning researchers. RNAs introduce substantial challenges due to the sparser availability and lower structural diversity of the experimentally resolved RNA structures in comparison to protein structures. These challenges are often poorly addressed by the existing literature, many of which report inflated performance due to using training and testing sets with significant structural overlap. Further, the most recent Critical Assessment of Structure Prediction (CASP15) has shown that deep learning models for RNA structure are currently outperformed by traditional methods.

In this paper we present RNA3DB, a dataset of structured RNAs, derived from the Protein Data Bank (PDB), that is designed for training and benchmarking deep learning models. The RNA3DB method arranges the RNA 3D chains into distinct groups (Components) that are non-redundant both with regard to sequence as well as structure, providing a robust way of dividing training, validation, and testing sets. Any split of these structurally-dissimilar Components are guaranteed to produce test and validations sets that are distinct by sequence and structure from those in the training set. We provide the RNA3DB dataset, a particular train/test split of the RNA3DB Components (in an approximate 70/30 ratio) that will be updated periodically. We also provide the RNA3DB methodology along with the source-code, with the goal of creating a reproducible and customizable tool for producing structurally-dissimilar dataset splits for structural RNAs.

Graphical Abstract

graphic file with name nihms-1982592-f0001.jpg

The RNA3DB method includes the following six steps: (1) Parsing, (2) Filtering, (3) Clustering by sequence homology, (4) Graph construction by structural homology, (5) Identification of structurally-dissimilar graph Components, and (6) Splitting. (1) The Parsing step processes all PDB entries to identify RNA chains. (2) The Filtering step removes chains that are unsuitable for various reasons, such as too short length, too low complexity, or too high resolution. (3) The Sequence Clustering step produces clusters of RNA chains with similar sequence (at 99% similarity). (4) The Graph construction step uses the database Rfam and the homology method Infernal to construct a structural homology Graph of RNA-chain clusters and Rfam families (using the Infernal method cmscan with all the Rfam Infernal models at an E-value cutoff of 1.0). (5) The Graph Components step produces maximally-connected groups of RNA chains guaranteed to be structurally dissimilar from each other. Finally, (6) the Splitting step divides the graph Components into training and testing sets with the guarantee that the two sets are non-redundant both in terms of sequence and structure. We provide actual numbers for all steps in the RNA3DB method starting with the PDB entries as of January 10, 2024. A particular training/testing RNA3DB Split in PDBx/mmCIF format is given at https://github.com/marcellszi/rna3db/releases/latest/.

1. Introduction

Since DeepMind introduced AlphaFold [1] at CASP13 in 2018, there has been growing interest in applying deep learning to problems in structural biology [2]. When AlphaFold2 improved on its predecessor’s already impressive results in 2020, many jumped to claim that protein structure prediction was “solved” [3].

Naturally it didn’t take long for lessons from AlphaFold to start being adapted for RNA [4, 5, 6, 7, 8, 9, 10, 11, 12], with some papers immediately reporting impressive results both for RNA secondary and tertiary structure prediction. Certainly at first glance, RNA structure appears to be in some ways analogous to protein structure. In both cases, the one-dimensional polymer sequences fold into three-dimensional conformations which are strongly tied to the molecule’s function, and strongly dependent on the molecule’s sequence.

Despite this, most RNA biologists do not consider deep learning methods to be state-of-the-art for RNA structure prediction [13] for secondary or tertiary structures. Publications began pointing out issues with generalization to unseen sequences in deep learning methods for secondary structure prediction in 2022 [14, 15, 16, 17], although this overfitting behavior was already well-known for probabilistic and Markov random field models trained on structural RNA data since 2012 [18]. With the increased interest in RNA, partly attributed to AlphaFold’s success, and partly due to the rise of RNA-based therapeutics [19], CASP15 joined RNA-Puzzles [20] and added 12 RNA-only targets to the competition [21, 22], where all deep learning methods performed comparatively poorly to traditional tools [23]. Since CASP15, several other publications have attempted to apply deep learning to the RNA problem including DeepMind [24], many of whom report impressive results [23], but often without addressing the concerns regarding generalization.

There is a widespread belief in deep learning that the quantity and quality of datasets is one of the most influential aspects towards a model’s performance. The number of available proteins is significantly higher than RNAs in the Protein Data Bank (PDB). Figure 1 shows a comparison between the number of protein and RNA experimentally determined structures deposited in PDB (named chains). After filtering (see Section 3.2), PDB contains nearly 70 times more available protein chains than RNA chains.

Figure 1:

Figure 1:

Comparison of length distributions of chains in the PDB for proteins and RNAs at the same y-axis scale. The inset plot shows a zoomed in version of the RNA histogram for visibility.

With this in mind, it is perhaps no surprise that deep learning for RNA is less successful than for proteins. While other problems are potentially solvable engineering challenges, the quantity and diversity of available data cannot be easily increased. Fortunately, the number of novel structures uploaded to the PDB each years appears to be increasing (Figure 2), albeit still very far away from proteins. It is important to note that the PDB, while comprehensive and consistently used by the structural community, is a repository, and not a dedicated tool to provide deep learning models with a curated dataset, leading to several challenges. For instance, many of the RNAs included in the PDB are short fragments of longer RNAs, and many of the entries contain the same or effectively the same RNA sequences repeatedly.

Figure 2:

Figure 2:

Panel (a) shows: in black the cumulative number of PDB chains that contain at least one RNA residue based on the _chem_comp.type data item by year; and in blue the cumulative number of distinct RNA sequences (sequence identity threshold of 99%) represented in the PDB RNA 3D chains. Panel (b) shows in blue the number of distinct RNA sequences in the PDB as of 2024-01-10 (blue star in (a)) without significant homology to any Rfam structural RNA family at different E-value thresholds (as calculated by the Infernal method cmscan). Panel (b) shows in orange the diversity of Rfam RNA structures covered by the RNA chains at different E-value cutoffs.

RNA3DB is a dataset based on all PDB RNA 3D structures developed for addressing the aforementioned concerns, especially those regarding generalization, particularly for training and benchmarking deep learning models. The methodology behind RNA3DB clusters the RNA 3D structures into distinct groups that are non-redundant both with regard to sequence as well as structure, providing a robust way of dividing training, validation, and testing sets.

2. Comparison to other methods

There are many existing methods that process the PDB and extract RNA chains in order to produce databases that capture the diversity of existing RNA 3D structures, while also removing redundancies present in PDB [25, 26, 27, 28, 29, 30, 31, 32]. These efforts have been useful for many years to the RNA community.

The advent of methods for RNA secondary structure prediction trained on data (either by refining thermodynamic parameters [33], or by training exclusively from known RNA structures [34, 35, 18]) has brought the need to construct datasets that go beyond just characterizing the existing RNA 3D structures to the attention of the community [18]. In addition, there is a need for datasets that are able to provide rigorous separation of the data into structurally dissimilar sets. To our knowledge, this separation by dissimilar structures found in the PDB RNA chains is not provided by existing tools. The structural separation is needed in order to distinguish whether the methods are able to generalize to new structures or not. We have previously shown that otherwise, the data leakage results in overfitting, as RNA structure prediction of structures similar to those present in the training set is relatively accurate, but performance seriously declines for structures not seen in the training set [18]. Recent studies of deep learning methods have also shown the same point–it is fundamental that the training and test sets are dissimilar not just by sequence but importantly also by structure [14, 15, 16, 17, 23]. The goal of RNA3DB is to provide such structurally dissimilar grouping and splitting of the existing RNA 3D structures present in PDB.

Amongst the existing methods, the RNA 3D Hub [27] introduces a non-redundant dataset of RNA 3D structures, each of which represents an “equivalence class”. These equivalence classes are meant to avoid the redundancy inherent in PDB due to multiple 3D structures of the same molecule from the same organism, but the system is not designed to assure that structures in different classes do not share any structural homology. For instance, the human and fly 28S+5.8S rRNAs are two different equivalence classes in RNA 3D Hub of the same RNA structures. Other datasets such as RNANet [30] and RNAsolo [31] are based on this RNA 3D Hub structurally-redundant set of representative RNA structures.

Within structural RNAs, structural similarity can be often identified amongst sequences that have low sequence similarity. However, databases such as RNA-NRD [32] considers that chains with high structural similarity but low sequence identity (<80%) are not redundant. As a result, of the 3,175 RNA-NRD clusters, for instance, 589 correspond to tRNA or tRNA elements, as tRNAs through covariation conserve the clover-leaf structure at the expense of low sequence similarity. Many other RNA-NRD clusters also share structural similarity with each other. On the other hand, RNA3DB uses Infernal to assess the structural similarity for every chain against all the Rfam models and makes sure that chains with any possibility of being structurally similar, regardless of sequence identity are grouped together in any train/test dataset split.

Some methods provide Rfam family information [27, 30, 32], but do not use it as a part of their identification of “non-redundant” RNAs. This is sufficient for many applications, but not for training and benchmarking deep learning models. Even for databases that provide Rfam family information, creating structurally dissimilar groups is not trivial, since as previously pointed out by Szikszai et al. [14], naively separating by Rfam families is insufficient. There are many Rfam families that share homology. Rfam groups families that show some homology to each other into Clans. However, Rfam Clans or even higher level classifications based on homology, such as the “Superfamilies” built on top of Clans in the method RNArchitecture [29], are insufficient for splitting RNA chains into structurally dissimilar groups. It is not uncommon to find entries in PDB that combine non-homologous structural RNAs in one chain, for instance rRNA and tRNAs (see PDB:6YDP_AA [36, 37]). In fact, in our homology search of unique sequences (99% similarity), we find that 10 chains overlap multiple Clans (Supplementary Table S1), and 44 chains overlap multiple families that do not belong to a given Clan (Supplementary Table S2), at an E-value of 10−3. At an E-value of 1.0, 52 RNA chains overlap multiple Clans, and 460 overlap multiple families without a common Clan.

RNA3DB has been developed to address these issues. Structural families with Infernal [38] homology hits to the same RNA chains are grouped together into a Component during the graph building step (Section 3.4). Each Component is a collection of Rfam families and PDB RNA chains that share some level of structural homology (determined by a E-value cutoff set to a lenient value to avoid false negatives). Different Components are guaranteed to be non-redundant with respect to both sequence and importantly also structure. The generation of these Components (Section 3.4.2), which can then be safely assigned to training, testing, or even validation sets without risking data leakage (Section 3.5) are the novel contributions that differentiate RNA3DB from any existing method.

Notice that while RNA 3D Hub and derived databases select one arbitrary RNA chain per equivalence class, RNA3DB saves all the sequence-clustered RNA chains. While the chain is the same, it is possible that the presence of different interacting partners in the actual crystal structures may result in different structural conformations. RNA3DB preserves the full extent of the structural diversity present in PDB.

3. Materials and Methods

Our methodology for building RNA3DB can be broken down into five main steps: Parsing, Filtering, Clustering, identification of structurally-dissimilar Components, and Splitting. During the parsing step, all PDB chains are processed to identify potential RNAs. Filtering then removes sequences that are unsuitable for deep learning for various reasons, such as length or resolution. Next, Clustering assigns PDB chains into two hierarchies of groups based on sequence similarity and then structural similarity. After Clustering, a graph of structural homology between all RNA chains to all RNA structural families allows us to identify structurally dissimilar groups, named graph Components. Finally, Splitting of the graph Components assigns PDB chains into training and testing sets that are non-redundant both in terms of sequence and structure.

3.1. Parsing

Our method starts with careful parsing of all entries in the PDB to identify any potential RNA structures. This is done by downloading a copy of all PDB entries in PDBx/mmCIF format. To avoid reliance on author labeling, we scan all chains for the chem_comp data category, which is found in practically all PDBx/mmCIF files [39]. During our first pass, we accept any chains with at least one residue containing “RNA” in its _chem_comp.type data item. Any non-RNA residues, such as amino acids, are treated as “unknown” residues at this stage.

An important parsing issue is that of RNA residue modifications such as pseudouridylations. The number of modified residues in an RNA chain can be large. As an example, for the tRNA structure PDB:1EHZ [40, 41] 2 out of the 72 residues are pseudouridines, and 10 are other modified residues. A naive parsing method usually reports these modifications as “unknown” residues.

The RNA3DB method systematically converts all modified nucleic acids to their closest one-letter symbols. We extract all three-letter symbol conversions of nucleic acids (and proteins for possible future use) from the Chemical Component Dictionary, which is an “external reference file describing all residue and small molecule components found in PDB entries” [42]. In addition to naively converting three-letter codes, we also recursively parse parent components from _chem_comp.mon_nstd_parent_comp_id to maximize the number of extracted modifications. Any three-letter codes that cannot be converted (including stray amino acids) are parsed as “unknown” residues. Our method is comprehensive method, and is able to identify up to 582 different nucleic acid modifications.

3.2. Filtering

Next, the Filtering step aims to remove chains that are not informative for training deep learning models. By default, RNA3DB considers four filtering categories: sequence length, structural resolution, fraction of individual nucleotides in the sequence, and fraction of “unknown” residues.

Chains shorter than 32 residues are removed during this step. In many cases, there is not much information about the structure in only a few nucleotides, and these sequences can be largely ignored. However, it should be noted that this is not always true. There are also some cases where some of these shorter chains are potentially informative fragments of longer RNAs (for instance, chain PDB: 354D_A1 [43, 44] is a crystal structure exclusively of the 12 nucleotide long Loop E of 5S rRNA). Since these short motifs are difficult to classify into families–as due to their short length they are hard to distinguish from random sequences–we opt to remove these from the dataset as it may lead to data leakage. We experimented with methods to attempt to both identify and keep these fragments, but were unable to systematically avoid scenarios where known fragments of longer chains overlapped between training and testing sets.

Chains with structural resolution higher than 9 Å are removed, as they are considered to have too low confidence to be useful to determine atom positions. This is the same threshold that AlphaFold2 uses [1]. By default RNA3DB also excludes any structures resolved with nuclear magnetic resonance spectroscopy (NMR), as NMR does not provide well-defined resolution values. However this only excludes a relatively small number (177) of chains that would otherwise not be removed. An optional flag exists within RNA3DB’s parser that interprets the resolution of NMR structures as 0.0 Å, which allows these structures to be included if desired.

The sequence nucleotide composition is also considered to avoid repetitive sequences with low information content. By default, we remove any sequence where a single nucleotide makes up more than 80% of residues, like AlphaFold2 [1].

Finally, we also remove any sequence where more than 30% of the residues are “unknown”. This removes chains that do not provide sufficient information in their sequences, but also acts as a filter that removes any special cases where a non-RNA polymer is parsed as one because the sequence may contain “RNA” in its _chem_comp.type (see Section 3.1).

3.3. Clustering

Clustering is divided into two distinct steps: sequence-based Clustering, and structure-based Clustering.

3.3.1. Sequence-based Clustering

First, MMseqs2 [45] is used to cluster all 3D RNA chains by 99% sequence identity. Many of the RNA chains in the PDB have identical or near-identical sequences, and the purpose of this step is to group them together in clusters. All RNA chains in one cluster have almost identical RNA sequences, but each chain is associated to a different experimentally determined structure. A given cluster may contain RNA chains identical to a region of a larger chain. RNA3DB selects the longest RNA chain as representative of the cluster, which is named as “cluster <chain_name>“. We observe (Figure 2a) that the number of RNA-chain sequence-based clusters is about a tenth that of the number of actual RNA chains.

3.3.2. Structure-based Clustering

Second, Infernal [38] is used to run an RNA homology search against all Rfam families [46]. We find it convenient to have this information for all existing sequences in the PDB, however, this step can be restricted to only the unique sequences after sequence-based Clustering for the purpose of building RNA3DB. We use a two-pass approach to maximize the number of chains for which we get at least one hit, regardless of significance. The first pass uses default Infernal parameters. The second pass re-runs the search on sequences without any hits, except with all filters turned off. The purpose of this second pass is to increase sensitivity, but it is generally very slow.

3.4. Structurally dissimilar groups of RNA 3D structures

RNA3DB uses the sequence-clustered RNA chains and the extensive structural homology searches to create structurally dissimilar groups of RNA 3D structures. These steps create a “hierarchy” in RNA3DB, starting with RNA chains, to sequence-based “Clusters”, followed by structure-based independent “Components”. Each Cluster guarantees that its sequences are not identical (or near-identical) to any other Clusters’, while each Component guarantees that it shares no structural homology to the same RNA families as any other Component.

3.4.1. A Graph of RNA chains and structural families

A graph is constructed as follows: let each cluster of RNA chains be a node in the graph, and all Rfam families also be nodes in the graph. Edges are undirected and unweighted between chain and family nodes and are present when some E-value threshold is met. By default we use a generous E-value threshold of 1.00, since we want to eliminate the possibility of missing any potential homology, with false positives being an acceptable trade-off.

3.4.2. Maximally connected subgraphs (Graph Components)

Finally, the RNA3DB method performs a depth-first search on the graph described above to identify all maximally connected subgraphs, named Components. This way, we guarantee that all Components share no homology to the same families. These Components are then ranked by size (i.e. number of unique chain clusters in the Component) with the exception of Component #0, which includes all chain-nodes without edges to any RNA family nodes.

We can motivate building these structurally dissimilar Components via some clear examples. Take a 55S mammalian mitochondrial ribosome like PDB:6YDP_AA [36, 37]. Infernal finds significant hits (at an E-value threshold of 10−9) to both LSU and SSU rRNA families, as well as several other hits to tRNAs within the sequence. While rRNA and tRNA families have no homology, this chain must be used in the same training/testing set with other individual tRNA and rRNA chains to avoid inadvertently leaking structural information from the training set into the testing set.

It may be surprising to find out that for 376 chains in the PDB, i.e. those in Component #0, we are unable to find homology to any Rfam family at an E-value threshold of 1.0. Many of these chains are synthetically designed structures, messenger RNA fragments crystallized as part of translational complexes, or in some cases structural fragments that are too short, even above 32 residues, to classify at the desired threshold.

3.5. Splitting

This is the final step, which assigns the graph Components into training and testing sets. Since any two Components of the graph (Section 3.4) are completely non-redundant, the Components can safely be placed arbitrarily into any set without data leakage.

RNA3DB provides an algorithm for dividing the graph Components into training/test sets. The algorithm simply assigns Components with the largest number of unique sequences into the training set until a specified training set split percentage is met. By default, we recommend a split of 70–30, or in other words, include the largest Components in the training set (with the exception of Component #0) until at least 70% of the data is in the training set.

We recommend using Component #0 for testing rather than training to minimize the chance of data leakage, as well as following structure prediction benchmarking best practices, particularly with regards to reporting results per family instead of an overall average [47]. Alternatively, RNA3DB gives the option to ignore this Component #0 all together.

It should be noted that this Splitting step can also be done manually with relative ease. Using default parameters, RNA3DB finds 118 graph Components, which is a manageable set for manual inspection.

The RNA3DB database derived from PDB is planned to be updated consistently every three months. In addition, the RNA3DB code is open source and available to produce custom Components and splits for any custom collection of RNA 3D structures.

4. Results

Among the most important observations from our dataset is that approximately 1 in 10 RNA PDB chains are either redundant in sequence or too short to be usable by deep learning methods (Figure 2a). Despite this, it is clear that the number of novel RNAs uploaded has increased over recent years.

The RNA3DB parser finds 21,005 RNAs in the PDB as of 2024-01-10. The length filter removes 9,080 chains, while the resolution filter removes 1,540 chains. We find 1,294 sequences dominated by one nucleotide, and 177 that have too many unknown residues to keep. Note that a single chain may be rejected by more than one filter. After filtering 11,176 RNA chains remain, and 9,829 chains are rejected.

Next, the RNA3DB method produces 1,645 sequence-similarity clusters (at 99% identity) of RNA chains. The largest cluster with 629 RNA chains is the Thermus thermophilus HB8 70S ribosome. The median number of chains per cluster is 2.0.

Then RNA3DB proceeds to make a graph which adds 721 Rfam family nodes (at an E-value threshold of 1.0) to the 1,645 RNA-chain cluster nodes (Figure 2b). The RNA3DB resulting graph has a total of 3,994 edges. The tRNA (RF00005) family has the largest number of edges (307), and the median number of edges per RNA family node is 2.0. The cluster with the largest number of edges (43) is cluster 6ydp_AA (the 55S mammalian mitochondrial ribosome), and the median number of edges per cluster node is 2.0.

Finally, the RNA3DB method produces 118 non-redundant Components. The largest Component, Component #1, includes 119 RNA families and 935 RNA-chain clusters. More than half of the Components include one single RNA family and one single RNA cluster of chains.

The Component #0 set comprises all RNA chains without hit to any Rfam family. At an E-value threshold of 1.0, Component #0 contains 376 RNA clusters and 979 actual RNA chains (Figure 2b), and it includes synthetic RNAs as well as small messenger RNA sequences crystallized as part of larger complexes.

The RNA3DB dataset provides a training/test dataset Split described in Table 1. The training/testing PDBx/mmCIF files for the chains in both sets (after converting modified residues) can be downloaded directly from https://github.com/marcellszi/rna3db/releases/latest/.

Table 1:

Hierarchical table of a training/testing Split. A partial representation of all tiers of hierarchy (Components, sequences, chains and RNA families) for both training and testing sets is shown. RNA3DB uses by default an Infernal E-value cutoff of 1.0 to generate the graph.

RNA3DB Graph Components RNA sequences RNA chains RNA families E-val < 10−3 RNA families E-val < 1.0 Description
Training 28 1,152 9,832 169 590
Component #1 935 9,037 119 508 rRNA (LSU,SSU,5.8,5S), tRNA, tmRNA, U1, etc,
Component #2 24 24 24 24 Purine/2dG-II riboswitches
Component #3 22 82 2 5 tracrRNA, CRISPR-DR22
Component #4 18 69 2 3 Group I intron
: :
Component #28 3 11 1 1 Bacteriophage pRNA
Testing 90 493 1,344 47 131
Component #0 376 979 0 0 synthetic RNAs, mRNAs, etc.
Component #29 3 12 1 1 THF riboswitch
Component #30 3 12 1 1 ZMP-ZTP riboswitch
: :
Component #116 1 2 0 1 L25-Gammaproteobacteria ribosomal protein leader
Component #117 1 1 0 1 mir-3135 microRNA precursor
Total 118 1,645 11,176 216 721

5. Implementation

The database and code for RNA3DB can be found at: https://github.com/marcellszi/rna3db along with documentation on the Github repository’s Wiki at https://github.com/marcellszi/rna3db/wiki.

The link to direclty download the RNA3DB Split in PDBx/mmCIF format is give at https://github.com/marcellszi/rna3db/releases/latest/.

For the RNA3DB dataset provided with this manuscript, we used Rfam version 14.10, Infernal version 1.1.4, and we included all RNA chains from PDB as of 2024-01-10. The Filtering, Clustering, Component and Splitting process, with the exception of the homology search, can be run on a 10 core Apple M2 Pro in under 2 minutes. The homology search took 110 hours on a single Intel Xeon Platinum 8358 processor with 32 cores.

The RNA3DB database will be updated every three months. RNA3DB updates affected solely by a PDB update require only to add edges for the new RNA chains. In this case, an Infernal homology search must be done on the new chains only, which in most cases can be done in minutes. Less frequent updates tied to an Rfam version release require the recalculation of all the edges for the whole graph by running the Infernal homology search for all chains against the new Rfam models. This step currently takes approximately 110 hours.

The RNA3DB method can be customized to build specialized train/test datasets. For instance, Filtering parameters (such as the minimal length) can be modified. Different train/test independent Splits can be created depending on the specified parameters, which are documented in the Github Wiki.

6. Discussion

The development of a standardized dataset of RNA structures [48] specifically targeting deep learning, is extremely valuable. Here, we introduce RNA3DB a method to obtain comprehensive information about structured RNAs in the PDB in a format that organizes the RNA chains by their structural homology. RNA3DB builds datasets of maximally connected RNA chains with information on the actual structures represented in each group.

RNA3DB exhaustively parses all modified residues present in the experimental RNA chains, and the method is customizable in a number of ways such as minimal length or sequence complexity. RNA3DB makes the reduced amount of structural RNA data present in the PDB apparent when compared to that of proteins, and the limited set of distinct 3D RNA structures that it represents.

The sparsity of data alone could be responsible for the poor performance of deep learning methods dependent on millions of parameters to predict RNA structure, as it was seen at CASP15 [21, 22] for 3D structure prediction, as well as for 2D structure prediction [14, 15, 16, 17]. Other factors possibly handicapping the prediction of RNA structure are the more complex RNA backbone geometry that involves more atoms and degrees of freedom, as well as global nature of RNA secondary structure. The global nature of the secondary structure, unlike with proteins, cannot be inferred locally from contiguous residues, and it substantially informs the 3D structure.

Nevertheless, the sparsity of data deserves prioritized consideration. Would a method trained with very limited data be able to generalize to describe not seen before RNA structures? The realm of image data analysis seems to suggest that deep learning methods are able to generalize even when the amount of training data can just be memorized by the method [49, 50]. The RNA3DB method and its final outcome the RNA3DB dataset is a comprehensive classification of structurally dissimilar RNA experimentally-determined structures. We hope that this tool will provide the RNA structure modeling community an effective tool to investigate this question under different settings with rigor.

Supplementary Material

1

Highlights.

  • While there is a recent surge in applying deep learning to RNA structure prediction, domain experts have raised concerns about generalization and current trends in benchmarking.

  • Many of the concerns primarily relate to how novel RNA families–i.e. families unseen in the training set–are benchmarked, and whether the models are effective at handling such cases. Performance on benchmarks reflective of real-world applications, such as CASP15 and RNA-Puzzles, is poor for RNA deep learning models.

  • We present a dataset–RNA3DB–that is designed for training and benchmarking deep learning models for RNA structure prediction. RNA3DB provides coverage of all RNA chains found in the Protein Data Bank (PDB).

  • RNA3DB is clustered into groups that are both sequentially and structurally non-redundant, providing a robust way of creating training, validation, and testing sets for deep learning models. Along with the dataset, we also provide a transparent methodology as well as the source-code, making our tool both reproducible and customizable.

Acknowledgments

We thank Rfam and Blake Sweeney for the helpful early discussions on building RNA3DB. This work was supported by U.S. National Institutes of Health grants (1R01GM144423, and 1R21GM148902 to Elena Rivas).

Footnotes

Publisher's Disclaimer: This is a PDF file of an unedited manuscript that has been accepted for publication. As a service to our customers we are providing this early version of the manuscript. The manuscript will undergo copyediting, typesetting, and review of the resulting proof before it is published in its final form. Please note that during the production process errors may be discovered which could affect the content, and all legal disclaimers that apply to the journal pertain.

1

Chain naming is done via author labeling.

Declaration of interests

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

References

  • [1].Jumper J, Evans R, Pritzel A, Green T, Figurnov M, Ronneberger O, Tunyasuvunakool K, Bates R, Žídek A, Potapenko A, Bridgland A, Meyer C, Kohl SAA, Ballard AJ, Cowie A, Romera-Paredes B, Nikolov S, Jain R, Adler J, Back T, Petersen S, Reiman D, Clancy E, Zielinski M, Steinegger M, Pacholska M, Berghammer T, Bodenstein S, Silver D, Vinyals O, Senior AW, Kavukcuoglu K, Kohli P, Hassabis D, Highly accurate protein structure prediction with AlphaFold, Nature 596 (7873) (2021) 583–589, number: 7873 Publisher: Nature Publishing Group. doi: 10.1038/s41586-021-03819-2. URL https://www.nature.com/articles/s41586-021-03819-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [2].Torrisi M, Pollastri G, Le Q, Deep learning methods in protein structure prediction, Computational and Structural Biotechnology Journal 18 (2020) 1301–1310. doi: 10.1016/j.csbj.2019.12.011. URL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7305407/ [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [3].Callaway E, ‘It will change everything’: DeepMind’s AI makes gigantic leap in solving protein structures, Nature 588 (7837) (2020) 203–204, bandiera_abtest: a Cg_type: News Number: 7837 Publisher: Nature Publishing Group Subject_term: Computational biology and bioinformatics, Structural biology, Drug discovery. doi: 10.1038/d41586-020-03348-4. URL https://www.nature.com/articles/d41586-020-03348-4 [DOI] [PubMed] [Google Scholar]
  • [4].Chen X, Li Y, Umarov R, Gao X, Song L, RNA Secondary Structure Prediction By Learning Unrolled Algorithms, in: International Conference on Learning Representations, 2020. doi: 10.48550/arXiv.2002.05810. URL https://openreview.net/forum?id=S1eALyrYDH [DOI] [Google Scholar]
  • [5].Wang L, Zhong X, Wang S, Zhang H, Liu Y, A novel end-to-end method to predict RNA secondary structure profile based on bidirectional LSTM and residual neural network, BMC bioinformatics 22 (1) (2021) 169. doi: 10.1186/s12859-021-04102-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [6].Sato K, Akiyama M, Sakakibara Y, RNA secondary structure prediction using deep learning with thermodynamic integration, Nature Communications 12 (1) (2021) 941, bandiera_abtest: a Cc_license_type: cc_by Cg_type: Nature Research Journals Number: 1 Primary_atype: Research Publisher: Nature Publishing Group Subject_term: Machine learning;Non-coding RNAs;RNA;Structure determination Subject_term_id: machine-learning;non-coding-rnas;rna;structure-determination. doi: 10.1038/s41467-021-21194-4. URL https://www.nature.com/articles/s41467-021-21194-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [7].Fu L, Cao Y, Wu J, Peng Q, Nie Q, Xie X, UFold: fast and accurate RNA secondary structure prediction with deep learning, Nucleic Acids Research (2021) gkab1074 doi: 10.1093/nar/gkab1074. URL 10.1093/nar/gkab1074 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [8].Pearce R, Omenn GS, Zhang Y, De Novo RNA Tertiary Structure Prediction at Atomic Resolution Using Geometric Potentials from Deep Learning, pages: 2022.05.15.491755 Section: New Results (May 2022). doi: 10.1101/2022.05.15.491755. URL https://www.biorxiv.org/content/10.1101/2022.05.15.491755v1 [DOI] [Google Scholar]
  • [9].Shen T, Hu Z, Peng Z, Chen J, Xiong P, Hong L, Zheng L, Wang Y, King I, Wang S, Sun S, Li Y, E2Efold-3D: End-to-End Deep Learning Method for accurate de novo RNA 3D Structure Prediction, arXiv:2207.01586 [cs, q-bio] (Jul. 2022). doi: 10.48550/arXiv.2207.01586. URL http://arxiv.org/abs/2207.01586 [DOI] [Google Scholar]
  • [10].Baek M, McHugh R, Anishchenko I, Baker D, DiMaio F, Accurate prediction of nucleic acid and protein-nucleic acid complexes using RoseTTAFoldNA, pages: 2022.09.09.507333 Section: New Results (Sep. 2022). doi: 10.1101/2022.09.09.507333. URL https://www.biorxiv.org/content/10.1101/2022.09.09.507333v1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [11].Feng C, Wang W, Han R, Wang Z, Ye L, Du Z, Wei H, Zhang F, Peng Z, Yang J, Accurate de novo prediction of RNA 3D structure with transformer network, pages: 2022.10.24.513506 Section: New Results (Oct. 2022). doi: 10.1101/2022.10.24.513506. URL https://www.biorxiv.org/content/10.1101/2022.10.24.513506v1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [12].Li Y, Zhang C, Feng C, Freddolino PL, Zhang Y, Integrating end-to-end learning with deep geometrical potentials for ab initio RNA structure prediction, pages: 2022.12.30.522296 Section: New Results (Dec. 2022). doi: 10.1101/2022.12.30.522296. URL https://www.biorxiv.org/content/10.1101/2022.12.30.522296v1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [13].Schneider B, Sweeney BA, Bateman A, Cerny J, Zok T, Szachniuk M, When will RNA get its AlphaFold moment?, Nucleic Acids Research 51 (18) (2023) 9522–9532. doi: 10.1093/nar/gkad726. URL 10.1093/nar/gkad726 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [14].Szikszai M, Wise M, Datta A, Ward M, Mathews DH, Deep learning models for RNA secondary structure prediction (probably) do not generalize across families, Bioinformatics (2022) btac415 doi: 10.1093/bioinformatics/btac415. URL 10.1093/bioinformatics/btac415 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [15].Flamm C, Wielach J, Wolfinger MT, Badelt S, Lorenz R, Hofacker IL, Caveats to Deep Learning Approaches to RNA Secondary Structure Prediction, Frontiers in Bioinformatics 2 (2022) 835422. doi: 10.3389/fbinf.2022.835422. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [16].Justyna M, Antczak M, Szachniuk M, Machine learning for RNA 2D structure prediction benchmarked on experimental data, Briefings in Bioinformatics 24 (3) (2023) bbad153. doi: 10.1093/bib/bbad153. URL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10199776/ [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [17].Qiu X, Sequence similarity governs generalizability of de novo deep learning models for RNA secondary structure prediction, PLOS Computational Biology 19 (4) (2023) e1011047. doi: 10.1371/journal.pcbi.1011047. URL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10138783/ [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [18].Rivas E, Lang R, Eddy SR, A range of complex probabilistic models for RNA secondary structure prediction that includes the nearest-neighbor model and more, RNA 18 (2) (2012) 193–212. doi: 10.1261/rna.030049.111. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [19].Zhu Y, Zhu L, Wang X, Jin H, RNA-based therapeutics: an overview and prospectus, Cell Death & Disease 13 (7) (2022) 1–15, number: 7 Publisher: Nature Publishing Group. doi: 10.1038/s41419-022-05075-2. URL https://www.nature.com/articles/s41419-022-05075-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [20].Cruz JA, Blanchet M-F, Boniecki M, Bujnicki JM, Chen S-J, Cao S, Das R, Ding F, Dokholyan NV, Flores SC, Huang L, Lavender CA, Lisi V, Major F, Mikolajczak K, Patel DJ, Philips A, Puton T, Santalucia J, Sijenyi F, Hermann T, Rother K, Rother M, Serganov A, Skorupski M, Soltysinski T, Sripakdeevong P, Tuszynska I, Weeks KM, Waldsich C, Wildauer M, Leontis NB, Westhof E, RNA-Puzzles: A CASP-like evaluation of RNA three-dimensional structure prediction, RNA 18 (4) (2012) 610–625. doi: 10.1261/rna.031054.111. URL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3312550/ [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [21].Kryshtafovych A, Schwede T, Topf M, Fidelis K, Moult J, Critical assessment of methods of protein structure prediction (CASP)-Round XV, Proteins 91 (12) (2023) 1539–1549. doi: 10.1002/prot.26617. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [22].Kryshtafovych A, Antczak M, Szachniuk M, Zok T, Kretsch RC, Rangan R, Pham P, Das R, Robin X, Studer G, Durairaj J, Eberhardt J, Sweeney A, Topf M, Schwede T, Fidelis K, Moult J, New prediction categories in CASP15, Proteins: Structure, Function, and Bioinformatics 91 (12) (2023) 1550–1557, _eprint: https://onlinelibrary.wiley.com/doi/pdf/10.1002/prot.26515. doi: 10.1002/prot.26515. URL https://onlinelibrary.wiley.com/doi/abs/10.1002/prot.26515 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [23].Das R, Kretsch RC, Simpkin AJ, Mulvaney T, Pham P, Rangan R, Bu F, Keegan RM, Topf M, Rigden DJ, Miao Z, Westhof E, Assessment of three-dimensional RNA structure prediction in CASP15, bioRxiv: The Preprint Server for Biology (2023) 2023.04.25.538330 doi: 10.1101/2023.04.25.538330. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [24].Google DeepMind AlphaFold Team, Isomorphic Labs Team, Performance and structural coverage of the latest, in-development AlphaFold model, Tech. rep, Google DeepMind, London, UK: (Oct. 2023). URL https://deepmind.google/discover/blog/a-glimpse-of-the-next-generation-of-alphafold/ [Google Scholar]
  • [25].Popenda M, Błażewicz M, Szachniuk M, Adamiak RW, RNA FRABASE version 1.0: an engine with a database to search for the three-dimensional fragments within RNA structures, Nucleic Acids Research 36 (suppl_1) (2008) D386–D391, publisher: Oxford Academic. doi: 10.1093/nar/gkm786. URL 10.1093/nar/gkm786 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [26].Popenda M, Szachniuk M, Blazewicz M, Wasik S, Burke EK, Blazewicz J, Adamiak RW, RNA FRABASE 2.0: an advanced web-accessible database with the capacity to search the three-dimensional fragments within RNA structures, BMC Bioinformatics 11 (1) (2010) 231. doi: 10.1186/1471-2105-11-231. URL 10.1186/1471-2105-11-231 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [27].Leontis NB, Zirbel CL, Nonredundant 3D Structure Datasets for RNA Knowledge Extraction and Benchmarking, in: Leontis N, Westhof E (Eds.), RNA 3D Structure Analysis and Prediction, Nucleic Acids and Molecular Biology, Springer, Berlin, Heidelberg, 2012, pp. 281–298. doi: 10.1007/978-3-642-25740-7_13. URL 10.1007/978-3-642-25740-7_13 [DOI] [Google Scholar]
  • [28].Petrov AI, Zirbel CL, Leontis NB, Automated classification of RNA 3D motifs and the RNA 3D Motif Atlas, RNA 19 (10) (2013) 1327–1340. doi: 10.1261/rna.039438.113. URL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3854523/ [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [29].Boccaletto P, Magnus M, Almeida C, Żyła A, Astha A, Pluta R, Bagiński B, Jankowska E, Dunin-Horkawicz S, Wirecki TK, Boniecki MJ, Stefaniak F, Bujnicki JM, RNArchitecture: a database and a classification system of RNA families, with a focus on structural information, Nucleic Acids Research 46 (D1) (2018) D202–D205, publisher: Oxford Academic. doi: 10.1093/nar/gkx966. URL 10.1093/nar/gkx966 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [30].Becquey L, Angel E, Tahi F, RNANet: an automatically built dual-source dataset integrating homologous sequences and RNA structures, Bioinformatics 37 (9) (2021) 1218–1224. doi: 10.1093/bioinformatics/btaa944. URL 10.1093/bioinformatics/btaa944 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [31].Adamczyk B, Antczak M, Szachniuk M, RNAsolo: a repository of cleaned PDB-derived RNA 3D structures, Bioinformatics (Oxford, England) 38 (14) (2022) 3668–3670. doi: 10.1093/bioinformatics/btac386. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [32].Khan NS, Rahaman MM, Islam S, Zhang S, RNA-NRD: a non-redundant RNA structural dataset for benchmarking and functional analysis, NAR Genomics and Bioinformatics 5 (2) (2023) lqad040. doi: 10.1093/nargab/lqad040. URL 10.1093/nargab/lqad040 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [33].Andronescu M, Condon A, Hoos HH, Mathews DH, Murphy KP, Computational approaches for RNA energy parameter estimation, RNA 16 (12) (2010) 2304–2318. doi: 10.1261/rna.1950510. URL http://rnajournal.cshlp.org/lookup/doi/10.1261/rna.1950510 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [34].Do CB, Woods DA, Batzoglou S, CONTRAfold: RNA secondary structure prediction without physics-based models, Bioinformatics 22 (14) (2006) e90–e98. doi: 10.1093/bioinformatics/btl246. URL 10.1093/bioinformatics/btl246 [DOI] [PubMed] [Google Scholar]
  • [35].Zakov S, Goldberg Y, Elhadad M, Ziv-Ukelson M, Rich parameterization improves RNA structure prediction, Journal of Computational Biology: A Journal of Computational Molecular Cell Biology 18 (11) (2011) 1525–1542. doi: 10.1089/cmb.2011.0184. [DOI] [PubMed] [Google Scholar]
  • [36].Kummer E, Ban N, Structural insights into mammalian mitochondrial translation elongation catalyzed by mtEFG1, The EMBO Journal 39 (15) (2020) e104820, publisher: John Wiley & Sons, Ltd. doi: 10.15252/embj.2020104820. URL https://www.embopress.org/doi/full/10.15252/embj.2020104820 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [37].Kummer E, Ban N, RCSB PDB - 6YDP: 55S mammalian mitochondrial ribosome with mtEFG1 and P site fMet-tRNAMet (POST) (2020). URL https://www.rcsb.org/structure/6ydp
  • [38].Nawrocki EP, Eddy SR, Infernal 1.1: 100-fold faster RNA homology searches, Bioinformatics 29 (22) (2013) 2933–2935. doi: 10.1093/bioinformatics/btt509. URL 10.1093/bioinformatics/btt509 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [39].Westbrook JD, Young JY, Shao C, Feng Z, Guranovic V, Lawson CL, Vallat B, Adams PD, Berrisford JM, Bricogne G, Diederichs K, Joosten RP, Keller P, Moriarty NW, Sobolev OV, Velankar S, Vonrhein C, Waterman DG, Kurisu G, Berman HM, Burley SK, Peisach E, PDBx/mmCIF Ecosystem: Foundational Semantic Tools for Structural Biology, Journal of Molecular Biology 434 (11) (2022) 167599. doi: 10.1016/j.jmb.2022.167599. URL https://www.sciencedirect.com/science/article/pii/S0022283622001796 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [40].Shi H, Moore PB, The crystal structure of yeast phenylalanine tRNA at 1.93 Å resolution: A classic structure revisited, RNA 6 (8) (2000) 1091–1105, publisher: Cambridge University Press. doi: 10.1017/S1355838200000364. URL https://www.cambridge.org/core/journals/rna/article/abs/crystal-structure-of-yeast-phenylalanine-trna-at-193-a-resolution-a-classic-AC4EBBDBBABEEC91D6B0D48E511B707C [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [41].Shi H, Moore PB, RCSB PDB - 1EHZ: The crystal structure of yeast phenylalanine tRNA at 1.93 A resolution (2000). URL https://www.rcsb.org/structure/1EHZ [DOI] [PMC free article] [PubMed]
  • [42].Westbrook JD, Shao C, Feng Z, Zhuravleva M, Velankar S, Young J, The chemical component dictionary: complete descriptions of constituent molecules in experimentally determined 3D macromolecules in the Protein Data Bank, Bioinformatics 31 (8) (2015) 1274–1278. doi: 10.1093/bioinformatics/btu789. URL 10.1093/bioinformatics/btu789 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [43].Correll CC, Freeborn B, Moore PB, Steitz TA, Metals, Motifs, and Recognition in the Crystal Structure of a 5S rRNA Domain, Cell 91 (5) (1997) 705–712, publisher: Elsevier. doi: 10.1016/S0092-8674(00)80457-2. URL https://www.cell.com/cell/abstract/S0092-8674(00)80457-2 [DOI] [PubMed] [Google Scholar]
  • [44].Correll CC, Freeborn B, Moore PB, Steitz TA, RCSB PDB - 354D: Structure of loop E FROM E. coli 5S RRNA (1997). URL https://www.rcsb.org/structure/354D
  • [45].Steinegger M, Söding J, Clustering huge protein sequence sets in linear time, Nature Communications 9 (1) (2018) 2542, number: 1 Publisher: Nature Publishing Group. doi: 10.1038/s41467-018-04964-5. URL https://www.nature.com/articles/s41467-018-04964-5 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [46].Kalvari I, Nawrocki EP, Ontiveros-Palacios N, Argasinska J, Lamkiewicz K, Marz M, Griffiths-Jones S, Toffano-Nioche C, Gautheret D, Weinberg Z, Rivas E, Eddy SR, Finn R, Bateman A, Petrov AI, Rfam 14: expanded coverage of metagenomic, viral and microRNA families, Nucleic Acids Research 49 (D1) (2021) D192–D200, tex.ids= kalvariRfam14Expanded2021. doi: 10.1093/nar/gkaa1047. URL 10.1093/nar/gkaa1047 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [47].Mathews DH, How to benchmark RNA secondary structure prediction accuracy, Methods (San Diego, Calif.) 162–163 (2019) 60–67, tex.ids= mathewsHowBenchmarkRNA2019a. doi: 10.1016/j.ymeth.2019.04.003. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [48].Magnus M, Antczak M, Zok T, Wiedemann J, Lukasiak P, Cao Y, Bujnicki JM, Westhof E, Szachniuk M, Miao Z, RNA-Puzzles toolkit: a computational resource of RNA 3D structure benchmark datasets, structure manipulation, and evaluation tools, Nucleic Acids Research 48 (2) (2020) 576–588. doi: 10.1093/nar/gkz1108. URL 10.1093/nar/gkz1108 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [49].Arpit D, Jastrzębski S, Ballas N, Krueger D, Bengio E, Kanwal MS, Maharaj T, Fischer A, Courville A, Bengio Y, Lacoste-Julien S, A Closer Look at Memorization in Deep Networks, arXiv:1706.05394 [cs, stat] (Jul. 2017). doi: 10.48550/arXiv.1706.05394. URL http://arxiv.org/abs/1706.05394 [DOI] [Google Scholar]
  • [50].Zhang C, Bengio S, Hardt M, Recht B, Vinyals O, Understanding deep learning requires rethinking generalization, arXiv:1611.03530 [cs] (Feb. 2017). doi: 10.48550/arXiv.1611.03530. URL http://arxiv.org/abs/1611.03530 [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

1

RESOURCES