Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 2.69 KB

README.md

File metadata and controls

62 lines (40 loc) · 2.69 KB

Ising_programs

A suite of python programs to analyze repeat-protein unfolding data with a 1D Ising model.

Homopolymer 1D Ising Fit Heteropolymer 1D Ising Fit
homopolymer_fit heteropolymer_fit

This repository contains four main folders. The two main folders (heteropolymer_fit and homopolymer_fit) contain scripts to run 1D Ising analysis. One is for "capped homopolymeric" NRC-type repeats, and the other is for capped heteropolymeric NRXC-type repeats. Both perform nonlinear least-squares fits generated plots, and perform and statistical analysis using boostrap resampling.

In addition there is a folder (data_conversion) with some additional scripts to convert and merge data files of different types.

Finally, there is a folder for calculation of partial correlation coefficients from bootstrapped thermodynamic parameters (partial_correlation).

All folders contain data files which contain protein folding data on which the scripts can be run. All programs were written in python 3.8.

A detailed description of this suite of programs and its applications will soon be submitted to the journal Protein Science for publication. A preprint can be obtained from Doug Barrick (barrick@jhu.edu).

License

License

Setup

To run the most recent code, follow the instructions below:

  1. git clone the repository:

    git clone https://github.com/barricklab-at-jhu/Ising_programs.git

  2. Create and activate a new environment (requires conda or miniconda):

    conda env create -f environment.yml
    conda activate ising_py3

To run a version of the code linked to the publication, follow these instructions:

  1. git clone the publication branch from the repository:

    git clone -b publication_master https://github.com/barricklab-at-jhu/Ising_programs.git

  2. Create and activate a new environment (requires conda or miniconda):

    conda env create -f environment.yml
    conda activate ising_py3

If one is more comfortable working in virtualenv, a requirements.txt also provided.

Quikstart

  1. To run the code via the self-contained instructional notebooks (after setup above):

    • jupyter notebook
    • navigate tohomopolymer_fit/ising_fitter_homopolymer_fit.ipynb OR heteropolymer_fit/ising_fitter_heteropolymer_fit.ipynb
  2. To run each program independently (after setup above):

    • Each program can be executed independently in the directory it resides:
      • e.g. python data_conversion.py