
License: Random Nucleotide Sampling is open source and free for academic and commercial use under an MIT license. Please refer to the license for full terms.
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.

"R"/"Y", or any base with "N").
The generator category is "mutation". When the assigned segment has a
starting sequence (or an upstream optimizer stage has populated proposals),
masking_strategy controls which positions are mutated on each call. When
the segment has no starting sequence, the first sample() call fills each
proposal with a fully random sequence of the segment’s length using the
configured substitution_scheme; subsequent calls then apply
masking_strategy normally.
API Reference
Configuration object for RandomNucleotideGenerator.This class defines configuration parameters for the random nucleotide generator,
which introduces random nucleotide mutations at masked positions using
IUPAC ambiguity code-based sampling.
Controls which positions to mask for sampling. Default: random 30%.
IUPAC code defining the nucleotide substitution pool.Options:
N, R, Y, S, W, K, M, B, D, H, VUsage
python
Metadata
| Property | Value |
|---|---|
| Key | random-nucleotide |
| Class | RandomNucleotideGenerator |
| Category | mutation |
| Input Type | starting_sequence |
| Uses GPU | False |
| Supported Sequence Types | dna, rna |
| Allows Empty Start | True |