Macromolecular diffuse scattering data reduction
Project description
mdx2: macromolecular diffuse scattering data reduction in python
References
Publications describing ando-lab/mdx2:
- Meisburger SP & Ando N. Scaling and merging macromolecular diffuse scattering with mdx2. Acta Cryst. D80, 299-313. DOI
- Meisburger SP & Ando N. Chapter Two - Processing macromolecular diffuse scattering data. In Methods in Enzymology Volume 688, 43-86. DOI, BioRxiv
Mdx2 is based on algorithms and general philosophy of ando-lab/mdx-lib, described here:
- Meisburger SP, Case DA & Ando N. Diffuse X-ray scattering from correlated motions in a protein crystal. Nature Communications 11, 1271 (2020). DOI
- Meisburger SP, Case DA, & Ando N. Robust total X-ray scattering workflow to study correlated motion of proteins in crystals. Nature Communications 14, 1228 (2023). DOI
Examples
- Introductory walkthrough using a small insulin dataset: examples/insulin-tutorial
- Scripts and notebooks to regenerate the figures from Meisburger & Ando, Acta Cryst. D (2024): examples/insulin-multi-crystal.
Versions
Version 1.0.3
- Performance boost for
mdx2.import_datausing parallel read and write. Thedata.nxsfile contains a virtual dataset linking to neXus files in a subdirectory (datastore/by default). mdx2.reintegrate-- New command-line tool to create fine maps after scaling (single-sweep only: multi-crystal datasets not yet implemented)- Optional pre-scaling in
mdx2.scaleto correct anisotropic background - Improved handling of command-line arguments via
dataclassattributes andsimple-parsingpackage - Updated examples
Version 1.0.2
- Rudimentary Bragg peak integration, in development
- Support for non-reference space group settings
- Bug fixes, including:
- Symmetry operators now rotate in the correct direction
- Gracefully skip missing or masked data chunks
Installation
Prerequisites
For a conda-based installation, you'll need micromamba or equivalent.
User install (conda environment)
micromamba create -f https://raw.githubusercontent.com/ando-lab/mdx2/refs/tags/v1.0.3/env.yaml
micromamba activate mdx2
pip install mdx2==1.0.3
You'll probably want these packages too:
micromamba install -c conda-forge dials nexpy jupyterlab xia2
Developer install
See The Diffuse Project's fork for instructions.
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 mdx2-1.0.3.tar.gz.
File metadata
- Download URL: mdx2-1.0.3.tar.gz
- Upload date:
- Size: 54.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da4e6402b7d43a7660db6e39357fe3556b68f72f07aa1f9c874cccbe172ec1e7
|
|
| MD5 |
250b9b83884c3abe5ecf78e8582b4933
|
|
| BLAKE2b-256 |
31fc2b22ba68135b8528a5701c7d2a67dba54c8f9174fbd23d0c532b19f5c4bf
|
File details
Details for the file mdx2-1.0.3-py3-none-any.whl.
File metadata
- Download URL: mdx2-1.0.3-py3-none-any.whl
- Upload date:
- Size: 59.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7851b6e359ae4027fb1b290e2ca8f71e443e6d1dc1f13a0012430272f7e90213
|
|
| MD5 |
0d0a81f47ad81890363e1753cf49cabc
|
|
| BLAKE2b-256 |
4b6485b97d105191e4ccbecfd9b388f06e926c866f3591488ad05f9742764836
|