Skip to main content
Protein Max Identity
License: This constraint can use multiple tools, each under its own license. See the Tools Used tab and each tool’s page for license details.

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.


evo-design/proto-language/proto_language/constraint/protein_quality/protein_max_identity_constraint.py
View source
Constraint contributors
Require top-hit MMseqs2 identity to remain below a maximum threshold.

API Reference

ConfigProteinMaxIdentityConfig Source
Configuration for maximum identity to a protein reference set.
string
required
Path to MMseqs2 target database (FASTA file or MMseqs2 createdb output).
number
default:"90.0"
Maximum allowed percent identity (0-100, inclusive) to the top reference hit.
boolean
default:"True"
If True, proposals with no MMseqs2 hit pass as novel sequences.
string
Optional FASTA file for recovering the top hit sequence by target ID.
Mmseqs2SearchProteinsConfig
Advanced MMseqs2 protein search configuration.
ReturnsConstraintOutput
One output per proposal. A score of 0.0 passes and 1.0 fails. Metadata contains top-hit identity, target ID, target sequence when available, and selected ORF details for DNA.

Usage

python

Metadata