Skip to content

Simple program for performing ENM calculations on proteins

License

Notifications You must be signed in to change notification settings

jankocivic/simple-enm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple ENM

This tutorial provides an introduction to using the Python Elastic Network Model Program (Simple ENM) developed by Janko Civic during the 2021/2022 academic year TCCM internship. If you are interested in learning more about the theory behind ENMs, you can check out the following resources:

  1. Yves-Henri Sanejouand, "Elastic Network Models: Theoretical and Empirical Foundations", Methods Mol. Biol., 2012, 924, 601-616
  2. Monique M. Tirion, "Large Amplitude Elastic Motions in Proteins from a Single-Parameter. Atomic Analysis", Phys. Rev. Lett., 1996, 77, 1905

Setup

To get started with Simple ENM:

  1. Clone the Simple ENM GitHub repository by running git clone https://github.com/jankocivic/simple-enm.git in your terminal.
  2. Navigate to the cloned directory
  3. Install the necessary dependencies in your local virtual environment. Depending on whether you have conda installed, choose one of the following options:
    1. If you have conda, create the environment and install the dependencies by running conda env create -f environment.yml in your terminal. Activate the environment with conda activate simple-enm.
    2. If you don't have conda, create a new virtual environment and install the dependencies by running pip install -r requirements.txt.

Performing calculations

Once you have set up your environment, you can start performing calculations with Simple ENM. Here are the steps to follow for each type of calculation:

Normal modes

  1. Navigate to the Scripts directory in the Simple ENM repository.
  2. Save the necessary PDB files in the PDB folder.
  3. Run the calcualtion with the command python enm_modes.py TITLE PDB_ID, where:
  • TITLE is the name of the directory that will be created in the Output folder and where output files will be stored.
  • PDB_ID is the 4-letter PDB identifier for the protein (see notes at the end about PDB files).
  1. The following output files will be generated:
  • eigenvalues.txt - Eigenvalues in ascending order.
  • eigenvectors.txt - The first 36 eigenvectors.
  • general.txt - General information about the calculation.
  • normal_modes.nmd - Files for visualizing the normal modes.
  • temperature_factors.png - Plot of the normalized calcualted and experimental temperature factors of each residue.

Overalp of normal modes and conformational changes

To compute the overlap between normal modes and conformational changes, do the following:

  1. Navigate to the Scripts directory in the Simple ENM repository.
  2. Save the necessary PDB files in the PDB folder.
  3. Run the calcualtion with the command python overlap.py PDB_ID[CHAIN_ID] PDB_ID[CHAIN_ID] where:
  • The first argument is the PDB code of the model protein for which normal modes are calucluated.
  • The second argument is the PDB code of the conformer.
  • The PDB codes consist of 4 characters, but it is possible to append a fifth letter to specify an exact chain.
  • Change of the cutoff or the name of the output folder needs to be done manually inside the script.
  1. The following output files will be generated:
  • eigenvalues.txt - Eigenvalues in ascending order.
  • eigenvectors.txt - The first 36 eigenvectors.
  • general.txt - General information about the calcualtion.
  • normal_modes.nmd - Files for visualizing the normal modes.
  • temperature_factors.png - Plot of the normalized calcualted and experimental temeprature factors of residue.
  • cum_overlap.png - Plot of the cumulative overlap of the first N lowest modes and the conformational change.
  • overlap.png - Individual overlaps of each normal mode with the conformational change.
  • summary.txt - csv file with the most important data.

Visualization

To visualize the output of Simple ENM, you need to install the Visual Molecular Dynamics (VMD) software. Once installed, follow the steps below:

  1. Open VMD.
  2. Click on the Extensions tab.
  3. Select Analysis.
  4. Click on Normal Mode Wizard.
  5. Load the .nmd file generated by Simple ENM.

Remarks

Here are some important remarks to consider when using Simple ENM:

  • PDB files should only contain one model (careful with NMR structures).
  • All HETATM entries are ignored.
  • Only Ca atoms with occupancy 1 are considered.
  • The program automatically performs structure allignment before the overlap calculation.
  • When comparing two conformations, the two PDB files need to have the same residue numbering.
  • Too many missing residues can result in a disconnected graph causing the computaiton to fail.
  • The program can run for more than 10 minutes for proteins with thousands residues.

About

Simple program for performing ENM calculations on proteins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages