Skip to main content

Analyzes Pi-Stacking in Molecular Dynamics Trajectories

Project description

StACKER

Stacking Analysis and Conformational Kinetics for Examining Residues

Analyzes pi-stacking interactions between residues in Molecular Dynamics (MD) trajectories.

Developed by Eric Sakkas (esakkas@wesleyan.edu) in the Weir Lab at Wesleyan University.

Runs on Python 3.10.x+ and has the following dependencies: mdtraj, pandas, NumPy, matplotlib, seaborn

StACKER Documentation is available here: https://esakkas24.github.io/

Overview

Manipulates the outputs of an MD simulation and analyzes the pi-stacking interactions. Creates a "Pi-Stacking Fingerprint" for a structure at each frame. Presents Pi-stacking interactions between two residues through analysis of their relevant movement.

Installation Instructions

StACKER can be installed through GitHub or through PyPi:

Install StACKER with pip

In the command line, run:

pip install pistacker

This will install StACKER, activate the command line option stacker, and install all the necessary dependencies.

Clone StACKER repository to local computer

In the command line, run:

git clone https://github.com/esakkas24/stacker.git

Descend into the directory and download the neccessary dependencies:

cd stacker
pip install -r requirements.txt
pip install setuptools
python setup.py install

This will install StACKER, activate the command line option stacker, and install all the necessary dependencies.

If you need to download any of the dependencies individually

Download mdtraj
pip3 install mdtraj

If installing mdtraj presents issues on the newest version of pip, run the script get-pip.py to download an older version of pip:

python3 installation/get-pip.py

The output may come with a warning showing the location of the new pip version:

WARNING: The scripts pip, pip3, and pip3.8 are installed in '/Users/ericsakkas/Library/Python/3.8/bin' which is not on PATH

If it does, use this new path to install mdtraj:

/Users/ericsakkas/Library/Python/3.8/bin/pip3 install mdtraj

Else, use the usual pip3 install (as shown in installation.mp4)

If successful, this will also install the NumPy dependency:

Successfully installed astunparse-1.6.3 mdtraj-1.9.9 numpy-1.24.4 ...
Install Pandas
pip3 install pandas
Install matplotlib
pip3 install matplotlib
Install seaborn
pip3 install seaborn
Install sklearn
pip3 install scikit-learn

Testing Features

All features can be tested by running the unit tests at the end of each Python script, or by running stacker.py in the command line. All tests are explained in the testing/testing.md file.

MD Files are provided for testing convenience in the testing folder:

  • first10_5JUP_N2_tUAG_aCUA_+1GCU_nowat.mdcrd : A 10-frame trajectory file
  • 5JUP_N2_tUAG_aCUA_+1GCU_nowat.prmtop : The associated Topology File with the above trajectory.
  • 5JUP_N2_tUAG_aCUA_+1GCU_nowat_mdcrd_3200frames.pdb : A larger Trajectory combined with a Topology file with 3200 frames.

Future Features

  • Usage for more trajectory types beyond mdcrd prmtop and pdbs

Features

  1. Command Line Interface to run stacker commands
  2. A Vector Class to compute distances within the 3D space of the MD simulation.
  3. Users can convert the .trj output of an MD simulation (which contains atom position, velocities, and forces per frame with no info on atom identity) to a .pdb file (which has atom idenity, position, the residue they make up, and more).
  4. Users can input an MD simulation and two residues and get a map of how those two residues move relative to each other (Figure D shows a heatmap of how one residue moves in the perspective of another).
  5. Users can get a "Stacking Fingerprint" for a given frame of a structure. A Stacking Fingerprint involves checking every pair of residues for stacking interactions between the two residues, and returning a pairwise comparison as a Matrix.
  6. A visualization interface that allows for the display of residue-residue movement from Feature 4 (as in Figure D) and the display of a heatmap for stacking interactions as in Feature 5
    • Heatmap: matrix where x-axis and y-axis are residue idenities within the strucutre (eg. residue 1, residue 48, etc.) and matrix(i,j) is colored by distance between the residues, where stacking interactions occur at around 3-4 Angstroms apart.

Stakeholders and Intended Users

The package is intended to be used by anyone in academic or computational biology centers running molecular dynamics. No explicit prerequisites, but a conceptual understanding of MD output files is beneficial. The stakeholders include the users, other researchers reliant on the computational data, and any beneficiaries of the overall research conducted using StACKER.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pistacker-1.1.5.tar.gz (48.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pistacker-1.1.5-py3-none-any.whl (53.2 kB view details)

Uploaded Python 3

File details

Details for the file pistacker-1.1.5.tar.gz.

File metadata

  • Download URL: pistacker-1.1.5.tar.gz
  • Upload date:
  • Size: 48.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for pistacker-1.1.5.tar.gz
Algorithm Hash digest
SHA256 960fe05a864e34b67d0cc241aa1c7abe69107d9357ab825871a9e836ae53f4e9
MD5 a52e28c1e95f7ad2cf4d50f132e1e534
BLAKE2b-256 d652b77e3df8bc24201b81b896d1a9c570ab8ba1b64f25afc4f435be3a1bd8e8

See more details on using hashes here.

File details

Details for the file pistacker-1.1.5-py3-none-any.whl.

File metadata

  • Download URL: pistacker-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 53.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for pistacker-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e18815ddc48de95b7dbc6e0109ad492e91dd21f1b95bde6f6c193e32730791d4
MD5 9be77b9bf550ca9479c1e535c51df255
BLAKE2b-256 763880255ca65316d37340be045e70a7d835f5713d16ce14ad8096a8c1ae8d20

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page