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.1.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.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mdsa_tools-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 68176d9752d6bd152d976ca55d0422cb5753b4e718edc59f6de50689f9fb8a78
MD5 de80768647bb239abdbb70d4825b29e4
BLAKE2b-256 e3a2e806c5bef1257b756804f1c2477a7096cd5648fc5990fb3dcc6b3ed90f78

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mdsa_tools-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 78d4f0a0096a7d2236ae5bd5ee9d0bf99622bbd44e130a9da8a0ffbd47575f52
MD5 4fdff71c33b1e3902f8979469613ff2d
BLAKE2b-256 ee66f8e3cde5f875e15a5c724e362d67a9e24b8edcbae244f5f72c3c81bedd73

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