Skip to content

Plot the secondary structure of protein residues along a Molecular Dynamics simulation time.

Notifications You must be signed in to change notification settings

Eddy-Barraud/2ndStructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

portfolio_view

Secondary Structure heatmap generator

Author: Eddy BARRAUD

Contact: eddy.barraud@outlook.fr

Public access: https://github.com/Eddy-Barraud/2ndStructure

Requirements : pandas matplotlib seaborn mdtraj

This script is calculating the secondary structure of each protein residue across simulation time with a library included DSSP tool.

Generated heatmap values have these meanings :

  • 1: Coil or Undefined
  • 2: Helix
  • 3: Strand

The python script behind the app is using Seaborn and MDTraj libraries.

  1. Create files containing only protein/residues of interest with GROMACS

Example :

gmx editconf -f npt_5.gro -n index.ndx -o try.gro

gmx trjconv -f npt_5.xtc -s npt_5.tpr -n index.ndx -o try.xtc

  1. Copy, under the same filename, the trajectory and the topology to the directory where the DssAny.py file is located at. See example files in the Example folder.

  2. Run the script.

It will create a file, named filename.dssp.png, for each combinations of filename.xtc/filename.gro. If you want multiple plots for specific ranges of residues, uncomment the dfT2 code part.

About

Plot the secondary structure of protein residues along a Molecular Dynamics simulation time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages