Skip to main content

The Weir Labs H-bond Systems Analyses modules!

Project description

mdsa-tools: A set of tools for performing systems analyses of Molecular Dynamics (MD) simulations.

CI Last commit PyPI version Python versions License DOI

A pipeline for performing systems analyses:

Pipeline

Pictured is a directed graph describing the pipeline for our MD trajectory analysis. From left to right, we begin with a trajectory file, and convert it into a set of networks (one for each trajectory frame), which that can be represented as either graphs or adjacency matrices. Each frame adjacency is flattened into a vector by concatenating the matrix’s rows (vector reduction). The frame vectors are vertically concatenated to create a feature matrix that can be used as input to either K-means clustering or PCA, whose results can then be visualized using graphs, scatter plots, MDCcircos plots, (of residue H-bonding), or MD replicate maps of frame measurements of interest.

We also provide an additional module for taking theese various results and using clustering results as input substates for markov state model analyses.

Use pip install to get started:

pip install mdsa-tools

Quickstart example:

from mdsa_tools.Data_gen_hbond import trajectory as traj
import numpy as np
import os

#########################################
#In house test with our own trajectories#
#########################################

#load in and test trajectory
system_one_topology = '/Users/luis/Desktop/workspace/PDBs/5JUP_N2_CGU_nowat.prmtop'
system_one_trajectory = '/Users/luis/Desktop/workspace/PDBs/CCU_CGU_10frames.mdcrd' 

system_two_topology = '/Users/luis/Desktop/workspace/PDBs/5JUP_N2_GCU_nowat.prmtop'
system_two_trajectory = '/Users/luis/Desktop/workspace/PDBs/CCU_GCU_10frames.mdcrd' 

test_trajectory_one = traj(trajectory_path=system_one_trajectory,topology_path=system_one_topology)
test_trajectory_two = traj(trajectory_path=system_two_trajectory,topology_path=system_two_topology)


#now that its loaded in try to make object
test_system_one_ = test_trajectory_one.create_system_representations()
test_system_two_ = test_trajectory_two.create_system_representations()

np.save('/Users/luis/Desktop/workspacetwo/example_systems/test_system_one',test_system_one_)
np.save('/Users/luis/Desktop/workspacetwo/example_systems/test_system_two',test_system_two_)

#########
#
#########

Systems Problem Area:

System panel At the Weir Lab at Wesleyan University, we perform molecular dynamics (MD) simulations of a ribosomal subsystem to study tuning of protein translation by the CAR interaction surface- a ribosomal interface identified by the lab that interacts with the +1 codon (poised to enter the ribosome A site). Our "computational genetics" research focuses on modifying adjacent codon identities at the A-site and the +1 positions to model how changes at these sites influence the behavior of the CAR surface and corellate with translation rate variations.

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

mdsa_tools-1.0.0.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

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

mdsa_tools-1.0.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file mdsa_tools-1.0.0.tar.gz.

File metadata

  • Download URL: mdsa_tools-1.0.0.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for mdsa_tools-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2808d65e15217682be08057bfb3ee9728851b16253ab34ff39dc936393fe79ce
MD5 8171152c71176dceb4743ef14df57c0e
BLAKE2b-256 d3b5013fedf858f392c21ec752992152af28425a602e13c53a9c0c85229ec79a

See more details on using hashes here.

File details

Details for the file mdsa_tools-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: mdsa_tools-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for mdsa_tools-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ecfe7058f0ef220bf39b0479499ce9f3434e9d6456975aee03c78c29d257a211
MD5 1fb6315a97856c5f0daad4e81e35b396
BLAKE2b-256 f3634b0c588ebdf6597296133855950934a3b96dcf10b9ce5fe1f0f23338c3d9

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