
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 feature vector similarity constraint.Compares 10-dimensional structural feature vectors using cosine similarity.
Features include: length, number of pairs, pairing ratio, stem statistics
(avg, max, count), loop statistics, MFE, MFE per nucleotide, and hairpin count.Inherits from
RNAStructureConstraintBaseConfig.Reference RNA/DNA sequence to compare against
Folding temperature in Celsius
ReturnsConstraintOutput
Per-proposal score ((1 - cosine) / 2) with metadata for the
reference/candidate feature vectors, predicted structure, and candidate MFE.Usage
python
Metadata
| Property | Value |
|---|---|
| Key | rna-feature-similarity |
| Function | rna_feature_similarity_constraint |
| Category | rna_secondary_structure |
| Mode | discrete |
| Uses GPU | False |
| Supported Types | dna, rna |