Skip to main content
RNA Base Pair Similarity
License: ViennaRNA is licensed under Custom (ViennaRNA Package License) and may require explicit attribution when utilized. Please refer to the license for full terms.

This constraint is open source. Any third-party models, product names, or trademarks referenced are the property of their respective owners, and Proto is not affiliated with them.


Go to Tool Page
evo-design/proto-language/proto_language/constraint/rna_secondary_structure/structure_similarity_constraint.py
View source
Copy citation
Constraint contributors
Compare base pair sets between proposals and reference using Jaccard similarity.
Returns 1 - similarity (so 0 is perfect match, 1 is worst).

API Reference

ConfigRNABasePairSimilarityConfig Source
Configuration for base pair similarity constraint.Compares sets of base pairs (i, j) using Jaccard similarity. This is a strict positional comparison requiring identical base pair positions for a match.Inherits from RNAStructureConstraintBaseConfig.
number
default:"0.5"
Maximum allowed length ratio difference
string
required
Reference RNA/DNA sequence to compare against
number
default:"37.0"
Folding temperature in Celsius
ReturnsConstraintOutput
Per-proposal score (1 - similarity) with metadata for reference/candidate base pair counts and the predicted structure.

Usage

python

Metadata