Zero-shot variant effects from a protein language model (PLM-3): how much the model prefers a mutant residue over the wild type, with no training on the protein.
More...
|
| std::vector< Mutation > | pulsatrix::ParseMutations (std::string_view text) |
| | Parses a variant, A23G, or several joined by :, A23G:L45P (ProteinGym's format).
|
| |
| std::string | pulsatrix::ApplyMutations (std::string_view sequence, const std::vector< Mutation > &mutations, int64_t offset=1) |
| | sequence with mutations applied; position p is sequence[p - offset].
|
| |
| int64_t | pulsatrix::ScoringPassBytes (const EncoderLMConfig &config, int64_t length) |
| | Roughly the most memory one sequence of length tokens takes in a forward pass of config's model that keeps no activations (EncoderLM::set_keep_activations(false)): one layer's attention scores and their softmax copies, its projections and MLP, and the logits. The weights aren't counted.
|
| |
| std::pair< int64_t, int64_t > | pulsatrix::OptimalWindow (int64_t position, int64_t length, int64_t window) |
| | ProteinGym's get_optimal_window: the token range [begin, end) around position in a sequence of length tokens, for a model that sees window tokens.
|
| |
Zero-shot variant effects from a protein language model (PLM-3): how much the model prefers a mutant residue over the wild type, with no training on the protein.