nature machine intelligence

Article                                                                                                   https://doi.org/10.1038/s42256-022-00571-8


Deep learning models for predicting RNA
degradation via dual crowdsourcing

Received: 14 October 2021                                Hannah K. Wayment-Steele 1,2,26, Wipapat Kladwang2,3,26,
                                                         Andrew M. Watkins2,3,4,26, Do Soon Kim2,3,26, Bojan Tunguz3,5,26, Walter Reade 6,
Accepted: 21 October 2022
                                                         Maggie Demkin6, Jonathan Romano 2,3,7, Roger Wellington-Oguri2,
Published online: 14 December 2022                       John J. Nicol2, Jiayang Gao 8, Kazuki Onodera9, Kazuki Fujikawa 10,
                                                         Hanfei Mao 11, Gilles Vandewiele 12, Michele Tinti 13, Bram Steenwinckel12,
    Check for updates
                                                         Takuya Ito14, Taiga Noumi15, Shujun He16, Keiichiro Ishi17, Youhan Lee18,19,
                                                         Fatih Öztürk20, King Yuen Chiu 21, Emin Öztürk22, Karim Amer23,
                                                         Mohamed Fares 23,24, Eterna Participants* & Rhiju Das 2,3,25


                                                         Medicines based on messenger RNA (mRNA) hold immense potential,
                                                         as evidenced by their rapid deployment as COVID-19 vaccines. However,
                                                         worldwide distribution of mRNA molecules has been limited by their
                                                         thermostability, which is fundamentally limited by the intrinsic instability of
                                                         RNA molecules to a chemical degradation reaction called in-line hydrolysis.
                                                         Predicting the degradation of an RNA molecule is a key task in designing
                                                         more stable RNA-based therapeutics. Here, we describe a crowdsourced
                                                         machine learning competition (‘Stanford OpenVaccine’) on Kaggle,
                                                         involving single-nucleotide resolution measurements on 6,043 d­iv­er­se
                                                         1­02–130-nucleotide RNA constructs that were themselves solicited through
                                                         crowdsourcing on the RNA design platform Eterna. The entire experiment
                                                         was completed in less than 6 months, and 41% of nucleotide-level predictions
                                                         from the winning model were within experimental error of the ground
                                                         truth measurement. Furthermore, these models generalized to blindly
                                                         predicting orthogonal degradation data on much longer mRNA molecules
                                                         (504–1,588 nucleotides) with improved accuracy compared with previously
                                                         published models. These results indicate that such models can represent
                                                         in-line hydrolysis with excellent accuracy, supporting their use for designing
                                                         stabilized messenger RNAs. The integration of two crowdsourcing platforms,
                                                         one for dataset creation and another for machine learning, may be fruitful for
                                                         other urgent problems that demand scientific discovery on rapid timescales.


Therapeutics based on messenger RNA (mRNA) have shown immense                      therapeutics1,6–8, with RNA hydrolysis specifically setting a limiting
promise as a modular therapeutic platform, allowing potentially any                factor on stability in lipid nanoparticle (LNP)-based formulations9,10.
protein to be delivered and translated1,2, as evidenced by the rapid               Hydrolysis in LNP formulations degrades the amount of mRNA remain-
deployment of mRNA-based vaccines against severe acute respira-                    ing during shipping and storage, and hydrolysis in vivo after vaccine
tory syndrome coronavirus 2 (SARS-CoV-2)3–5. However, the chemical                 injection limits the amount of resulting protein produced over time9.
instability of RNA sets a fundamental limit on the stability of RNA-based          Better methods to develop thermostable RNA therapeutics would allow


A full list of affiliations appears at the end of the paper.   e-mail: rhiju@stanford.edu


Nature Machine Intelligence | Volume 4 | December 2022 | 1174–1184                                                                                   1174
Article                                                                                                  https://doi.org/10.1038/s42256-022-00571-8

for increasing the equitability of their distribution, reducing their cost       an mRNA molecule of length N is equivalent to the sum of degradation
and possibly increasing their potency10,11.                                      rates at each dinucleotide linkage in the backbone12:
      An underexplored path to more shelf-stable mRNA therapeutics
                                                                                                                        N−1
lies in the prospect of synonymous sequence design. A simple calcu-                                        kmRNA
                                                                                                            deg
                                                                                                                 =∑            kideg ,                (1)
                                                                                                                        i=1
lation reveals that there exist 10633 mRNA sequences that all code for
the SARS-CoV-2 spike protein antigen. With an astronomical number                where kideg is the degradation of nucleotide linkage i. The half-life of
of mRNA sequences available for a given therapeutic target, it is likely         the mRNA is calculated as
that some of these sequences may harbour structural features that
make them more resistant to hydrolysis than first-generation mRNA                                                       ln 2
                                                                                                              t1/2 =            .                    (2)
vaccine formulations. Indeed, initial results have demonstrated that                                                   kmRNA
                                                                                                                        deg
more stable mRNAs for model protein systems can be designed by
optimizing candidate RNA sequences, scored with a model for RNA                       We tested the above model empirically by comparing the summed
hydrolysis12,13. These initial studies indicate that stabilized mRNAs can        degradation rates per nucleotide to the abundance of the entire
produce equivalent, and for some designs, more protein compared                  construct remaining from sequencing and found high agreement
with non-optimized mRNAs13. These design strategies are predicted                (Extended Data Fig. 1). Using the above ansatz, the resulting models
to be able to produce mRNAs that do not activate double-stranded                 were tested in a second blind challenge of predicting the overall deg-
RNA immune sensors12 such as RIG-I14. These strategies have also                 radation of full-length mRNAs encoding a variety of model proteins,
demonstrated compatibility with mRNAs synthesized from modified                  experimentally tested using PERSIST-seq. The models also demon-
nucleotides including pseudouridine13, which are used in mRNA vac-               strated increased predictive power over existing methods in predicting
cine formulations15.                                                             these overall degradation rates. These models therefore appear imme-
      However, the potential of any such mRNA design algorithm is                diately useful for guiding design of low-degradation mRNA molecules.
limited by the accuracy of the underlying model in predicting RNA                Analysis of model performance suggests that the task of predicting RNA
degradation. Previous models for RNA degradation have assumed                    degradation patterns is limited by both the amount of data available
that the probability of any RNA nucleotide linkage being cleaved is              as well as the accuracy of the structure prediction tools used to create
proportional to the probability of the 5′ nucleotide being unpaired12.           input features. Further developments in experimental data and second-
Computational studies with this model suggested that at least a two-             ary structure prediction, when combined with network architectures
fold increase in stability could be achieved through sequence design,            such as those developed here, will further advance RNA degradation
while maintaining a wide diversity of sequences and features related to          prediction and therapeutic design.
translatability, immunogenicity and global structure13. However, it is
unlikely that degradation depends only on the probability of a nucleo-           Results
tide being unpaired: local sequence- and structure-specific contexts             Dual-crowdsourced competition design and assessment
may vary widely, as evidenced by ribozyme RNAs found in nature,                  The aim of the OpenVaccine Kaggle competition (Fig. 1b) was to develop
whose sequences adopt specific structures that undergo self-scission16.          computational models for predicting RNA degradation patterns. We
      We wished to understand the maximum predictive power achiev-               asked participants on the Eterna platform to submit RNA designs using
able for RNA degradation on a short timescale for model development.             a web-browser design window (Fig. 1c), which resulted in a diversity of
To do this, we combined two crowdsourcing platforms: Eterna, an                  sequences and structures (Fig. 1d). In total, 150 participants (Supple-
RNA design platform, and Kaggle, a platform for machine learning                 mentary Table 1) submitted sequences. A secondary motivation was
competitions. The problem of ‘RNA design’ involves designing RNA                 an opportunity for participants to receive feedback on RNA fragments
sequences with specific target properties such as a particular overall           they may wish to use in mRNA design challenges described by Leppek
structure17,18, a target function such as sensor activity19, or, in this case,   et al.13 In total, 3,029 RNA designs of length 107 nt were collected in
high chemical stability13. We used degradation data from short RNA               the first ‘Roll Your Own Structure’ round I (RYOS-I), which opened on
fragments designed on the Eterna platform, which comprised a wide                26 March 2020 and closed on 19 June 2020 (Fig. 1e).
diversity of sequences and structures, and hypothesized that crowd-                    We then obtained nucleotide-level degradation profiles for the
sourcing the problem of obtaining a machine learning architecture                first 68 nucleotides of these RNAs using In-line-seq13, a method for
would result in a model capable of expressing the resulting complexity           characterizing in-line RNA degradation in high throughput for the
of sequence- and structure-dependent degradation patterns (Fig. 1a).             purposes of designing stabilized RNA therapeutics. In brief, a library
We hypothesized that this ‘dual crowdsourcing’ would lead to stringent           of short RNA fragments was produced from a DNA library via in vitro
and independent tests of the models developed, minimizing sharing                transcription, each of which contained a unique barcode at the 3′
of assumptions between the individuals designing the constructs to               terminus. The RNA library was subjected to one of several accelerated
test (Eterna participants) and the individuals building the models               degradation conditions, which included combinations of increases
(Kaggle participants) and leading to better generalizability on inde-            in Mg2+ concentration, basicity and temperature. The resulting frag-
pendent datasets.                                                                mented RNA was reverse transcribed and the complementary DNA
      The resulting models were subjected to two blind prediction chal-          was sequenced. The base-pairing structures of the constructs were also
lenges. The first was in the context of the Kaggle competition, where the        characterized via selective 2′ hydroxyl acylation with primer extension
RNA structure probing and degradation data that participants would               (SHAPE; termed ‘Reactivity’ below)20,21, a technique to characterize
be aiming to predict was not acquired until after the competition was            RNA secondary structure. SHAPE experiments were performed analo-
announced. The experimental method used for these data, In-line-seq,             gously to the In-line-seq experiments described above, but instead of
allowed for measuring the degradation rate of individual nucleotide              degradation conditions, the RNA was subjected to a chemical modifier
linkages. However, this method relies on probing short RNA fragments             (1-methyl-7-nitroisatoic anhydride, 1M7) which acylates the 2′-OH
and is unable to scale to make single-nucleotide degradation meas-               group. When the RNA is reverse transcribed, such an acylation causes
urements of full-length mRNAs for protein targets of interest. Other             the reverse transcriptase enzyme to terminate. The resulting cDNA
experimental methods such as PERSIST-seq13 have been developed to                fragments were used to create a ‘reactivity profile’ for each molecule.
characterize the overall degradation rates per mRNA molecule, which                    The Kaggle competition was designed to create models that
is the primary value of interest to minimize when designing stabilized           would have predictive power for three of these data types, given RNA
RNA-based therapeutics. In principle, the overall degradation rate of            sequence and secondary structure as input (Fig. 1f). In addition to


Nature Machine Intelligence | Volume 4 | December 2022 | 1174–1184                                                                                  1175
Article                                                                                                                                           https://doi.org/10.1038/s42256-022-00571-8


              a                                                                                                                         b
                                             Prone to cutting

                                                                                                Safe from degradation




                                                                       mRNA molecule                                                    c
                             Can sequence- and structure-specific
                              degradation patterns be learned?



             d 80
                           60

                           40

                            20
             tSNE axis 2




                            0                                                          e       Mar 2020                ...        Jun             Jul               Aug               Sep               Oct 2020
                           –20                                                             Eterna                 Round I design        Data                                    Round II Data
                                                                                                                  collection            collection                              collection collection
                           –40                                                             150 participants
                                                                                                                                                                                Blind test data
                                                                                                                                                   Training data
                           –60
                                                                                           Kaggle                                                                                             Challenge
                                                                                           1,636 teams
                                 –80   –60   –40    –20   0       20    40   60
                                                    tSNE axis 1
                                                                                                                         4                  SHAPE modification
                f                                  Sequence
                                                                                                         Reactivity
                                                                                                          (norm)                                                      5’
                                                                                                                         2
                                                                                                                                                                          3’
                           Structure model features
                                                                                                                         0
                                Structure encoding
                                                                                                                              0              10                20
                                      MFE structure                                                                      4
                                                                                         Kaggle
                                                                                                         Degradation




                                                                                                                                        In-line degradation, pH 10
                                                                                       competitors:
                                                                                                           (norm)




                       Base-pairing probabilities                                                                        2                                                5’
                                                                                         predict
                                                                                                                                                                          3’
                                                                                                                         0
                                                                                                                              0              10                20
                                                                                                                         4
                                                                                                         Degradation




                                                                                                                                        In-line degradation, 50˚C
                                                                                                           (norm)




                                                                                                                         2
                                                                                                                                                                          5’

                                                                                                                         0                                                 3’

                                                                                                                              0              10                20

                                                                                                                         5’        Sequence position 3’

Fig. 1 | Dual-crowdsourcing setup for creating predictive models of RNA                           68 nt RNA fragments. e, Timelines of dual-crowdsourced challenges. Eterna
degradation. a, mRNA molecules fold into secondary structures containing                          participants designed datasets that were used for training and blind test data for
unpaired regions prone to hydrolysis and limiting to therapeutic stability. b,                    Kaggle machine learning competition to predict RNA chemical mapping signal
Screenshot of the OpenVaccine Kaggle competition public leaderboard. c,                           and degradation. f, Kaggle participants were given RNA sequence and structure
Screenshot of an example construct designed by an Eterna participant in the                       information and asked to predict RNA degradation profiles and SHAPE reactivity.
‘Roll Your Own Structure’ challenge (‘rainbow tetraloops 7’ by Omei). d, tSNE38                   In-structure encoding features, S = stem, H = hairpin, E = end, etc. from bpRNA24.
projection of training sequences of ‘Roll Your Own Structure’ Round I, marker                     Data are presented as mean ± standard deviation estimated from Poisson
style and colours indicating 150 Eterna participants. Lines indicate example short                counting error in sequencing reads (n = 1 biologically independent sample).




scoring two types of degradation data, we also scored predictions                                     We developed training and ‘public test’ datasets from the RYOS-I
for SHAPE data, hypothesizing that models would be more accurate                                 dataset (Fig. 2). The public test dataset was used to rank submissions
if able to learn shared underlying features between degradation data                             during the competition. The 3,029 constructs were filtered for those
and SHAPE data as a form of multi-task training. Nucleotides that are                            with mean signal-to-noise values greater than 1, resulting in 2,218
more reactive to the SHAPE reagent would be predicted to also have                               constructs (Fig. 2, dark blue track, Methods). These constructs were
dinucleotide linkages with higher degradation rates.                                             segmented into splits of 1,179 in the public training dataset, 400 con-
     In total, each independent construct of length N required predict-                          structs in the public test set and 639 for the ‘private test’ dataset, the
ing 3 × N values for the three data types. In addition to these experimen-                       set which would be used in the final evaluation. The sequences that
tal data, Kaggle participants were also provided with features related                           did not pass the signal-to-noise filter were also provided to Kaggle
to RNA secondary structure computed from available biophysical                                   participants with the according description. The RYOS-I data con-
models to use if they wished. These features included N × N base-pairing                         tained some ‘clusters’ of sequences where Eterna players included
probability matrices from EternaFold22, a recently developed pack-                               many small variations on a single sequence (clusters visible in Fig. 1d).
age with state-of-the-art performance on RNA structural ensembles;                               To mitigate the possibility of sequence motifs in these clusters biasing
dot-parenthesis notated minimum free energy (MFE) RNA secondary                                  evaluation, we segmented the RYOS-I data into a public training, public
structure from the ViennaRNA package23; and a six-character featuriza-                           test and private test sets by clustering the sequences and including
tion of the MFE structure calculated using bpRNA24.                                              only sequences that were singly, doubly or triply clustered in the


Nature Machine Intelligence | Volume 4 | December 2022 | 1174–1184                                                                                                                                                 1176
Article                                                                                                                     https://doi.org/10.1038/s42256-022-00571-8


                      Round I                                                                        Round II
                                                           Public test (400)
                    Public train (2,000)                              Private test (629)                                                 Private test (1,172)

                Signal-to-noise filter                                                            Signal-to-noise filter
                 No (811)            Yes (2,218)                                                  No (520)    Yes (2,493)


               5’                                                                            5’




               3’
             68 nucleotides                                       1
                                                                    In-line degradation
                                                                    “deg_Mg_pH10”
                                                                  0 (normalized)             3’
                                                                                            102 nucleotides

Fig. 2 | Signal-to-noise filtering and hierarchical clustering was used to filter the constructs designed by Eterna participants to create a test set of constructs
that were maximally distant from other test constructs. Heatmaps of data type ‘Deg_Mg_pH10’ (10 mM Mg2+, pH 10, 1 day, 24˚C).



private test set (Methods). This strategy was described to Kaggle                          public MCRMSE 0.39219, private MCRMSE 0.47197 for the original
participants during the competition.                                                       DegScore). Kaggle participants developed feature encodings beyond
     To ensure that the majority of the data used for the private test                     what was provided. One of the most widely used community-developed
set were fully blind, we initiated a second ‘Roll Your Own Structure’                      featurizations was a graph-based distance embedding depicted in
challenge that was launched for Eterna design collection on 18 August                      Fig. 3b. Several teams, including the top three teams, used a publicly
2020. Given that useful models for degradation should be agnostic to                       shared autoencoder/GNN/GRU kernel (https://www.kaggle.com/code/
RNA length, we designed the constructs in RYOS-II to be 34 nucleotides                     mrkmakr/covid-ae-pretrain-gnn-attn-cnn/), which alone achieved a
longer (102 versus 68 nt) than the constructs in RYOS-I to discour-                        MCRMSE of 0.24860 on the public and 0.36106 on the private test set
age modelling methods that would overfit to constructs of length                           (Fig. 3a). This notebook was the most forked (forked 936 times as of
68. Design collection was closed on 7 September, 3 days before the                         March 2022) and upvoted (upvoted 386 times). The architecture of
launch of the Kaggle challenge on 10 September. The RYOS-II wet-lab                        the winning ‘Nullrecurrent’ model (Fig. 3c) depicts the architecture
experiments were conducted concurrently with the Kaggle challenge,                         of this shared kernel, which feeds 1D and 2D features, including adja-
enabling a completely blind test for the models developed on Kaggle.                       cency matrices based on the secondary structure of the RNA inputs,
The Kaggle competition was closed on 6 October. The RYOS-II was simi-                      into a multi-head attention network, the output of which is then fed
larly clustered and filtered to ensure that the test set used for scoring                  into convolutional neural net layers. Many teams additionally cited
consisted primarily of singly and doubly clustered constructs. Three                       pseudo-labelling and generating additional mock data as being integral
data types were used to score models: SHAPE; 10 mM Mg2+, pH 10, 1 day,                     to their solutions. The architecture of the second-placed team (Fig. 3d)
24 °C; and 10 mM Mg2+, pH 7.2, 1 day, 50 °C. Models were scored using                      demonstrates an example implementation of using pseudo-labelling.
the mean column RMSE (MCRMSE) across three data types, defined as                          The practice of pseudo-labelling, which is similar to the student-teacher
                                                                                           learning paradigm,26 involves using predictions from one model as
                                   1   Nt   1  n           2                               ‘mock ground truth’ labels for another model. To generate additional
                    MCRMSE =         ∑        ∑ (y − yiĵ ) ,                    (3)
                                   Nt j=1 √ n i=1 ij                                       mock data, participants generated random RNAs and structure featuri-
                                                                                           zations from five different secondary structure prediction algorithms
where Nt is the number of scored data types, n is the number of nucle-                     using the package Arnie (https://github.com/DasLab/arnie) and used
otides in the dataset, yij is the measured data value, and yiĵ is the pre-                these RNAs in training as well (see Supplementary Information for more
dicted data value for nucleotide i in sequence j. Two additional data                      detailed descriptions of solutions from Kaggle teams).
types were included in the training data corresponding to RNAs                                  We explored whether increased accuracy in modelling could be
degraded for 7 days without Mg2+ rather than 1 day with Mg2+: (pH 10,                      achieved by ensembling models, that is, combining predictions from
7 days, 24 °C; and pH 7.2, 7 days, 50 °C). However, these data were not                    multiple models; a common feature of Kaggle competitions is that win-
collected for the second round to accelerate competition turnaround.                       ning solutions are dissimilar enough that ensembled models frequently
                                                                                           improve predictive ability. We found that ensembling resulted in only
Kaggle team performance and common attributes of top models                                modest improvements (Methods), suggesting the majority of signal
During the 3 week competition period, 1,636 teams submitted 35,806                         had been captured by the top two models.
solutions. The overall performance of teams compared to baseline
models for RNA degradation is depicted in Fig. 3a. Kaggle entries sig-                     Top models are capable of deep representation of RNA motifs
nificantly outperformed the ‘DegScore’ linear regression model for                         We analysed predictions from the first-placed model (‘Nullrecurrent’) in
RNA degradation13 by 37% in MCRMSE for the public test set and 25%                         greater depth to better understand its performance. Across all nucleo-
for the private test set (Fig. 3a). We found that for predictions from the                 tides in the private test set, 41% of nucleotide-level predictions for
top 100 teams (Extended Data Fig. 2) as well as amongst predictions                        SHAPE reactivity agreed with experimental measurements with an error
between individual constructs (Extended Data Fig. 3), performance                          margin that was lower than experimental uncertainty; for comparison,
between data types was highly correlated in the public dataset and                         if experimental errors are distributed as normal distributions, a perfect
less strongly correlated in the private dataset. Overall, the weakest                      predictor would agree with experimental values over 68% of data points.
correlation was between SHAPE and degradation data types.                                  For Deg_Mg_pH10 and Deg_Mg_50C, 28% and 42% of predictions were
     An additional benchmark model that used the DegScore win-                             within error, respectively.
dowed featurization (see Methods) with improved XGBoost25 training,                             The nucleotides with the highest RMSE in the Deg_Mg_pH10
termed the DegScore-XGB model, resulted in moderate improvement                            data type were any nucleotide type in bulges, and U’s in any unpaired
(public MCRMSE 0.35854, private MCRMSE 0.43850 compared to                                 context. Figure 4a depicts representative constructs with the lowest


Nature Machine Intelligence | Volume 4 | December 2022 | 1174–1184                                                                                                1177
Article                                                                                                                                              https://doi.org/10.1038/s42256-022-00571-8


              a                                                                                          b                                         Predict reactivity at root node
                                           0.8

                                           0.7

                  Private test set score   0.6
                                                                                                                                                         Bidirectional LSTM
                                           0.5                         DegScore                                      Root node
                                                                       (Leppek et al., 2022)                                                     Graph                    Graph               ...
                                           0.4                                                                       Radius-1 neighbour
                                                                 DegScore-XGB                                                                  convolution              convolution
                                                                                                                     Radius-2 neighbour
                                           0.3              Shared kernel
                                           0.2
                                                                                                                5’
                                           0.1
                                                     Experimental error                                                                                                                       ...
                                                                                                                3’

                                            0
                                                 0    0.2           0.4           0.6      0.8
                                                      Public leaderboard score


              c First-placed architecture, “Nullrecurrent”                                       d           Second-placed architecture, “Kazuki2”

                                                                          1D features
                                  2D features
                                                                                                                                                                        1,2
                                                                                                                                                         Gaussian              GNN
                                                                                                                     1,2                                 noise                          1,2
                                                                       CNN layers                1                         GRU                                                                GRU’
                                                                   (kernels 3,6,15,30)
                                                                                                     Original              LSTM                    XGB                                        LSTM’

                                                                                                                                   SN_filter = 1             Pseudo
                                                                                                                           GNN                                           Pred > 0.75          GNN’
                                                                   Distance attention
                                                                                                 2

                                                                                                                                                               SN_filter = 1
                                                                                                 Augmented
                                  Dense/target                            CNN layers
                                                                                                                                                          XGB’                   Submission

                                                                                                                                                                  Gaussian
                           LSTM/GRU                               Multi head attention                                                                            noise
                         /WaveNet/CNN

Fig. 3 | Deep learning strategies used in competition. a, Public test versus                                           architecture, which combined elements of classic recurrent neural networks and
private test performance of all teams in the Kaggle challenge. Black star:                                             convolutional neural networks. d, Schematic of the full solution pipeline for the
experimental error. Red star: DegScore baseline model13. Orange star: DegScore-                                        second-placed solution. This solution combined single-model neural networks,
XGB model using DegScore featurization with XGBoost. Purple star: baseline                                             similar to the ones used for the first-placed solution, with more complex
kernel used by many top-performing teams. b, Distance embedding used to                                                second- and third-level stacking using XGBoost25 as the higher level learner.
represent nucleotide proximity to other nucleotides in secondary structure.                                            Abbreviations in schematics: CNN: convolutional neural network, GRU: gated
c, Schematic of the single neural net (NN) architecture used by the first-                                             recurrent unit, GNN: graph neural network, LSTM: long short-term memory
placed solution. This solution combined two sets of features into a single NN                                          neural network, SN: signal-noise, XGB: XGBoost.


RMSE for the Deg_Mg_pH10 data type out of the private test data,                                                       Kaggle models improve prediction of mRNA degradation
demonstrating that diverse structures and structure motifs were                                                        As an independent test, we assessed the ability of the top two Kag-
capable of being predicted correctly. Aggregating predictions from                                                     gle models to predict the overall degradation rates for a dataset of
the Nullrecurrent model over secondary structure motifs (Fig. 4b)                                                      full-length mRNAs that were not publicly available at the time of
demonstrates that the Nullrecurrent model captured patterns previ-                                                     the Kaggle competition. Because the throughput of the In-line-seq
ously observed in the experimental signal13. The most reactive RNA                                                     experimental method is limited to RNA lengths easily accessible by
structure motifs were triloops, a previously unknown biological find-                                                  Illumina sequencers (500 nt), these mRNAs could not be probed at
ing. Another unexpected finding from these data was that symmetric                                                     a per-nucleotide level akin to the datasets used in the Kaggle experi-
internal loops were more stable against degradation than internal                                                      ments. However, their overall degradation rates (related to the
loops with asymmetric lengths. The fact that the Nullrecurrent model                                                   per-nucleotide degradation rate via equation (1)), were characterized
was able to capture this trend indicates that using such models within                                                 using PERSIST-seq13. In brief, the PERSIST-seq technique measured
a design algorithm would allow for an automated way to model such                                                      the overall degradation rate of a mRNA by monitoring the mRNA’s
biochemical attributes within a designed mRNA. Constructs with the                                                     abundance using reverse transcription followed by polymerase chain
highest RMSE highlight instances in which the provided structure                                                       reaction amplification (RT-PCR) at varying timepoints after degrada-
features were incorrect. Figure 4c depicts two constructs with the                                                     tion was initiated. The lengths of these mRNAs ranged from 504 to 1,588
highest RMSE for the SHAPE modification prediction. The SHAPE                                                          with a median length of 928 (Fig. 5a), nearly tenfold longer than the
data for the first construct, ‘2204Sept042020’, has high reactivity in                                                 longest RNA fragments used in the OpenVaccine Kaggle challenge (full
predicted stem areas, indicating that the stems were unfolded in solu-                                                 mRNA dataset, attributes and calculations in Supplementary Table 2).
tion. By contrast, construct ‘Triple UUUU Tetraloops’ has low reactivity                                               The experimentally determined structures of two example mRNAs
in the exterior loop, suggesting that those nucleotides were paired                                                    designed by Eterna participants13 are depicted in Fig. 5b. Both code
rather than unpaired. These examples notwithstanding, we found no                                                      for Nanoluciferase but have a 2.5-fold difference in hydrolysis lifetime.
correlation between the EternaScore, a metric indicating how closely                                                   ‘Yellowstone’ was designed by an Eterna participant using codons
the experimental reactivity signal matches the predicted structure17,                                                  that mimic nucleotide frequencies from organisms in Yellowstone
and RMSE summed per construct, suggesting that, in general, quality                                                    hot springs27; ‘LinearDesign-1’ was designed by an Eterna participant
of the input structure features was not a limitation in model training                                                 using an initial sequence from the LinearDesign mRNA structure opti-
(Extended Data Fig. 4).                                                                                                mization server28.


Nature Machine Intelligence | Volume 4 | December 2022 | 1174–1184                                                                                                                                    1178
Article                                                                                                                                                                   https://doi.org/10.1038/s42256-022-00571-8



             a                                                                            Left: Prediction from Kaggle first-placed model
                               SHAPE modification                   5’
                                                                                          Right: Experiment
                                                                     3’




                                                  5’   3’

                 5’      3’




                                                                                                 5’   3’
                                                                                                                                 5’    3’



                                                                                                       “AMH08252020”, 10218864
                                                                                                                                                                    5’         3’                     5’   3’
              “MJNPS08292020”, 10224950                                                                                                                                  “Multiloop neck test 3a” 10235311
                      In-line degradation                    5’

                                                             3’


                                                                                          “23s snippet 15”, 10207382
                                    A A         UA A
                                    A   A      C     G
                                   G     GCCU        C              A AC
                                A G
                                               G
                                          CGG A C AG AU         GU       A
                                                      U       G
                               C C A CA                 A CA               U
                                 G    U                  G                  C
                            U CG                           U
                                                                              A
                           U                              A
                                U                                             A
                             CG                           A
                                                                              A
                            G                              A
                          U CU                              G
                                                                             U
                         C                                   G              C
                                G                                         G
                         C     A                           5'           U
                          CG A                                    CCA
                         GC                                      3'                                            5'
                        U                                                                                           3'
                      A A
                      A    A
                        AC




                                                                                                                         1
                                                                                                                             Data/prediction              5’   3’
                                                Signal averaged over structure motifs                                        (normalized)
             b
                                                                                                                                                                                                                     5’        3’

                                                                                                                         0                                                                   “DeRNAged 70”, 10235797
                              Kaggle first prediction                                       Experiment
                                                                                             A             A

                 A
                               A
                                          A            A
                                                                   A              A
                                                                                      A                             A
                                                                                                                             c                     Prediction from Kaggle                             Experiment
                                                                                                                                                     first-placed model
                                                                                             C             C
                                          C            C                              C                             C
                               C                                   C              C
                 C

                                                                                             G             G
                               G
                                          G            G
                                                                   G              G
                                                                                      G                             G                 Failure mode:
                 G                                                                                                                    Predicted helices
                                          U            U                              U
                                                                                             U             U
                                                                                                                    U
                                                                                                                                      likely unfolded
                               U                                   U              U
                 U




                                                                                                                                                                                               “2204Sept042020”, 10233615


                                                                                                                             Failure mode:
                                                                                                                             Not-predicted
                                                                                                                             helix likely present


                                                                                                                                                                                                                5’        3’
                                                                                                                                                                          5’        3’




                                                                                                                                                                                         “Triple UUUU tetraloops”, 10238078

Fig. 4 | Deep-learning models can represent RNA-structure-based                                                               experimental signal, averaged over secondary structure motifs. c, One failure
observables. a, Representative structures from the best-predicted constructs                                                  mode for prediction came from constructs whose input secondary structure
from SHAPE modification (top row) and degradation at 10 mM Mg2+, pH 10, 1 day,                                                features were possibly incorrectly predicted.
24 °C (Deg_Mg_pH10, bottom row). b, Nullrecurrent model predictions and



      To compare the Kaggle predictors to the single overall degradation                                                      p = 2.9 × 10–7) and the DegScore-XGBoost model (R = 0.42, p = 1.8 × 10–9).
rate from PERSIST-seq, we made predictions for all nucleotides in the                                                         An ensemble of the Nullrecurrent and Kazuki2 models did not outper-
full mRNA constructs and summed the predictions from the region that                                                          form the Kazuki2 model (R = 0.47, p = 1.4 × 10–11), again suggesting that
was captured by RT-PCR in PERSIST-seq which, in most cases, included                                                          the models themselves had reached their predictive potential. To esti-
the mRNA’s 5′ untranslated region (UTR) and coding sequence (CDS)                                                             mate an upper limit for correlation considering experimental error, we
(Fig. 5c). Carrying out predictions on the full RNA sequence and then                                                         resampled the measured degradation rates from within experimental
summing over the probed window accounts for interactions between                                                              error and calculated the correlation to the mean degradation rate. This
the untranslated regions and CDS, as can be seen for two example                                                              resulted in a Spearman correlation of 0.88 (Table 1).
constructs in Fig. 5b–nucleotides in the 5′ and 3′ UTRs are predicted to
pair with the CDS. We made predictions for 188 mRNAs in four classes of                                                       Discussion
protein targets: a short multi-epitope vaccine (MEV), the model protein                                                       The OpenVaccine competition uniquely leveraged resources from two
nanoluciferase, with one class consisting of varied UTRs and a second                                                         complementary crowdsourcing platforms: Kaggle and Eterna. The
consisting of varied CDSs, and enhanced green fluorescent protein                                                             participants in the Kaggle competition were tasked with predicting
(eGFP). We found that the Kaggle second-placed ‘Kazuki2’ model exhib-                                                         stability measurements of individual RNA nucleotides. The urgency of
ited the highest correlation to experimentally determined degradation                                                         timely development of a stable COVID-19 mRNA vaccine necessitated
rates, followed by the Kaggle first-placed ‘Nullrecurrent’ model (Fig. 5c),                                                   that the competition be run on a relatively short timeframe of three
with Spearman correlation coefficients of 0.48 (p = 3.3 × 10–12) and                                                          weeks, as opposed to three months, which is more common with Kag-
0.43 (p = 9.5 × 10–10), respectively. Both Kaggle models outperformed                                                         gle competitions.
unpaired probability values from ViennaRNA RNAfold v. 2.4.1423                                                                     The models presented here are immediately useful for mRNA
(R = 0.25, p = 5.4 × 10–4), the DegScore linear regression model (R = 0.36,                                                   design in that they could be called within a stochastic mRNA design


Nature Machine Intelligence | Volume 4 | December 2022 | 1174–1184                                                                                                                                                                  1179
Article                                                                                                                                                                                                                         https://doi.org/10.1038/s42256-022-00571-8


                a                                  PERSIST-seq dataset                                                         b                                                                             c
                             2,000                                                                                                                                    “LinearDesign-1”

                                                                                                                                                                                  5’ UTR
                                                                                                                                                                                                             5’ UTR                    Coding sequence (CDS)                  3’ UTR
                               1,500
                                                                                                                                                                                               3’ UTR
              mRNA length

                                                                                                                                                     CDS                                                     0                     200             400         600        800

                                                                                                                                                                                                                                                          Predict full construct
                              1,000

                                                                                                                                                                                                             0                         200          400        600            800
                                                                                                                                                   “Yellowstone”
                                    500

                                                                                                                                                                                                                                  Normalize by length of region
                                                                                                                              eGFP (n = 13)                                                                                       characterized in PERSIST-seq
                                          0
                                                                                                                              MEV (n = 9)
                                                   500                                   1,000            1,500
                                                                                                                              NLuc UTR variants (n = 101)
                                                      kmRNA    –5
                                                       deg × 10 min
                                                                    –1
                                                                                                                              NLuc CDS variants (n = 65)

                d                                                                                                                    0.375
                                          0.45   R:0.25                                                                                       R:0.36                                                                                         R:0.42
                                                 P = 5.4 × 10–4                                                                    0.350      P = 2.9 × 10–7                                                                    0.50         P = 1.8 × 10–9




                                                                                                                                                                                                             DegScore-XGBoost
                                          0.40
                            p(unpaired)




                                                                                                                        DegScore
                                                                                                                                   0.325
                                          0.35                                                                                                                                                                                  0.45
                                                                                                                                   0.300
                                          0.30
                                                                                                                                                                                                                                0.40
                                                                                                                                     0.275

                                          0.25
                                                                                                                                   0.250
                                                                                                                                                                                                                                0.35
                                                         1.0                                    1.5         2.0                                          1.0                             1.5        2.0                                             1.0        1.5            2.0

                                                    Avg. k linkage
                                                           deg     × 10–5 min–1                                                                     Avg. k linkage
                                                                                                                                                           deg     × 10–5 min–1                                                                 Avg. k linkage
                                                                                                                                                                                                                                                       deg     × 10–5 min–1



                                                                                                      R:0.43                                                                               R:0.48
                                                          Kaggle first (Nullrecurrent)




                                                                                         0.55
                                                                                                                                                        Kaggle second (Kazuki2)




                                                                                                      P = 9.5 × 10–10                                                                      P = 3.3 × 10–12
                                                                                                                                                                                  0.50

                                                                                         0.50

                                                                                                                                                                                  0.45
                                                                                         0.45

                                                                                                                                                                                  0.40
                                                                                         0.40


                                                                                                             1.0               1.5           2.0                                                   1.0               1.5                 2.0

                                                                                                         Avg. k linkage
                                                                                                                deg     × 10–5 min–1                                                           Avg. k linkage
                                                                                                                                                                                                      deg     × 10–5 min–1

Fig. 5 | Kaggle models demonstrate improved performance in independent                                                                                                            to PERSIST-seq degradation rates, which account for degradation between two
test of degradation of full-length mRNAs. a, Overall mRNA degradation rate                                                                                                        RT-PCR primers designed to capture degradation in the CDS region. d, Length-
from PERSIST seq is driven by mRNA length. Kaggle models were therefore tested                                                                                                    normalized predictions from the Kaggle first-placed ‘Nullrecurrent’ model and
in their ability to predict length-averaged mRNA degradation. Data are presented                                                                                                  Kaggle second-placed ‘Kazuki2’ model show improved prediction over unpaired
as mean values ± standard error estimated from the PERSIST-seq experiment,                                                                                                        probabilities from ViennaRNA RNAfold23 and the DegScore linear regression
n = 3 biologically independent samples. b, Representative structures of two                                                                                                       model13, and a version of the DegScore featurization with XGBoost25 training.
mRNAs of the same length that both encode nanoluciferase, one with high                                                                                                           Data are presented as mean values ± standard error estimated from the PERSIST-
degradation (‘Yellowstone’, left) and low degradation (‘LinearDesign-1’, right).                                                                                                  seq experiment, n = 3 biologically independent samples. Significance test for
These mRNAs were designed by Eterna participants, and were used as a negative                                                                                                     Spearman correlation value is two-sided p-value for a hypothesis test whose null
control and positive control of structured mRNA in ref. 13. c, Prediction vectors                                                                                                 hypothesis is that two sets of data are uncorrelated.
were summed over nucleotides corresponding to the CDS region to compare



algorithm12 to minimize the predicted degradation. There is likely                                                                                                                new thermodynamic parameters for modified nucleotides, it may be
further opportunity to leverage advancements in natural language                                                                                                                  possible to develop principled heuristics to adapt models to mRNAs
processing to use datasets such as the ones presented here to gen-                                                                                                                synthesized with modified nucleotides. For instance, Leppek et al.
erate mRNA designs using text-generation approaches29–31. The                                                                                                                     modified the DegScore model for pseudouridine by setting all uridine
degradation data used in this competition were from RNA synthe-                                                                                                                   degradation measurements to zero to mimic the stabilization effect
sized with unmodified nucleotides, but mRNA vaccines are being                                                                                                                    of pseudouridine, and saw moderate improvement in correlation13.
formulated with modified nucleotides including pseudouridine or N-                                                                                                                     Kaggle competitions with relatively small datasets can be subject
1-methyl-pseudouridine15. Modified nucleotides in general will have                                                                                                               to serious overfitting to the public leaderboard, which often leads to
differing underlying thermodynamics32, and there is a need to develop                                                                                                             a ‘shake-up’ of the leaderboard when the results on the unseen test set
datasets and predictive models to predict structures and resulting                                                                                                                are announced. In this competition the shake-up was minimal—most
stabilization of mRNAs formulated with modified nucleotides. The                                                                                                                  of the top teams were ranked close to the same position on the private
In-line-seq method can be performed using RNA with modified nucleo-                                                                                                               leaderboard as they were on the public leaderboard. As the private
tides, and the resulting data could be used to re-train models with archi-                                                                                                        leaderboard was determined on data that had not been collected at the
tectures such as the ones presented here. Short of developing complete                                                                                                            time of the competition launch, this result suggests that the models


Nature Machine Intelligence | Volume 4 | December 2022 | 1174–1184                                                                                                                                                                                                                     1180
Article                                                                                                             https://doi.org/10.1038/s42256-022-00571-8


Table 1 | Results from models tested in this work on Kaggle                               Methods
OpenVaccine public leaderboard, private test set and                                      Initial feature generation
orthogonal mRNA degradation results                                                       As a starting point for Kaggle teams, we supplied a collection of features
                                                                                          for each RNA sequence, including the minimum free energy (MFE)
                               Public test    Private test    mRNA degradation            structure according to the ViennaRNA 2 energy model23, ‘loop type’,
                               set (400       set (1,801      prediction from ref. 6
                               constructs,    constructs,     (188 constructs)            or secondary structure type assignments generated with bpRNA24
                               27,200 nt)     162,316 nt)                                 (S = Stem, I = Internal loop, B = Bulge, H = Hairpin, M = Multiloop,
                                                                                          X = external loop, E = end, terminology adopted from bpRNA) and
 Metric                        MCRMSE          MCRMSE         Spearman correlation
                                                                                          the base-pair probability matrix according to the EternaFold22 energy
 Experimental error            0.12491         0.10571        0.88a                       model. These features were generated using Arnie (https://github.
 Single model                                                                             com/DasLab/arnie).
 (blind prediction)
 DegScore                      0.39219         0.47297        0.36                        Experimental data generation
 DegScore-XGBoost              0.35854         0.43850        0.42                        The first experimental dataset used in this work, for the public training
                                                                                          and test set, resulted from the ‘Roll-Your-Own-Structure’ Round I lab on
 Nullrecurrent                 0.22758         0.34198        0.43
                                                                                          Eterna, and had been generated previously by Leppek et al.13
 Kazuki2                       0.22756         0.34266        0.48                             The second experimental dataset used in this work, for the private
 Ensembled models                                                                         test set, was generated for this work specifically. To produce these
 (post hoc)                                                                               data, and for precise consistency with the public training and test set,
 Genetic algorithm             0.2237          0.3397                                     In-line-seq was carried out as described by Leppek et al.13 In brief, DNA
 (10 of top 100 selected)                                                                 templates were ordered via custom oligonucleotide pool from Custom
 Ensemble top two              0.2244          0.33788        0.47                        Array/Genscript, prepended by the T7 RNA polymerase promoter. Tem-
 models                                                                                   plates were amplified via PCR, transcribed to RNA via the TranscriptAid
 Genetic algorithm on                          0.3382         –
                                                                                          T7 High Yield Transcription Kit (Thermofisher, K0441), and the purified
 private test set                                                                         RNA was subjected to degradation conditions: (1) 50 mM Na-CHES
a
 Spearman correlation of experimental length-normalized degradation rate,resampled from
                                                                                          buffer (pH 10.0) at room temperature without added MgCl2; (2) 50 mM
experimental error.                                                                       Na-CHES buffer (pH 10.0) at room temperature with 10 mM MgCl2; (3)
                                                                                          phosphate-buffered saline (PBS, pH 7.2; Thermo Fisher Scientific-Gibco
are robust and generalizable. We demonstrated the top two models                          20012027) at 50 °C without added MgCl2; and (4) PBS (pH 7.2) at 50 °C
generalized to the task of predicting degradation for full-length mRNA                    with 10 mM MgCl2. In parallel, purified RNA was subjected to SHAPE
molecules that were tenfold longer than the constructs used for train-                    structure-probing conditions, and one sample was subjected to the
ing. We speculate that the use of a separate, independently collected                     SHAPE protocol absent addition of the 1-methyl-7-nitroisatoic anhy-
dataset for the private leaderboard tests—a true blind prediction chal-                   dride reagent.
lenge—was important for ensuring generalizability. The winning solu-                           cDNA was prepared from the six RNA samples (SHAPE probed,
tions all combined neural network architectures that are commonly                         control reaction and four degradation conditions). We pooled 1.5 μl of
used in modelling 1D sequential data, including multihead attention,                      each cDNA sample together, ligated with an Illumina adapter, washed
recurrent NNs (LSTMs and GRUs) and 1D CNNs. The effectiveness of                          and resuspended the ligated product, which was quantified by qPCR,
pseudo-labelling has two implications: more data will likely benefit                      sequenced using an Illumina Miseq. Resulting reads were analysed
any future modelling efforts, and the simple architectures that were                      using MAPseeker (https://eternagame.org/software) following the
used have enough capacity to benefit from more data.                                      recommended steps for sequence assignment, background subtrac-
      An under-investigated aspect of the models presented here is the                    tion of the no-modification control, correction for signal attenuation
effect of training on multiple data types. We speculate that because                      and reactivity profile normalization as described previously20.
SHAPE reactivity has higher signal-to-noise than the degradation data
types (Extended Data Fig. 5), models with architectures that allowed                      Signal-to-noise filtering
for weight-sharing between data types benefitted from learning to                         Data were filtered to include RNAs with a minimum value >0.5, maxi-
predict SHAPE reactivity as well. Directly predicting RNA degrada-                        mum value <20 across five RNA degradation conditions and RNAs with
tion without concurrently training on SHAPE data may result in worse                      a signal/noise ratio for SHAPE reactivity greater than 1.0. Signal/noise
model performance. Conversely, the model architectures presented                          ratio for each construct was calculated as
here may also prove to have useful biological applications in predicting
                                                                                                                              1   M 1   N μi,j
only SHAPE reactivity data. Future directions for model development                                              SN ratio =     ∑     ∑        ,                     (4)
                                                                                                                              M i=1 N j=1 σi,j
include training such models on larger chemical mapping datasets from
more diverse experimental sources22 and integrating into inference
frameworks for RNA structure prediction22,33.                                             where μi,j is the mean value of data type i at nucleotide j, and σi,j is stand-
      Finally, the models for predicting RNA hydrolysis developed in                      ard deviation of data type i at nucleotide j, as calculated by MAPseeker.
this work may prove useful in computationally identifying classes of                      The data that did not pass the above filters were also provided to par-
natural RNAs that have evolved to be resistant to degradation34. Such                     ticipants to give the option to use in training, and was flagged with the
future bioinformatic analysis may suggest entirely new biologically                       variable ‘SN_filter = 0’. Applying the above filter did not significantly
inspired approaches for designing hydrolysis-resistant RNA therapeu-                      alter the distribution of the median reactivity or signal/noise of any
tics. More immediately, it will be of strong interest to computationally                  data type (SHAPE reactivity, Deg_Mg_pH10, Deg_Mg_50C) within either
design mRNA sequences that optimize the predicted degradation                             dataset (RYOS 1 or RYOS 2; Extended Data Fig. 6). However, average
stability discovered in this study, and to experimentally test if such                    signal/noise of the Round II constructs was higher than the Round
sequences are indeed sufficiently stable to enable wider distribu-                        1 constructs. Average signal/noise ratio for SHAPE reactivity across
tion of mRNA vaccines. In silico design of neural-network-predicted                       each dataset increased from 5.3±2.4 (mean ± standard deviation) to
properties is an active area of research, and we speculate that further                   6.2±3.5; for deg_Mg_pH10, 4.1±2.0 to 6.4±3.8 for Rounds 1 and 2; and
dual-crowdsourcing studies may help accelerate progress.                                  for deg_Mg_50C 3.87±1.8 to 5.3±3.1 (Extended Data Fig. 5).


Nature Machine Intelligence | Volume 4 | December 2022 | 1174–1184                                                                                                  1181
Article                                                                                                  https://doi.org/10.1038/s42256-022-00571-8

      We wished to ascertain if the measured reactivities and degrada-         the simple ensemble of the top two models outperforms the genetic
tion from Round 2 needed to be rescaled to match Round 1. To assess            algorithm blend of the top 10 (on the private test set) suggests that the
this, we compared distributions of nucleotide reactivities from nucleo-        genetic algorithm did not find a global minimum for model weights.
tide types. We found that for each data type and nucleotide type, the
median values for Round 2 were within the 50% interquartile range of           Reporting summary
Round 1 (Extended Data Fig. 7a). We also compared distributions of             Further information on research design is available in the Nature Port-
reactivity from the first five nucleotides, which are a constant ‘GGAAA’       folio Reporting Summary linked to this article.
for each construct. The median values for each nucleotide in this were
within the 50% interquartile range for all except for the first two GG’s       Data availability
in the ‘Deg_Mg_pH10’ data type (Extended Data Fig. 7b). We elected to          All datasets are downloadable in raw RDAT format from https://rmdb.
not rescale the data from Round 2.                                             stanford.edu at the following accession numbers: SHAPE_RYOS_0620,
                                                                               RYOS1_NMD_0000, RYOS1_PH10_0000, RYOS1_MGPH_0000,
Private test set curation                                                      RYOS1_50C_0000, RYOS1_MG50_0000, RYOS2_1M7_0000,
The private test set was curated to avoid bias toward more highly rep-         RYOS2_MGPH_0000, RYOS2_MG50_0000. Kaggle-formatted train
resented sequence motifs from the Eterna designs. Sequences that               and test sets are downloadable from https://www.kaggle.com/c/
passed the above filters were clustered hierarchically using the ‘ward’        stanford-covid-vaccine. Datasets, scripts and models are also included
method in scikit-learn35 and then clustered at a cophenetic distance           at https://www.github.com/eternagame/KaggleOpenVaccine. Source
of 0.5. That is, sequences within the same cluster have <50% sequence          data are provided with this paper.
similarity. All sequences that were in clusters with one, two or three
members were included in the private test set, as well as one cluster          Code availability
member from other randomly selected clusters to attain the desired             Code to run the Nullrecurrent model and the DegScore-XGBoost model
number of test set constructs.                                                 is available at www.github.com/eternagame/KaggleOpenVaccine36.
                                                                               Code to use and reproduce the linear regression DegScore model is
Comparing to the DegScore model                                                available at www.github.com/eternagame/DegScore37.
We compared Kaggle models to the ‘DegScore’ linear model13, which
models degradation at a given nucleotide i as a linear function of nucle-      References
otides surrounding i:                                                          1.    Kramps, T. & Elbers, K. Introduction to RNA Vaccines. Methods in
                          w
                                                                                     molecular biology (Clifton, N.J.) 1499, 1–11 (2017).
                  Yi = ∑k=−w [∑n∈{A,C,G,U} (βk,n Ii+k,n )]                     2.    Kaczmarek, J. C., Kowalski, P. S. & Anderson, D. G. Advances in
                                                                        (5)
                      w
                  + ∑k=−w [∑s∈{H,E,I,M,B,S} (βk,s Ii+k,s )] + β0 ,
                                                                                     the delivery of RNA therapeutics: from concept to clinical reality.
                                                                                     Genome Med. 9, 60 (2017).
                                                                               3.    Corbett, K. S. et al. Evaluation of the mRNA-1273 vaccine against
where β represents learned coefficients and I is an indicator func-                  SARS-CoV-2 in nonhuman primates. N. Engl. J. Med. 383,
tion corresponding to the identity of nucleotide i+k. I accounts for                 1544–1555 (2020).
sequence identity n(A,C,G,U) and its secondary structure type assign-          4.    Baden, L. R. et al. Efficacy and safety of the mRNA-1273
ment s (S = stem, E = external loop, I = internal loop, B = bulge, H = hair-         SARS-CoV-2 vaccine. N. Engl. J. Med. 384, 403–416 (2021).
pin, M = multiloop). The secondary structure type assignment ‘X’ for           5.    Polack, F. P. et al. Safety and efficacy of the BNT162b2 mRNA
external loop was replaced with ‘E’ in the DegScore model in ref. 13, to             covid-19 vaccine. N. Engl. J. Med. 383, 2603–2615 (2020).
reflect the biophysical similarity between the two categories. w is the        6.    Verbeke, R., Lentacker, I., De Smedt, S. C. & Dewitte, H. Three
maximum window distance, set to be 12 by Leppek et al.13. For a window               decades of messenger RNA vaccine development. Nano Today
size of w = 12, there are 251 parameters (25 positions with 4 sequence               28, 100766 (2019).
indicators and 6 secondary structure indicators for each position, and         7.    Zhang, N. N. et al. A thermostable mRNA vaccine against
1 intercept parameter).                                                              COVID-19. Cell 182, 1271–1283.e1216 (2020).
                                                                               8.    Wu, K. et al. Serum Neutralizing Activity Elicited by mRNA-1273
Ensembling models                                                                    Vaccine. N. Engl. J. Med. 384, 1468–1470 (2021).
We explored whether increased accuracy in modelling could be                   9.    Crommelin, D. J. A., Anchordoquy, T. J., Volkin, D. B., Jiskoot, W. &
achieved by combining models. We used a genetic algorithm to ensem-                  Mastrobattista, E. Addressing the cold reality of mRNA vaccine
ble maximally 10 of the top 100 models. The score on the public dataset              stability. J. Pharm. Sci. 110, 997–1001 (2021).
was used to optimize, with the final ensembled model evaluated on              10.   Schoenmaker, L. et al. mRNA-lipid nanoparticle COVID-19
the private dataset. With this method, ensembling achieved a public                  vaccines: structure and stability. Int. J. Pharm. 601,
MCRMSE of 0.2237 (compared to the best public MCRMSE of 0.2276)                      120586 (2021).
and a private MCRMSE of 0.3397 (compared to the best private test set          11.   Kon, E., Elia, U. & Peer, D. Principles for designing an optimal
MCRMSE of 0.3420). By comparison, averaging the outputs of the top                   mRNA lipid nanoparticle vaccine. Curr. Opin. Biotechnol. 73,
two models gave a result of 0.2244 public, 0.33788 private. Blending the             329–336 (2022).
top two solutions with the third solution did not improve the result. An       12.   Wayment-Steele, H. K. et al. Theoretical basis for stabilizing
estimated bound of ensembling can be found by optimizing directly to                 messenger RNA through secondary structure design. Nucleic
the private ensemble score. With this method, it was possible to achieve             Acids Res. 49, 10604–10617 (2021).
a private ensemble score of 0.3382 (again, versus best Leaderboard             13.   Leppek, K. et al. Combinatorial optimization of mRNA structure,
MCRMSE 0.3420). The improvement of 0.0038 over the leaderboard                       stability, and translation for RNA-based therapeutics. Nat.
for this last approach is about the distance between the first-placed                Commun. 13, 1536 (2022).
and tenth-placed teams, and the ‘correct’ way gives an improvement             14.   Hur, S. Double-stranded RNA sensors and modulators in innate
that is the distance between the first- and fifth-placed teams. All these            immunity. Annu. Rev. Immunol. 37, 349–375 (2019).
experiments suggest that most of the signal has been captured by               15.   Kariko, K. et al. Incorporation of pseudouridine into mRNA yields
the top two models, and that the use of further ensembling provides,                 superior nonimmunogenic vector with increased translational
at best, modest improvements. The seemingly puzzling result that                     capacity and biological stability. Mol. Ther. 16, 1833–1840 (2008).


Nature Machine Intelligence | Volume 4 | December 2022 | 1174–1184                                                                                    1182
Article                                                                                                 https://doi.org/10.1038/s42256-022-00571-8

16. Doherty, E. A. & Doudna, J. A. Ribozyme structures and                  Acknowledgements
    mechanisms. Annu. Rev. Biophys. Biomol. Struct. 30,                     We thank all participants of the Kaggle OpenVaccine challenge. We
    457–475 (2001).                                                         thank S. Ezzat and C. Kao for Eterna development and assistance
17. Lee, J. et al. RNA design rules from a massive open laboratory.         launching the OpenVaccine challenge. We acknowledge funding from
    Proc. Natl Acad. Sci. USA 111, 2122–2127 (2014).                        the National Institutes of Health (R35 GM122579 to R.D.), FastGrants
18. Anderson-Lee, J. et al. Principles for predicting RNA secondary         and gifts to the Eterna OpenVaccine project from donors listed in
    structure design difficulty. J. Mol. Biol. 428, 748–757 (2016).         Supplementary Table 3.
19. Andreasson, J. O. L. et al. Crowdsourced RNA design discovers
    diverse, reversible, efficient, self-contained molecular switches.      Author contributions
    Proc. Natl Acad. Sci. USA 119, e2112979119 (2022).                      H.K.W.S., D.S.K., A.M.W., B.T., W.R., M.T. and R.D. designed and
20. Seetin, M. G., Kladwang, W., Bida, J. P. & Das, R. Massively parallel   implemented the Kaggle OpenVaccine competition. W.K. performed all
    RNA chemical mapping with a reduced bias MAP-seq protocol.              In-line-seq experiments. H.K.W.S., D.S.K., A.M.W. and R.D. designed the
    Methods Mol. Biol. 1086, 95–117 (2014).                                 curated datasets. H.K.W.S. performed model analysis. H.K.W.S., A.M.W.,
21. Wilkinson, K. A., Merino, E. J. & Weeks, K. M. Selective 2′-hydroxyl    B.T. and R.D. wrote the manuscript. W.R. and M.D. assisted in running
    acylation analyzed by primer extension (SHAPE): quantitative RNA        the Kaggle OpenVaccine challenge. R.W.O., J.R. and J.J.N. assisted
    structure analysis at single nucleotide resolution. Nat. Protoc. 1,     in running the Eterna crowdsourcing challenge. Eterna participants
    1610–1616 (2006).                                                       (listed in Supplementary Table 1) designed RNA constructs. J.G., K.O.,
22. Wayment-Steele, H. K. et al. RNA secondary structure packages           K.F., H.M., G.V., M.T., B.S., T.I., T.N., S.H., K.I., Y.L., F.O., A.C., E.O., K.A. and
    evaluated and improved by high-throughput experiments. Nat.             M.F. contributed as members of gold-winning teams from the Kaggle
    Methods 19, 1234–1242 (2022).                                           competition and wrote supplemental solution descriptions.
23. Lorenz, R. et al. ViennaRNA Package 2.0. Algorithms Mol. Biol. 6,
    26 (2011).                                                              Competing interests
24. Danaee, P. et al. bpRNA: large-scale automated annotation and           D.S.K., W.K. and R.D. hold equity in a new venture seeking to stabilize
    analysis of RNA secondary structure. Nucleic Acids Res. 46,             mRNA molecules, and D.S.K. and W.K. are employees of that venture.
    5381–5394 (2018).                                                       W.R. and M.D. are employees of Kaggle. The remaining authors declare
25. Chen, T. & Guestrin, C. XGBoost: A Scalable Tree Boosting               no competing interests.
    System. In Proc. 22nd ACM SIGKDD International Conference on
    Knowledge Discovery and Data Mining (2016).                             Additional information
26. Xie, Q., et al. Self-training with noisy student improves imagenet      Extended data is available for this paper at
    classification. Proceedings of the IEEE/CVF conference on               https://doi.org/10.1038/s42256-022-00571-8.
    computer vision and pattern recognition (2020).
27. Wang, H. et al. Diversity of putative archaeal RNA viruses in           Supplementary information The online version
    metagenomic datasets of a yellowstone acidic hot spring.                contains supplementary material available at
    Springerplus 4, 189 (2015).                                             https://doi.org/10.1038/s42256-022-00571-8.
28. Zhang, H. et al. LinearDesign: Efficient Algorithms for Optimized
    mRNA Sequence Design. arXiv:2004.10177 (2020).                          Correspondence and requests for materials should be addressed
29. Cho, K. et al. Learning phrase representations using RNN                to Rhiju Das.
    encoder-decoder for statistical machine translation. Proceedings
    of the 2014 Conference on Empirical Methods in Natural                  Peer review information Nature Machine Intelligence thanks Liang
    Language Processing (EMNLP) (2014).                                     Huang, Qiangfeng Cliff Zhang and the other, anonymous, reviewer(s)
30. Bowman, S. R. et al. Generating sentences from a                        for their contribution to the peer review of this work.
    continuous space. Proceedings of the 20th SIGNLL
    Conference on Computational Natural Language Learning                   Reprints and permissions information is available at
    (CoNLL) (2016).                                                         www.nature.com/reprints.
31. Zhang, Y. et al. Adversarial feature matching for text generation.
    Int. Conf. Mach. Learn. 70, 4006–4015 (2017).                           Publisher’s note Springer Nature remains neutral with regard to
32. Mauger, D. M. et al. mRNA structure regulates protein expression        jurisdictional claims in published maps and institutional affiliations.
    through changes in functional half-life. Proc. Natl Acad. Sci. USA
    116, 24075–24083 (2019).                                                Open Access This article is licensed under a Creative Commons
33. Foo, C.-S. & Pop, C. Learning RNA secondary structure (only)            Attribution 4.0 International License, which permits use, sharing,
    from structure probing data. Preprint at bioRxiv https://doi.org/       adaptation, distribution and reproduction in any medium or format,
    10.1101/152629 (2017).                                                  as long as you give appropriate credit to the original author(s) and the
34. Wayment-Steele, H. K. Inferring RNA structure and stability             source, provide a link to the Creative Commons license, and indicate
    via high-throughput experiment. Dissertation, Stanford                  if changes were made. The images or other third party material in this
    University (2021).                                                      article are included in the article’s Creative Commons license, unless
35. Pedregosa, F. V. et al. Scikit-learn: Machine Learning in Python.       indicated otherwise in a credit line to the material. If material is not
    J. Mach. Learn. Res. 12, 2825–2830 (2011).                              included in the article’s Creative Commons license and your intended
36. Tunguz, B. & Wayment-Steele, H. eternagame/KaggleOpen                   use is not permitted by statutory regulation or exceeds the permitted
    Vaccine v1.0 (Zenodo, 2022).                                            use, you will need to obtain permission directly from the copyright
37. Wayment-Steele, H. & Kim, D. S. eternagame/DegScore:                    holder. To view a copy of this license, visit http://creativecommons.
    DegScore v2.1 (Zenodo, 2022).                                           org/licenses/by/4.0/.
38. van der Maaten, L. & Hinton, G. Visualizing Data using t-SNE.
    J. Mach. Learn. Res. 9, 2579–2605 (2008).                               © The Author(s) 2022




Nature Machine Intelligence | Volume 4 | December 2022 | 1174–1184                                                                                          1183
Article                                                                                                     https://doi.org/10.1038/s42256-022-00571-8


1
 Department of Chemistry, Stanford University, Stanford, CA, USA. 2Eterna Massive Open Laboratory, Stanford, CA, USA. 3Department of Biochemistry,
Stanford University, Stanford, CA, USA. 4Prescient Design, Genentech, San Francisco, CA, USA. 5NVIDIA Corporation, Santa Clara, CA, USA. 6Kaggle,
San Francisco, CA, USA. 7Department of Computer Science and Engineering, State University of New York at Buffalo, Buffalo, NY, USA. 8High-flyer AI,
Hangzhou, Zhejiang, China. 9NVIDIA Corporation, Minato-ku, Tokyo, Japan. 10DeNA, Shibuya-ku, Tokyo, Japan. 11Yanfu Investments, Shanghai, China.
12
  IDLab, Ghent University, Technologiepark-Zwijnaarde, Gent, Belgium. 13The Wellcome Centre for Anti-Infectives Research, College of Life Sciences,
University of Dundee, Dundee, UK. 14Universal Knowledge Inc., Tokyo, Japan. 15Keyence Corporation, 1-3-14, Higashi-Nakajima, Higashi-Yodogawa-ku,
Osaka, Japan. 16Department of Chemical Engineering, Texas A&M University, College Station, TX, USA. 17Rist Inc., Shimogyo-ku, Kyoto, Japan. 18Korea
Atomic Energy Research Institute, Daejeon, Republic of Korea. 19Kakao Brain Corp, Seongnam, Gyeonggi-do, Republic of Korea. 20H2O, Istanbul, Turkey.
21
  Clover Health, Hong Kong, P. R. China. 22Afiniti, Istanbul, Turkey. 23Center for Informatics Science, Nile University, Sheikh Zayed, Giza, Egypt. 24National
Research Centre, Dokki, Cairo, Egypt. 25Howard Hughes Medical Institute, Stanford University, Stanford, CA, USA. 26These authors contributed equally:
Hannah K. Wayment-Steele, Wipapat Kladwang, Andrew M. Watkins, Do Soon Kim, Bojan Tunguz. *A list of members and their affiliations appears in the
Supplementary Information.      e-mail: rhiju@stanford.edu




Nature Machine Intelligence | Volume 4 | December 2022 | 1174–1184                                                                                         1184
Article                                                                                                                                                                     https://doi.org/10.1038/s42256-022-00571-8

Sum over nucleotides, SHAPE reactivity




                                                                                         Sum over nucleotides, deg_Mg_pH10
                                                 Pearson R = 0.78                                                                    Pearson R = 0.82                                                                  Pearson R = 0.80




                                                                                                                                                                            Sum over nucleotides, deg_Mg_50C
                                         0.14                                                                                0.14                                                                              0.14

                                         0.12                                                                                0.12                                                                              0.12

                                         0.10                                                                                0.10                                                                              0.10

                                         0.08                                                                                0.08                                                                              0.08

                                         0.06                                                                                0.06                                                                              0.06

                                         0.04                                                                                0.04                                                                              0.04

                                         0.02                                                                                0.02                                                                              0.02

                                         0.00                                                                                0.00                                                                              0.00

                                                0.00      0.05       0.10         0.15                                              0.00        0.05      0.10       0.15                                             0.00        0.05      0.10      0.15
                                                   RT dropout, SHAPE reactivity                                                            RT dropout, deg_Mg_pH10                                                           RT dropout, deg_Mg_50C
Extended Data Fig. 1 | Summed degradation rates and overall degradation rate are highly correlated. Summed per-nucleotide degradation rates and overall
degradation rate, estimated by log(abundance of full-length construct), are highly correlated in Rounds 1 and 2.




Nature Machine Intelligence
Article                                                                                                              https://doi.org/10.1038/s42256-022-00571-8




Extended Data Fig. 2 | Correlations between data types across models. Correlation between RMSE by data type for the top 100 teams for the (A) public and
(B) private test sets. Significance test for Spearman correlation value is two-sided p-value for a hypothesis test whose null hypothesis is that two sets of data are
uncorrelated.




Nature Machine Intelligence
Article                                                                                                                                              https://doi.org/10.1038/s42256-022-00571-8


                           20.0                                                                      20.0                                                                      20.0
                                                Spearman R = 0.35                                                         Spearman R = 0.55                                                       Spearman R = 0.63
Summed RMSE, deg_Mg_pH10


                           17.5                 p = 1.6E-34                                          17.5                 p = 6.4E-93                                          17.5               p = 4.2E-132




                                                                           Summed RMSE, deg_Mg_50C




                                                                                                                                                     Summed RMSE, deg_Mg_50C
                           15.0                                                                      15.0                                                                      15.0

                           12.5                                                                      12.5                                                                      12.5

                           10.0                                                                      10.0                                                                      10.0

                            7.5                                                                       7.5                                                                       7.5

                            5.0                                                                       5.0                                                                       5.0

                            2.5                                                                       2.5                                                                       2.5

                            0.0                                                                       0.0                                                                       0.0
                                  0         5      10      15         20                                    0         5      10      15         20                                    0       5      10      15       20
                                      Summed RMSE, SHAPE reactivity                                             Summed RMSE, SHAPE reactivity                                             Summed RMSE, deg_Mg_pH10
Extended Data Fig. 3 | Correlations between data types across constructs for top model. Correlation between RMSE by data type across constructs from the 1st
place ‘Nullrecurrent’ model on the private test set. Significance test for Spearman correlation value is two-sided p-value for a hypothesis test whose null hypothesis is
that two sets of data are uncorrelated.




Nature Machine Intelligence
Article                                                                                                                                                                 https://doi.org/10.1038/s42256-022-00571-8




                                                                                                                                                          Construct-avg RMSE, deg_Mg_pH10
                                                                                                                                                                                            17.5




                                                                          Construct-avg RMSE, deg_Mg_50C
                                      Spearman R = 0.02, p=0.532                                                Spearman R = 0.04, p=0.129                                                         Spearman R = 0.17, p=0.000
Construct-avg, SHAPE reactivity



                                  8                                                                        10
                                                                                                                                                                                            15.0

                                                                                                           8                                                                                12.5
                                  6
                                                                                                           6                                                                                10.0

                                  4                                                                                                                                                          7.5
                                                                                                           4
                                                                                                                                                                                             5.0
                                  2                                                                        2
                                                                                                                                                                                             2.5


                                          60     70     80     90   100                                            60     70      80        90      100                                                60     70     80     90   100
                                                 EternaScore                                                              EternaScore                                                                         EternaScore
Extended Data Fig. 4 | Comparing model error and EternaScore. RMSE of                                                          structure. Significance test for Spearman correlation value is two-sided
Nullrecurrent model did not significantly correlate with EternaScore, a measure                                                p-value for a hypothesis test whose null hypothesis is that two sets of data are
of how closely the SHAPE reactivity data matched the predicted secondary                                                       uncorrelated.




Nature Machine Intelligence
Article                                                                                                                                                        https://doi.org/10.1038/s42256-022-00571-8



                                 25          Round 1                                                          25                                                                          25
                                             Round 2
Signal/Noise, SHAPE reactivity




                                                                                  Signal/Noise, deg_Mg_pH10




                                                                                                                                                               Signal/Noise, deg_Mg_50C
                                 20                                                                           20                                                                          20


                                 15                                                                           15                                                                          15


                                 10                                                                           10                                                                          10


                                 5                                                                            5                                                                           5


                                 0                                                                            0                                                                           0
                                      public_train   public_test   private_test                                    public_train   public_test   private_test                                   public_train   public_test   private_test
                                                        split                                                                        split                                                                       split
Extended Data Fig. 5 | Signal-noise of data splits. Average signal-noise from data splits, separated by data from Rounds 1 and 2. Solid lines: median, dotted lines:
25/75% percentile.




Nature Machine Intelligence
Article                                                                                                                            https://doi.org/10.1038/s42256-022-00571-8



A 1.0                                       Before S/N filter
                                                                                                         1.0                                                     1.0

                                            After S/N filter
                                     0.8                                                                 0.8                                                     0.8
Median SHAPE reactivity




                                                                          Median deg_Mg_pH10




                                                                                                                                   Median deg_Mg_50C
                                     0.6                                                                 0.6                                                     0.6


                                     0.4                                                                 0.4                                                     0.4


                                     0.2                                                                 0.2                                                     0.2


                                     0.0                                                                 0.0                                                     0.0


                                           Round 1              Round 2                                        Round 1   Round 2                                       Round 1   Round 2



 B 25                                       Before S/N filter                                            25                                                      25
                                            After S/N filter
    Signal/Noise, SHAPE reactivity




                                                                             Signal/Noise, deg_Mg_pH10




                                                                                                                                      Signal/Noise, deg_Mg_50C
                                     20                                                                  20                                                      20


                                     15                                                                  15                                                      15


                                     10                                                                  10                                                      10


                                      5                                                                   5                                                       5


                                      0                                                                   0                                                       0
                                           Round 1              Round 2                                        Round 1   Round 2                                       Round 1   Round 2

Extended Data Fig. 6 | Effect of signal-noise filter on data distributions. Effect of signal-noise filter (described in Methods) on (A) median reactivity/degradation
per construct and (B) average signal-noise per construct for Rounds 1 and 2. Solid lines: median, dotted lines: 25/75% percentile.




Nature Machine Intelligence
Article                                                                                                                                 https://doi.org/10.1038/s42256-022-00571-8



A 2.00                                                      Round
                                                                                    2.00                                                          2.00

                   1.75                                                             1.75                                                          1.75
                                                                  1
                   1.50                                           2                 1.50                                                          1.50

                   1.25                                                             1.25                                                          1.25




                                                                      deg_Mg_pH10
SHAPE reactivity




                                                                                                                                     deg_Mg_50C
                   1.00                                                             1.00                                                          1.00

                   0.75                                                             0.75                                                          0.75

                   0.50                                                             0.50                                                          0.50

                   0.25                                                             0.25                                                          0.25

                   0.00                                                             0.00                                                          0.00

                                 A        C        G         U                                   A        C        G        U                                  A        C        G        U
                                          Nucleotide                                                      Nucleotide                                                    Nucleotide
B 7                                                         Round
                                                                                        7                                                             7

                        6                                         1                     6                                                             6
                                                                  2
                        5                                                               5                                                             5
                                                                          deg_Mg_pH10
     SHAPE reactivity




                                                                                                                                         deg_Mg_50C
                        4                                                               4                                                             4

                        3                                                               3                                                             3

                        2                                                               2                                                             2

                        1                                                               1                                                             1

                        0                                                               0                                                             0
                            G0       G1       A2       A3        A4                         G0       G1       A2       A3       A4                        G0       G1       A2       A3       A4
                                     Sequence position                                               Sequence position                                             Sequence position
Extended Data Fig. 7 | Data disaggregated by nucleotide. (A) Reactivity/degradation data disaggregated by nucleotide from rounds 1 and 2, from constructs that
passed signal-noise filter. (B) Reactivity/degradation data from first 5 nucleotides from rounds 1 and 2, which were a constant ‘GGAAA’. Solid lines: median, dotted
lines: 25/75% percentile.




Nature Machine Intelligence
                                                                                                                                                                                         nature research | reporting summary
                                                                                                     Corresponding author(s): Rhiju Das
                                                                                                     Last updated by author(s): 11/30/2022



Reporting Summary
Nature Research wishes to improve the reproducibility of the work that we publish. This form provides structure for consistency and transparency
in reporting. For further information on Nature Research policies, see our Editorial Policies and the Editorial Policy Checklist.




Statistics
For all statistical analyses, confirm that the following items are present in the figure legend, table legend, main text, or Methods section.
n/a Confirmed
           The exact sample size (n) for each experimental group/condition, given as a discrete number and unit of measurement
           A statement on whether measurements were taken from distinct samples or whether the same sample was measured repeatedly
           The statistical test(s) used AND whether they are one- or two-sided
           Only common tests should be described solely by name; describe more complex techniques in the Methods section.

           A description of all covariates tested
           A description of any assumptions or corrections, such as tests of normality and adjustment for multiple comparisons
           A full description of the statistical parameters including central tendency (e.g. means) or other basic estimates (e.g. regression coefficient)
           AND variation (e.g. standard deviation) or associated estimates of uncertainty (e.g. confidence intervals)

           For null hypothesis testing, the test statistic (e.g. F, t, r) with confidence intervals, effect sizes, degrees of freedom and P value noted
           Give P values as exact values whenever suitable.

           For Bayesian analysis, information on the choice of priors and Markov chain Monte Carlo settings
           For hierarchical and complex designs, identification of the appropriate level for tests and full reporting of outcomes
           Estimates of effect sizes (e.g. Cohen's d, Pearson's r), indicating how they were calculated
                                                Our web collection on statistics for biologists contains articles on many of the points above.


Software and code
Policy information about availability of computer code
  Data collection        No software was used in data collection.

  Data analysis          Mapseeker v2.0 (https://eternagame.org/software) was used to process RNA MAP-seq data for "Roll-your-own-structure" experiments.
                         Custom python scripts to perform data analysis are available at https://www.github.com/eternagame/KaggleOpenVaccine.
                         Python requirements: Arnie (https://github.com/DasLab/Arnie), Python 3.7, numpy 1.19.5, seaborn 0.11.1, scipy 1.3.2.
For manuscripts utilizing custom algorithms or software that are central to the research but not yet described in published literature, software must be made available to editors and
reviewers. We strongly encourage code deposition in a community repository (e.g. GitHub). See the Nature Research guidelines for submitting code & software for further information.



Data
Policy information about availability of data
 All manuscripts must include a data availability statement. This statement should provide the following information, where applicable:
    - Accession codes, unique identifiers, or web links for publicly available datasets
                                                                                                                                                                                         April 2020




    - A list of figures that have associated raw data
    - A description of any restrictions on data availability

Data availability. All datasets are downloadable in raw RDAT format from https://rmdb.stanford.edu at the following accession numbers: SHAPE_RYOS_0620,
RYOS1_NMD_0000, RYOS1_PH10_0000, RYOS1_MGPH_0000, RYOS1_50C_0000, RYOS1_MG50_0000, RYOS2_1M7_0000, RYOS2_MGPH_0000,
RYOS2_MG50_0000. Kaggle-formatted train and test sets are downloadable from https://www.kaggle.com/c/stanford-covid-vaccine.




                                                                                                                                                                                               1
                                                                                                                                                                            nature research | reporting summary
Field-specific reporting
Please select the one below that is the best fit for your research. If you are not sure, read the appropriate sections before making your selection.
    Life sciences                       Behavioural & social sciences                   Ecological, evolutionary & environmental sciences
For a reference copy of the document with all sections, see nature.com/documents/nr-reporting-summary-flat.pdf




Life sciences study design
All studies must disclose on these points even when the disclosure is negative.
  Sample size              Sample sizes for the Kaggle public train set, public test set, and private test set were 2000, 400, and 1801, respectively. No sample size
                           calculations were performed. Sample sizes for high-throughput RNA in-line-seq experiments were determined by the maximum allowable size
                           to achieve sufficient read depth on each library construct.

  Data exclusions          Data used for the Kaggle competition training and test set were filtered from the original dataset based on signal-noise ratio and sequence
                           identity, as described in the manuscript. Kaggle competition participants were provided with all of the original dataset.

  Replication              1172 of the constructs in the test set were from experiments that had not been finished at the time of the competition end, making the
                           competitor's test set predictions truly blind. The winning models from the Kaggle competition were tested on an independent dataset of
                           mRNA degradation measurements and demonstrated improved performance over simpler biophysics-based models on these predictions as
                           well.

  Randomization            Randomization is not relevant because conditions were constructed and there was not subjective allocation of samples to experimental
                           groups.

  Blinding                 Investigators were not blinded to group allocation as conditions were constructed and there was not subjective allocation of samples to
                           experimental groups.




Reporting for specific materials, systems and methods
We require information from authors about some types of materials, experimental systems and methods used in many studies. Here, indicate whether each material,
system or method listed is relevant to your study. If you are not sure if a list item applies to your research, read the appropriate section before selecting a response.

Materials & experimental systems                                  Methods
n/a Involved in the study                                         n/a Involved in the study
           Antibodies                                                        ChIP-seq
           Eukaryotic cell lines                                             Flow cytometry
           Palaeontology and archaeology                                     MRI-based neuroimaging
           Animals and other organisms
           Human research participants
           Clinical data
           Dual use research of concern




                                                                                                                                                                            April 2020




                                                                                                                                                                                  2
