
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.

API Reference
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.Maximum allowed length ratio difference
Reference RNA/DNA sequence to compare against
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
| Property | Value |
|---|---|
| Key | rna-basepair-similarity |
| Function | rna_basepair_similarity_constraint |
| Category | rna_secondary_structure |
| Mode | discrete |
| Uses GPU | False |
| Supported Types | dna, rna |