
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.
API Reference
Configuration for gap Gini against nearest protein neighbors.
Path to MMseqs2 target database (FASTA file or MMseqs2 createdb output).
FASTA file used to recover top-hit sequences by target ID.
Maximum acceptable gap Gini (0-1, inclusive) against the nearest reference protein.
If True, proposals with no MMseqs2 hit pass as novel sequences.
Center-crop the pairwise alignment and strip end gaps before computing gap Gini.
Advanced MMseqs2 protein search configuration.
Advanced MAFFT pairwise alignment configuration.
ReturnsConstraintOutput
One output per proposal. A score of 0.0 passes
and 1.0 fails. Metadata contains the nearest target ID, nearest hit
sequence, and computed gap Gini.Usage
python
Metadata
| Property | Value |
|---|---|
| Key | protein-nearest-neighbor-gap-gini |
| Function | protein_nearest_neighbor_gap_gini_constraint |
| Category | protein_quality |
| Mode | discrete |
| Uses GPU | False |
| Supported Types | dna, protein |


