Skip to content

Python-based script for calculating contact surface area in Molecular Dynamics trajectories.

License

Notifications You must be signed in to change notification settings

maurobedoya/contact_surface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contact surface analyzer

Python script to calculate the contact surface area between two molecular structures, e.g. ligand-protein, protein-protein, among others, in a Molecular Dynamics trajectory.

Scheme

Features

It allows to carry out the analysis in the different formats supported by PyMOL, e.g., .pdb, .gro, .cms and trajectory files; .dcd, .crd, .xtc, and .trr.

It allows obtaining in a .dat file the surface area obtained by SASA of the ligand, protein, the complex, the contact area and the percentage (portion) of the ligand that makes the contact.

Requirements

  • Python

  • PyMOL libraries

To install PyMOL libraries by console use:

sudo apt-get install pymol

Usage

python md_contact_surface.py -top topology_file.xxx -traj trajectory_file.xxx -l "ligand_selection" -p "protein_selection" -o contact_surface_data

It is also possible to specify the frames of the trajectory to be analyzed. The initial and final frame can be specified as: -f 1:1000, this option will analyze each frame from position 1 to 1000. But also the spacing between frames can be specified, for example the option: -f 1:1000:5 will consider every 5 frames in the range 1 - 1000.

To see available options use:

python md_contact_surface.py -h

Contributors

Be sure to thank these contributors:

License

Licensed under the MIT license, see the separate LICENSE file.

Citing

About

Python-based script for calculating contact surface area in Molecular Dynamics trajectories.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages