SPACER
FinderSequencesJobsDocsContact

Search documentation

Search all SPACER documentation pages

GitHub
IntroductionQuick Start
OverviewEnzyme FamiliesPAM SequencesNomenclature
Cas12 FinderCas13 FinderMSA Guide DesignBADGERS OptimizerOptimizer Configuration
EasyDesign ModelADAPT ModelVienna Predictor
spacer-webv0.1.0
Predictors›Vienna Predictor

Vienna RNA Predictor

RNA secondary structure prediction and target site accessibility scoring using the Vienna RNA package.

Overview

The Vienna RNA package is a well-established suite of algorithms for predicting RNA secondary structures based on minimum free energy (MFE) thermodynamic models. SPACER integrates Vienna RNA to assess target site accessibility — a key determinant of Cas13 guide efficacy.

Guides targeting regions of the transcript that are buried in stable secondary structures tend to show reduced cleavage activity. By scoring accessibility, SPACER penalizes guides aimed at highly structured regions and rewards those targeting single-stranded, accessible sites.

Minimum Free Energy (MFE) Calculation

For each candidate guide, SPACER extracts a local window of the target RNA centered on the binding site. The Vienna RNA fold algorithm computes the MFE structure of this window, producing both a free energy value (in kcal/mol) and a dot-bracket notation of the predicted structure.

text
Target window: AUGCUUACGAUCGAUCGAUCGUAGCUAGCUAG
MFE structure:  ...((((...))))...(((....)))......
Free energy:    -8.40 kcal/mol

Accessibility Scoring

SPACER converts the MFE structure into an accessibility score by calculating the fraction of unpaired nucleotides within the guide binding region. A fully single-stranded target site yields a score of 1.0, while a completely base-paired site yields 0.0.

AccessibilityInterpretationEffect on Score
0.8–1.0Highly accessible, mostly single-strandedPositive contribution
0.5–0.8Partially accessibleNeutral to moderate contribution
0.2–0.5Partially structuredMild penalty
0.0–0.2Highly structured, mostly base-pairedSignificant penalty

Window Parameters

The local folding window extends beyond the guide binding site to capture flanking structure context. The default window includes 50 nucleotides upstream and downstream of the target site. This prevents edge effects from artificially inflating accessibility scores.

Info
Larger folding windows produce more accurate structure predictions but increase computation time. The default window size balances accuracy and performance for typical transcript lengths.

Seed Accessibility

Beyond overall accessibility, SPACER computes seed accessibility — the average accessibility over the enzyme-specific seed region of the guide binding site. The seed region is critical for initial target recognition:

EnzymeSeed RegionSignificance
Cas12Positions 0–5 (PAM-proximal)Initial DNA unwinding and R-loop formation
Cas13Positions 5–9 (HEPN switch)Decouples binding from cleavage activation

A seed accessibility above 0.5 combined with an MFE above −3.0 kcal/mol indicates a favorable target site. The seed accessibility value feeds into the spacer_structure assay component of the composite score (default weight: 0.10).

Centroid Structure Prediction

In addition to the MFE structure, SPACER can compute the centroid structure via the partition function. The centroid minimizes the mean base pair distance to the full thermodynamic ensemble — making it more representative than MFE for complex structures like full crRNAs (spacer + direct repeat assemblies).

Both MFE and centroid predictions share the same base pair probability matrix and accessibility profiles. The centroid structure is particularly useful when evaluating how the direct repeat stem-loop interacts with the spacer sequence.

Integration with Composite Scoring

When the Vienna RNA predictor is enabled, structure analysis feeds into the spacer_structure assay component of the composite score. This component uses seed accessibility and MFE to penalize guides that target highly structured regions. The default weight for this component is 0.10.

Tip
RNA structure scoring is most impactful for Cas13 guides, where the target is an RNA molecule with inherent secondary structure. For Cas12 (DNA-targeting), structure prediction is less relevant and can be disabled to improve analysis speed.

Limitations

  • MFE predictions represent the thermodynamically optimal structure, not necessarily the biologically active conformation
  • Protein-RNA interactions and cellular context are not captured by thermodynamic models
  • Pseudoknots are not predicted by the default Vienna RNA partition function
  • Long-range interactions beyond the folding window may influence local structure
Predictors
ADAPT Model
Output & Screening
RPA Primers
ATCG GCTA TACG CGAT ATCG TAGC GCTA ATCG TACG CGAT ATCG GCTA TACG CGAT ATCG TAGC GCTA ATCG TACG CGAT ATCG GCTA TACG CGAT ATCG TAGC GCTA ATCG TACG CGAT ATCG GCTA TACG CGAT ATCG TAGC GCTA ATCG TACG CGAT ATCG GCTA TACG CGAT ATCG TAGC GCTA ATCG TACG CGAT ATCG GCTA TACG CGAT ATCG TAGC GCTA ATCG TACG CGAT ATCG GCTA TACG CGAT ATCG TAGC GCTA ATCG TACG CGAT ATCG GCTA TACG CGAT ATCG TAGC GCTA ATCG TACG CGAT
SPACER

Open-source CRISPR guide RNA design and scoring for Cas12 and Cas13 diagnostic systems.

Resources
FinderDocumentationChangelogContactGitHub
Developed atFiocruz Parana — Instituto Carlos Chagas

Fundacao Oswaldo Cruz - Parana

Instituto Carlos Chagas

© 2026 SPACER·v0.1.0
hwalflorGitHub