ChimeraX docs icon

Tool: Mutation Scores

The Mutation Scores tool shows the results of deep mutational scanning on protein structures and as interactive 2D plots. The corresponding command is mutationscores. See also: ChimeraX visualization of mutation scores

Deep mutational scanning generally entails making all possible substitutions (of the 20 standard amino acids) at each position of a protein and assessing the results with multiple high-throughput assays. For example, the assays could include growing cells expressing the mutants in the presence of different drugs and measuring cell viability or fluorescence. In this page, mutant refers to a variant of the protein defined by a specific residue type (which could be the same as the wild type) at a specific position in the sequence, and in which all of the other positions have the wild-type residue. The result of a synonymous mutation is the same amino acid as in the wild-type protein, although the nucleic acid codon could have been different.

In general, each type of assay yields a score for each mutant. The scores are read from a mutation scores .csv file (details...) that can be opened from the the File menu or with the open command. Each file gives rise to a mutation set, and multiple mutation sets can be open at the same time. A mutation set can also be fetched from the AlphaMissense database (score name amiss) or from UniProt Variants (score names PolyPhen and SIFT).

Opening a mutation scores file automatically shows the Mutation Scores tool. By default, mutation scores are automatically associated with each structure chain that has exactly the same sequence and residue numbering (as in the mutation data) when the mutation data or structures are opened. However, specific structure chains to associate can be designated with the chains option of the open command at the time of opening the mutation data, or the associations can be adjusted manually later (after opening the files) with mutationscores structure.

Mutation Scores Dialog

Opening a mutation scores file automatically shows the Mutation Scores tool. It can also be opened from the Structure Analysis section of the Tools menu, but will be “empty” unless mutation data have been opened. The filename of each open mutation set and the scores it contains are listed in the dialog and can be chosen (highlighted) with the mouse. Buttons across the bottom use the chosen data for various analyses:

Mutation Scores Heatmap

heatmap

A heatmap shows mutation score values with colors. By default, low values are blue, those near the synonymous mean are white, and high values are red. Black squares indicate missing data, and black horizontal lines are drawn between different scores in the same heatmap.

Residue positions along the chain are plotted on the horizontal axis, and amino acid types along the vertical axis. Moving the cursor over the heatmap reports the mutation name, score name, and value in a pop-up balloon (transiently) and in the status area next to the Help button.

Clicking Options shows/hides several settings; press return after entering a new value to update the plot:

Buttons:

Mutation Scores Scatterplot

mutation scores scatter plot

Menus below the plot can be used to change which scores are plotted on the X- and Y-axes and for which mutation set. Placing the cursor over a plotted point (circle) reports the specific mutation and its score values at the bottom of the panel.

Clicking the scatter plot raises a context menu; entries that refer to a specific mutant only appear when the click is on a circle, and some entries only appear if there is an associated structure:

The following entries apply to the associated structure(s): The following relate to additional windows or dialogs:

Mutation Scores Histogram

mutation scores histogram

Clicking the histogram raises a context menu, including:

Mutation Structure Coloring

mutation structure coloring dialog

The Mutation Structure Coloring dialog can be shown by:

In this dialog, clicking Color structures colors any associated structures using the Score chosen from the menu, optionally normalized by linear least-squares fitting to a subtract fit score and subtracting the linear values (if the subtract fit score is not set to none; details...). An attribute named mutation_score is assigned to the associated structure residues. If the coloring is subsequently named/saved, the attribute name is changed to match the name of the score.

define ranges dialog
There are typically several different mutations at the same residue position, whereas a single value per position is needed for coloring. This single value per position can be calculated based on a filter mutations setting of all mutations (i.e., unfiltered) or only those enclosed in a drag box on scatterplot (specific ranges of values of the two scores shown in the scatterplot), or define ranges... to choose only specific ranges of one or more scores in the Mutation Score Ranges dialog.

For example, in the image of the Mutation Score Ranges dialog on the right, only mutations with dox and mtx greater than 2 standard deviations from the mean would be included. A name for the range set can be entered for later use, and will be listed in the Show named ranges menu in this dialog and the filter mutations menu in the Mutation Structure Coloring dialog. If the low were checked instead of high, values lower than the specified threshold (number of standard deviations from the mean) would be included instead. Both low and high can be checked for the same score to limit it at both extremes; in that case, the threshold values should be adjusted from the defaults so that the lower limit is below the upper limit.

The single value per position can be computed as one of:

Choices of palette for coloring by mutation scores include:

The colors are in low → high value order in the names above, and the thresholds are placed to span four standard deviations centered on the mean:

Clicking Adjust colors shows the Render by Attribute tool for interactively moving the thresholds and/or changing their colors.

Clicking Name saves the current coloring settings to the specified name. Subsequently clicking Previous colorings shows a “Mutation Coloring History” table allowing previously saved colorings to be chosen and easily reapplied (see also mutationscores color). There are buttons below the table to:


UCSF Resource for Biocomputing, Visualization, and Informatics / May 2026