Skip to content

About

Code Accompanying "Monomer binding modes of small molecules that modulate the kinetics of hIAPP amyloid formation" by Michell Garcia, Korey M. Reid and Paul Robustelli

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

313 Commits

Folders and files

Repository files navigation

Code accomapnying the manuscript "Monomer binding modes of small molecules that modulate the kinetics of hIAPP amyloud formation" by Michelle Garcia, Korey M. Redi and Paul RObustelli

Trajectories, Gromacs Input Files, and al analysis code for this manuscript can be found on this project github.

The trajectories used in analysis are all found in the trjs folder, and the input files to start a simulation are found in each respective folder.

Publication

To learn more about analysis and insights found in this paper please check out our paper/preprint:

https://www.biorxiv.org/content/10.1101/2025.09.22.677832v1

Documentation

1. Download the required packages

If you plan on running on a cluster with a linux system, you should use minforge3 as it solves for package environments faster.

source miniforge3/bin/activate

mamba init

mamba create -n circuit_top python

Package Installation

Mdtraj

  • mamba install mdtraj
  • conda install -c conda-forge mdtraj

Matplotlib

  • mamba install matplotlib
  • conda install matplotlib

Seaborn

  • pip3 install seaborn

Scikit-Learn

  • pip3 install -U scikit-learn

Scipy

  • conda install scipy

Biopython

  • pip3 install biopython

pyblock

  • pip install pyblock

OR create a new environment from circuit_top_env.yml file using conda env create -f circuit_top_env.yml

2. Run Topology Analysis and Cluster data

create a topology matrix, run incremental pca, and using the script, which requires a topology file and trajectory file. Notice that some of the functions are borrowed directly from scalvini et al. 2023, project github.

There are 5 variables to consider in this order: the trajectory path, the topology path, the number of residues, the out directory, the number of clusters, and the system name for file naming.

Example usage: python circuit_top_analysis_script.py hiapp_wt_apo.xtc hiapp_wt_apo.gro 38 hiapp_wt_apo_outdir 4 hiapp_wt_apo

The compressed circuit topology matrices can be found at the following dropbox link.

3. Analyze the Trajectory and Clusters

For any protein + ligand system run the {protein}{ligand}analysis.ipynb notebook. This notebook analyzes the ligand system. You may run circuit_top{protein}{ligand}_analysis.ipynb based off k-means clusters created from the topology matrix.

This notebook requires:

  • a structure file that can be read by mdtraj (pdb, gro, etc..) file for your protein + ligand system
  • an xtc or dcd file for your simulation
  • a matrix file and circuit model file or a .json/.pkl file with dictionary values for assigned clusters
  • a perfectly ideal helix structure for alpha-helical order parameter calculations

About

Code Accompanying "Monomer binding modes of small molecules that modulate the kinetics of hIAPP amyloid formation" by Michell Garcia, Korey M. Reid and Paul Robustelli

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages