Skip to content

JohnsonBiophysicsLab/ionerdss

 
 

Repository files navigation

Documentation Run Unit Tests PyPI PyPI - Downloads PyPI - Wheel

ioNERDSS Banner

Try NERDSS / ioNERDSS online

Try NERDSS / ioNERDSS on the webserver at nerdssdemo.org without local installation.
Webserver

Documentation Article PyPI GitHub Learn More

ionerdss is a Python library for building NERDSS-ready models from structures, running simulation workflows, and analyzing simulation outputs.

Installation

1. From PyPI

Requires Python 3.10 or later.

pip install ioNERDSS

To include optional features:

pip install "ioNERDSS[jupyter]"
pip install "ioNERDSS[ovito_rendering]"
pip install "ioNERDSS[proaffinity]"

The ODE pipeline does not require a separate extra; it is included in the main package install.

2. For development

git clone https://github.com/JohnsonBiophysicsLab/ionerdss.git
cd ionerdss
pip install -e ".[test,jupyter]"
pytest

For the full contributor environment:

pip install -e ".[all]"

Usage

import ionerdss as ion

system = ion.build_system_from_pdb(
    source="6bno",
    workspace_path="6bno_dir",
    ode_enabled=True,
)

analyzer = ion.Analyzer("path/to/simulation/root")
analyzer.plot.free_energy()

Tutorials

Current examples live under tutorials/ and are the supported starting point for notebook-based workflows:

  • tutorials/quick_start_6bno.ipynb
  • tutorials/ionerdss_tutorial_5l93.ipynb
  • tutorials/ionerdss_tutorial_6bno.ipynb
  • tutorials/ionerdss_tutorial_8y7s.ipynb
  • tutorials/additional_examples/4yd9.ipynb

Open them locally with Jupyter:

git clone https://github.com/JohnsonBiophysicsLab/ionerdss.git
cd ionerdss
pip install -e ".[jupyter]"
jupyter lab tutorials/

Hosted documentation and tutorial index:

Run a quick trial with our server

Go to the NERDSS server.

Documentation

The documentation site is published with GitHub Pages from the website/ folder.

To preview it locally:

pip install -e ".[docs]"
mkdocs serve -f website/mkdocs.yml

Then open http://127.0.0.1:8000/.

Running tests

pytest

Docker development environment

docker build --no-cache -t ionerdss_dev .
docker run -it --rm -v $(pwd):/app -p 8888:8888 ionerdss_dev

This creates a containerized environment with Jupyter Lab accessible at http://localhost:8888.

License

This project is licensed under the GPL-3.0 License.

About

Python analysis and visualization tools for NERDSS

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

No contributors

Languages

  • Python 93.1%
  • Jupyter Notebook 6.8%
  • Other 0.1%