Git Product home page Git Product logo

indusanalysis's Introduction

INDUSAnalysis

Package to analyze simulation data generated using INDUS.

build Actions Status Website GitHub license

Installation

  1. Install requirements
pip install -r requirements.txt
  1. Build C extensions
python setup.py build_ext --inplace
  1. Install package [in editable state]
pip install [-e] .

Tests

Run both unit tests and integration tests to make sure the package is installed and working correctly. All tests should pass.

Run ensemble tests (scientific tests) to make sure that selected ensemble methods generate the correct results.

Unit tests:

Run

pytest

inside the folder tests_unit/.

Integration tests:

Run

pytest

inside the folder tests_integration/.

Ensemble tests:

Run

pytest

inside the folder tests_ensemble/.

Usage

The package can be imported in any Python script using

import INDUSAnalysis

INDUSAnalysis library functions can be imported using

import INDUSAnalysis.lib

INDUSAnalysis ensemble scripts can be run directly using

python /path/to/INDUSAnalysis/ensemble/.../script.py

Scripts

scripts/ contains executable Python and VMD scripts.

Run

python /path/to/INDUSAnalysis/scripts/run_$analysis_name.py

with the required and optional arguments to run analysis on data generated from a single run [use the -h or --help flags for help with arguments].

indusanalysis's People

Contributors

apallath avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

rnaimehaom

indusanalysis's Issues

RMSF calculation

  • Add RMSF calculation along a single trajectory to INDUSAnalysis package
  • Average RMSF across replicas and color PDB by bfactor for each value of phi
  • See differences in regional fluctuations at equilibrium and at low values of phi, then at high values of phi (indication of changes in flexibility at different bias potentials, better indicator than individual atom RMSD!!!!)

Improved dynamic visualization with PCA

  • Perform PCA
  • Project all frames after burn-in time onto top-k principal components, compute centroid
  • Use either (a) coordinates reconstructed from centroid PCs, or (b) coordinates from frame closest to centroid PC as representative dynamic image

Reweighting

Add a module for performing phi-ensemble reweighting using free energy profiles obtained from WHAM.

Support directly interfacing with WHAM.

Add bootstrap error estimation

Implement error estimation using block bootstrapping with sample size = N/g, given g as input/option to calculate using statsmodels. Write tests to compare with pymbar statistical inefficiency.

Cython for performance improvements

Cythonize code for performance improvements:

  • Basic cythonize
    -- Unit testing, integration testing
    -- Update git workflow
    -- Code profiling
  • Add type definitions
    -- Unit testing, integration testing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.