Derive ΔG for single residues from HDX-MS data
Project description
PyHDX
PyHDX is python project which can be used to derive Gibbs free energy from HDX-MS data.
Installation
Installation of PyHDX with uv:
Create a uv virtual environment, specifying python version 3.11:
$ uv venv -p "3.11"
Then activate environment as instructed by uv, e.g.:
Windows:
$ .venv/Script/activate
Linux/Mac:
$ source .venv/bin/activate
To install PyHDX:
$ uv pip install pyhdx
With web interface extra:
$ uv pip install pyhdx[web]
(Not recommended - outdated version) Conda install (includes web interface extra):
$ conda install pyhdx
Run PyHDX
Most up-to-date code examples are in the directory pyhdx/templates
To run the web server:
$ pyhdx serve
To add datasets to directly load into PyHDX, configure the database_dir parameter in the config file (default: ~/.hdxms_datasets/datasets), and place hdxms-datasets v0.1.5 (legacy) compatible datasets there.
Please refer to the docs for more details on how to run PyHDX.
Web Application
The PyHDX web application is currently hosted at: http://pyhdx.jhsmit.org
A test file can be downloaded from here and here (right click, save as).
A beta version might be available at: http://pyhdx-beta.jhsmit.org
Publication
Our Analytical Chemistry Publication describing PyHDX can be found here
The latest version (v2) of our biorxiv paper: https://doi.org/10.1101/2020.09.30.320887
Python code for analysis and generation the figures in the paper are here: https://github.com/Jhsmit/PyHDX-paper
Other
HDX MS datasets repository and format: https://github.com/Jhsmit/HDX-MS-datasets
HDXMS datasets python bindings: https://github.com/Jhsmit/hdxms-datasets
Development
Building PyHDX from source:
$ hatch build
Create a new release and distribute to PyPI:
- Create new release on GitHub
- GitHub workflow builds and publishes to PyPI
Panel web interface development
Working on a controller only:
panel serve pyhdx\web\controller_only.py --dev
Working on the main app:
panel serve pyhdx\web\apps\_main.py --dev
Make sure to also run a dask cluster if needed:
python pyhdx\local_cluster.py
Other
Installing a specific commit of the HDX-MS-datasets package:
uv pip install "git+https://github.com/jhsmit/hdxms-datasets@5fa2458e6115329ae921a319e3e87b6cb21814ff"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyhdx-0.4.5.tar.gz.
File metadata
- Download URL: pyhdx-0.4.5.tar.gz
- Upload date:
- Size: 24.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
248b1c80bcc2fff26208c3c1c89f91763d4745cfe81d560444c2b7676cc6e020
|
|
| MD5 |
beb91d5fb6ceaa23d5d4c48f34b920e0
|
|
| BLAKE2b-256 |
94121be855f5a2ff969ab4ecbc7dda99c784eaf4507ea72b4320d5b744e0e9d3
|
File details
Details for the file pyhdx-0.4.5-py3-none-any.whl.
File metadata
- Download URL: pyhdx-0.4.5-py3-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d9e0f23a9d4ff5f75226f079d5e5f59f2752a8ab845289df96d40dd2ed28de1
|
|
| MD5 |
8c217bc70334d16ca2ba93ba84034402
|
|
| BLAKE2b-256 |
caa9f05d6301071b96ef6126563c8b071b8ab181f3f082791dd29816c62aeea3
|