poli.core.util.proteins.mutations

poli.core.util.proteins.mutations#

Utilities for defining and manipulating mutations on proteins.

This module contains utilities for defining mutations on proteins according to foldx.

foldx expects mutations in a certain format:
  • the first letter is the original residue

  • the second letter is the position of the mutation

  • the third letter is the chain ID,

  • the fourth letter is the mutant residue.

See the “Individual List Mode” of https://foldxsuite.crg.eu/parameter/mutant-file for more details.

Functions

edits_between_strings(string_1, string_2[, ...])

Compute the edit operations between two strings.

find_closest_wildtype_pdb_file_to_mutant(...)

Find the closest wildtype PDB file to a given mutant residue string.

mutations_from_wildtype_residues_and_mutant(...)

Computes the mutations from a wildtype list of residues and a mutated residue string.