pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::MutationMapDocument Struct Reference

pulsatrix.mutation_map.v1: a score for every substitution, residue by residue, such as a model's log-odds log p(mutant) - log p(wild type) or a deep mutational scan's measurements. More...

#include <protein_documents.hpp>

Public Attributes

std::string title
 
std::string method
 How the scores were made, for example "masked_marginals". Optional.
 
std::string sequence
 The wild-type sequence, one letter per residue.
 
int64_t first_position = 1
 The number of the sequence's first residue.
 
std::string alphabet = kAminoAcids
 The substitutions scored at each residue, one letter each: the columns of values.
 
std::vector< float > values
 Row-major (residues, alphabet). NaN marks a substitution that wasn't scored.
 

Detailed Description

pulsatrix.mutation_map.v1: a score for every substitution, residue by residue, such as a model's log-odds log p(mutant) - log p(wild type) or a deep mutational scan's measurements.

Member Data Documentation

◆ alphabet

std::string pulsatrix::MutationMapDocument::alphabet = kAminoAcids

The substitutions scored at each residue, one letter each: the columns of values.

◆ first_position

int64_t pulsatrix::MutationMapDocument::first_position = 1

The number of the sequence's first residue.

◆ method

std::string pulsatrix::MutationMapDocument::method

How the scores were made, for example "masked_marginals". Optional.

◆ sequence

std::string pulsatrix::MutationMapDocument::sequence

The wild-type sequence, one letter per residue.

◆ title

std::string pulsatrix::MutationMapDocument::title

◆ values

std::vector<float> pulsatrix::MutationMapDocument::values

Row-major (residues, alphabet). NaN marks a substitution that wasn't scored.


The documentation for this struct was generated from the following file: