Skip to main content
MSA Generator

This generator 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.


Source
evo-design/proto-language/proto_language/generator/msa_generator.py
View source
Generator contributors
Generator that samples mutations from MSA position-specific distributions.
This generator computes empirical probability distributions for each position in a multiple sequence alignment, then mutates proposal sequences by sampling from these distributions.

API Reference

ConfigMSAGeneratorConfig Source
Configuration object for MSAGenerator.This class defines configuration parameters for the MSA generator, which samples mutations from position-specific probability distributions derived from a multiple sequence alignment.
MSA
required
Multiple sequence alignment (list of aligned sequences).
integer
default:"1"
Number of positions to mutate per sample
boolean
default:"False"
Whether to include gaps when calculating position probabilities

Usage

python

Metadata