RNAiWeave takes a target gene sequence and generates ranked, traceable RNAi hairpin candidates, with evidence on sequence specificity and structure.
RNAi Target Selection
Why we built RNAiWeave
TermiTox combines termite gene silencing, targeted intervention in symbionts, and yeast-mediated delivery. Selecting an RNAi payload for this system involves more than choosing a gene: regions within the same gene can differ in their siRNA sequence features, similarity to transcripts in non-target organisms, and folding after a linker is added. The RNAi module therefore needs a traceable path from a biological target to a construct sequence suitable for wet-lab evaluation. Our Description and Design pages explain the project background and how its modules fit together.
We developed RNAiWeave, a local web application that takes one target gene sequence and generates multiple single-hairpin candidates. It brings fragment selection, activity estimation, non-target sequence matching, full-precursor folding, and sequence export into one workspace. Users can inspect the evidence behind each candidate’s rank and save the settings needed to repeat the analysis. For TermiTox, RsEG and Hexamerin-1 are the previously selected biological targets; the software handles each gene separately to compare hairpin constructs for experimental evaluation. Other researchers can use the same workflow with their own target and background sequences to examine candidate regions and potential off-target matches (Figure 1).

Software contribution
The published dsRIP study [1] connects insect siRNA sequence features with dsRNA design and non-target assessment, providing a methodological reference for our activity estimate.
RNAiWeave focuses on one target gene and one hairpin per candidate. It connects construct sequences with an editable linker, local folding calculations, and individual off-target matching records so candidates can be compared in one workspace. We have not compared knockdown efficacy or runtime against the dsRIP platform.
| Design question | RNAiWeave’s approach |
|---|---|
| Which regions of the input gene merit further study? | Sliding-window filtering and siRNA activity estimates informed by insect research. |
| What transcript will the construct encode? | Explicit RNA and DNA sequences in sense–linker–antisense order. |
| Which non-target transcripts may resemble a candidate? | Local FASTA or RefSeq RNA searches that retain matching positions and records. |
| Can the full precursor form the intended stem? | ViennaRNA folding, ensemble metrics, and native RNA visualization. |
| How can other teams inspect and reuse the results? | FASTA, CSV, versioned JSON, dot-bracket, and SVG exports. |
From input sequence to candidate fragments
RNAiWeave accepts a plain DNA/RNA sequence or a single-record FASTA. RNA input is normalized to the DNA representation used internally; unrecognized or ambiguous bases are rejected. Users can adjust the arm length, sliding-window step, GC range, siRNA length, linker, and number of returned candidates. The default arm length is 300–400 nt, the GC range is 30–60%, and the siRNA window is 21 nt; all are adjustable design parameters.
The program filters windows by GC content, long homopolymers, low complexity, and tandem repeats. siRNA features shared by overlapping fragments are calculated once and reused through prefix sums to avoid repeated calculations. An optional CDS/ORF preference uses start codons and in-frame stop codons to estimate coding regions; when reference transcript annotations are available, these should guide selection of the biological target region. Final ranking is performed within a limited candidate pool and depends on the search settings.
Input, construct settings, and screening scope can be checked together before running a design (Figure 2).

Activity estimation informed by insect research
The activity estimate uses four associated features reported in the dsRIP study by Cedden et al. [1]:
| Feature | RNAiWeave implementation |
|---|---|
| Terminal thermodynamic asymmetry | Approximate stacking energies at the two corresponding 5′ ends. |
| Antisense self-folding tendency | Sequence self-complementarity as an approximate indicator. |
| Antisense GC at positions 9–14 | GC fraction in this six-base region. |
| Adenine at antisense position 10 | A position-specific binary feature. |
The software uses the reported absolute Z values, 4.9325, 3.084, 3.826, and 3.2945, as relative weights. This is a simplified candidate-ranking method based on the study’s feature statistics; it does not fully reproduce the trained dsRIP model. A long fragment’s activity score is the mean across its overlapping siRNA windows. The highest window score and the proportion of windows scoring above 70 are also retained. These scores support sequence comparison, without simulating Dicer processing or predicting an experimental knockdown percentage.
Hairpin construction and linker sources
Each candidate encodes an RNA precursor in the following order:
5′ — selected sense fragment — linker — reverse-complement antisense sequence — 3′
For arm length L and linker length K, the total precursor length is 2L + K. The software exports both the DNA construct and its corresponding RNA transcript. Figure 3 shows the encoded sequence order and the intended pairing of the two arms.

The default project linker is derived from the supplied WHITE74-F/R oligonucleotides. Although the experimental protocol calls it a 74-nt intron, removing the specified cloning overhangs leaves an actual sequence length of 76 nt, which the software records. The Drosophila intron-spacer strategy proposed by Lee and Carthew [2] supports the design rationale, but does not independently establish this particular insert sequence or confirm that it will splice correctly in our yeast host.
Users can also choose a documented short loop or enter a custom linker. The short-loop presets include TTCAAGAGA and TTCTAGAA, described in Wang et al. (2013) [3], and ACTCGAGA, used in McIntyre et al. (2011) [4]. Sequences are written here in DNA notation. These studies concern mammalian shRNAs, so the presets are exploratory options for insect long hairpins. Once a preset is modified, the output no longer retains its source label unless the final sequence exactly matches a library entry. Folding includes the full linker; the program does not simulate splicing.
Comparing candidate scores
RNAiWeave uses ViennaRNA [5] to fold the complete precursor locally. Structure quality combines intended stem pairing, unwanted linker pairing, normalized energy, MFE probability, accessibility, and overall pairing. Constructability considers length, homopolymers and linker repeats. Both use design weights rather than experimentally calibrated probabilities; constructability does not check vector-specific restriction sites.
For screened candidates:
Design score = 0.30 × activity
+ 0.30 × sequence safety
+ 0.30 × structure quality
+ 0.10 × constructability
For an unassessed candidate, the preview score is (3 × activity + 3 × structure quality + constructability) / 7. Preview and screened composite scores use different components and cannot be compared directly. The candidate table and component-score panel retain the screening status and individual evidence to help explain the ranking (Figure 4).


Off-Target Risk Screening
Choosing a screening scope
To interpret a screen, we need to know which background sequences were searched. RNAiWeave offers four modes so users can choose and record that scope:
| Mode | Sequences searched | Main use |
|---|---|---|
| Not assessed | None. | Preview designs without a safety estimate. |
| Local FASTA | User-supplied background sequences. | Offline analysis against a fixed dataset. |
| RefSeq selected species | RefSeq RNA restricted by selected TaxIDs. | Review of chosen non-target species. |
| RefSeq discovery | RefSeq RNA without a species restriction. | Find matches among the returned records. |
Local FASTA headers can include accession, species name and TaxID. These fields are read from the supplied file, so their accuracy depends on the reference records.
How matching works
The local engine checks both orientations of each query window. With m allowed substitutions, it divides a window into m + 1 non-overlapping seeds, finds exact seed matches, and checks the full window for substitutions. For example, allowing two substitutions produces three seeds, at least one of which remains unchanged. This retrieves all candidate matches under the fixed-length, substitution-only rule. Insertions, deletions and bulges are outside that rule; background coverage depends on the supplied FASTA.
RefSeq mode submits candidate fragments through the NCBI BLAST Common URL API [6]. It checks qualifying windows within returned alignments, maps them to query positions, and groups the records by species and transcript. The report saves the request ID (RID) and search settings. BLAST is heuristic, and the current implementation requests up to 500 target sequences per query; short imperfect matches can be missed.
Matching windows can be 10–21 nt, with 0–2 substitutions. A 19–21-nt window is appropriate for the usual RNAi-sized sequence review. Shorter windows explore local similarity and may return many incidental matches. A sequence match alone does not establish functional silencing.
Reading the report
At each query-window start, the strongest returned match contributes a weight: 1.00 for an exact match, 0.65 for one substitution and 0.30 for two. Several transcripts matching the same start do not multiply its contribution.
Burden = sum of per-start matching weights / evaluated windows
Sequence safety = 100 × [1 − min(1, 5 × Burden)]
The weights are design choices. A safety score of 100 means no qualifying match was returned in that screen; it is not proof of ecological safety. The report keeps positions, accessions, available species metadata and alignments so users can examine the matches themselves (Figure 5).

The longest no-hit run excludes bases covered by any qualifying match. It can suggest a region to examine for redesign under the current settings. A modified construct must be screened again. If a remote search fails, the candidates remain available as unassessed; users can retry or switch to a local background.
RNA Structure and Stability Analysis
After reviewing sequence-specific off-target evidence, users can examine the full RNA precursor’s folding structure, its response to environmental conditions, and possible RNA persistence. RNAiWeave provides structure and pairing-probability views, folding calculations at selected temperatures and salt concentrations, and literature-based half-life scenarios. These analyses describe structure, thermodynamic response, and environmental persistence separately; persistence scenarios do not enter candidate ranking.
RNA structure and pairing probabilities
The structure viewer provides minimum free energy (MFE), centroid, and maximum expected accuracy (MEA) structures. It also reports energy per nucleotide, ensemble diversity, pairing probabilities and local 21/25-nt accessibility. MFE probability is the equilibrium probability of the MFE structure within the modeled ensemble. Native RNAplot [5] drawings allow full-structure inspection and close views of the linker region (Figure 6).

Pairing probabilities provide another way to inspect the result (Figure 7). Peaks in the unpaired-probability curve locate exposed bases, while the pair plot shows which positions are likely to pair across the modeled ensemble.

Temperature and salt response
The structure workspace recalculates folding at selected temperatures and monovalent salt concentrations. Figure 8 illustrates changes in energy, exposure and ensemble diversity. This calculation describes thermodynamic response; it does not include pH, Mg²⁺, enzymes, ultraviolet exposure or carrier protection.

Environmental persistence and stability scenarios
A separate calculator explores persistence using published half-life scenarios: 15–28 h for DvSnf7 in agricultural soils (Dubelman et al. [7]) and 56–72 h for water-phase dissipation in water–sediment microcosms (Albright et al. [8]). These concern other molecules and conditions, rather than the TermiTox constructs.
The calculator uses C/C₀ = 2^(−t/t½) and DT90 = log₂(10) × t½. Default Q10 = 1 applies no temperature extrapolation. A different Q10 needs a suitable reference temperature and calibration. Bounds are scenario endpoints, not confidence intervals. The first-order curves do not reproduce the logistic fit of the original soil study, and persistence does not affect candidate ranking.

Reproducible Cross-Species Validation
Cross-species assessment starts with identifying non-target organisms that could encounter the delivery system, then checking the reference sequences and screening settings. This section explains species selection and the use of artificial controls to check the matching implementation. Figure 10 shows configuration and Figure 11 checks computational behavior; neither constitutes biological validation in the listed species.
Selecting non-target species
RNAiWeave includes 27 species presets in seven application settings, covering timber protection, urban control, agriculture, wetlands and beekeeping. Users can start from a relevant setting, revise its species list, and add TaxIDs. The intended target species should be removed from the non-target panel.
For TermiTox, this means considering related termites, other insects and organisms that could encounter the proposed delivery system. Figure 10 shows how the interface moves from an application setting to ecological groups and individual species. The panel is a starting point for reference selection, not a complete ecological survey.

Checking the software
We checked the local matcher against four artificial backgrounds: no matching motif, an exact 19-nt motif, and motifs with one or two substitutions. The 120-nt query has 102 possible 19-nt window starts, and each background was tested with 0, 1, and 2 allowed substitutions. All 12 expected outcomes were reproduced on 2 October 2026 (Figure 11).

The reproduction script also runs a complete design with a fixed artificial target and background. Automated tests cover sequence handling, matching, folding and export. These checks support repeatable software behavior.
The project’s non-target cell assay is reported separately in Results. BLASTP was used to select homologous genes from the pharaoh ant (Monomorium pharaonis). S2 cells expressing these homologs were treated with approximately 300-bp in vitro-transcribed dsRNAs targeting termite RsEG or Hexamerin-1, and expression was measured by RT-qPCR. No apparent reduction was reported under the tested conditions. This assay examines the selected homologs in a cell model; broader species-level responses require further evaluation. The assay and the software’s nucleotide-window matching provide complementary experimental and computational evidence.
Software architecture
The software architecture shows where each result is calculated. Both interfaces use common computational modules. Candidate generation, off-target screening, structure analysis and export are separate modules (Figure 12). Sequence processing, local matching and folding run on the user’s computer. RefSeq searches send candidate fragments to NCBI.

app.py selects the interface and shares session results. workflow.py orchestrates the English workflow, while ui_zh.py orchestrates the Chinese workflow; both call common analysis modules to generate reports and exports. The dashed connection marks the NCBI BLAST service used in RefSeq mode; solid connections show local calls and data flow.Reuse and next steps
RNAiWeave’s source code on iGEM GitLab uses the MIT license. Dependencies retain their own licenses; the team emblem and wordmark use CC BY 4.0, and bundled fonts use SIL OFL 1.1. Details are in LICENSE and THIRD_PARTY_NOTICES.md.
Other teams can use the workflow with their own targets and reference sequences. Next steps include better use of transcript annotations, calibration against measured RNAi outcomes, support for larger backgrounds, and experimental checks of linker processing in the expression host.
References
- Cedden D., Güney G., Rostás M. & Bucher G. (2025). Optimizing dsRNA sequences for RNAi in pest control and research with the dsRIP web platform. BMC Biology, 23, 114. https://doi.org/10.1186/s12915-025-02219-6
- Lee Y. S. & Carthew R. W. (2003). Making a better RNAi vector for Drosophila: use of intron spacers. Methods, 30, 322–329. https://doi.org/10.1016/S1046-2023(03)00051-3
- Wang X.-j. et al. (2013). A Simple and Robust Vector-Based shRNA Expression System Used for RNA Interference. PLOS ONE, 8, e56110. https://doi.org/10.1371/journal.pone.0056110
- McIntyre G. J., Yu Y.-H., Lomas M. & Fanning G. C. (2011). The effects of stem length and core placement on shRNA activity. BMC Molecular Biology, 12, 34. https://doi.org/10.1186/1471-2199-12-34
- Lorenz R. et al. (2011). ViennaRNA Package 2.0. Algorithms for Molecular Biology, 6, 26. ViennaRNA documentation; RNAplot manual. https://doi.org/10.1186/1748-7188-6-26 | https://viennarna.readthedocs.io/en/latest/ | https://viennarna.readthedocs.io/en/latest/man/RNAplot.html
- NCBI. BLAST Common URL API documentation. https://blast.ncbi.nlm.nih.gov/doc/blast-help/urlapi.html
- Dubelman S. et al. (2014). Environmental fate of double-stranded RNA in agricultural soils. PLOS ONE, 9, e93155. https://doi.org/10.1371/journal.pone.0093155
- Albright V. C. III et al. (2017). Dissipation of double-stranded RNA in aquatic microcosms. Environmental Toxicology and Chemistry, 36, 1249–1253; USDA publication record. https://doi.org/10.1002/etc.3648 | https://www.ars.usda.gov/research/publications/publication/?seqNo115=328586

