Skip to main content

Package for preparing NERDSS inputs and analysing outputs.

Project description

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

Recommended: Install in an isolated environment We strongly recommend installing ioNERDSS in an isolated environment using a package manager like conda or mamba to avoid conflicts with existing Python libraries.

Using Conda

# Create a new environment with Python 3.10 or later
conda create -n ionerdss python=3.10
conda activate ionerdss

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]"

To run simulations for structures generated from ioNERDSS you will also need to install NERDSS.

NERDSS installation instructions - NERDSS Github

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.

Project details


Release history Release notifications | RSS feed

This version

2.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ionerdss-2.2.tar.gz (26.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ionerdss-2.2-py3-none-any.whl (26.8 MB view details)

Uploaded Python 3

File details

Details for the file ionerdss-2.2.tar.gz.

File metadata

  • Download URL: ionerdss-2.2.tar.gz
  • Upload date:
  • Size: 26.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for ionerdss-2.2.tar.gz
Algorithm Hash digest
SHA256 2fd707686485eb623d79e4625880eea5d7d1144229e2a3285b6b31e93ec05fa9
MD5 36a527d7dc3dbbde345e69c603f5268c
BLAKE2b-256 58cdd09fac0dfc374baf457fc28bccdba7454c4d9ef83c72b523e98d4b88c15d

See more details on using hashes here.

File details

Details for the file ionerdss-2.2-py3-none-any.whl.

File metadata

  • Download URL: ionerdss-2.2-py3-none-any.whl
  • Upload date:
  • Size: 26.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for ionerdss-2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ebe0fb15a30a3a704df2934bd1840175053d150658334f75019143982fed73f1
MD5 0ede587c213631b087d7354ec574d11d
BLAKE2b-256 4b683e2c1be401d00779a4da95e7d69a97021344c6a23fb9fe35920942698207

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