mdciao: Accessible Analysis and Visualization of Molecular Dynamics Simulation Data
Project description
mdciao: Accessible Analysis and Visualization of Molecular Dynamics Simulation Data
mdciao is a Python module that provides quick, “one-shot” command-line tools to analyze molecular simulation data using residue-residue distances. mdciao tries to automate as much as possible for non-experienced users while remaining highly customizable for advanced users, by exposing an API to construct your own analysis workflow.
Under the hood, the module mdtraj is doing most of the computation and handling of molecular information, using BioPython for sequence alignment, pandas for many table and IO related operations, and matplotlib for visualization. It tries to automatically use the consensus nomenclature for
- GPCRs
via Ballesteros-Weinstein-Numbering or structure-based schemes by Gloriam et al for the receptor’s TM domain, or
via generic-residue-numbering for the GAIN domain of adhesion GPCRs
- G-proteins
- Kinases
via their 85 pocket-residue numbering scheme
using local files or on-the-fly lookups of the GPCRdb and/or KLIFS.
Licenses
mdciao is licensed under the GNU Lesser General Public License v3.0 or later (LGPL-3.0-or-later, see the LICENSE.txt).
mdciao uses a modified version of the method mdtraj.compute_contacts of mdtraj. This modified version is published along with mdciao and can be found in contacts/_md_compute_contacts.py. Please see that file for details on the modifications.
Modules used by mdciao have different licenses. You can check any module’s license in your Python environment using pip-licenses:
>>> pip-licenses | grep module_name
Documentation
Currently, docs are hosted at https://mdciao.org.
System Requirements
mdciao is developed in GNU/Linux, and CI-tested via github actions for GNU/Linux and MacOs. Tested Python versions are:
GNU/Linux: 3.7, 3.8, 3.9, 3.10, 3.11, 3.12
MacOs: 3.7, 3.8, 3.9, 3.10, 3.11, 3.12. For Python 3.7, four CI-tests involving mdtraj.compute_dssp , are skipped because of a hard to reproduce, random segmentation fault, which apparently wont fix, see here https://github.com/mdtraj/mdtraj/issues/1574 and here.
So everything should work out of the box in these conditions.
Scope
mdciao originated as a loose collection of CLI scripts used in our lab to streamline contact-frequency analysis of MD simulations with mdtraj, which is doing a lot of the heavy work under the hood of mdciao. The goal was to take the less scripting-affine lab members from their raw data to informative graphs about the general vicinity of their residues of interest without much hassle. From there, it grew to incorporate many of the things routinely done in the lab (with a focus on GPCRs and G proteins) and ultimately a package available for third-party use was made.
- The main publications which have driven the development of mdciao are:
- Function and dynamics of the intrinsically disordered carboxyl terminus of β2 adrenergic receptor.
- Heng, J., Hu, Y., Pérez-Hernández, G. et al.Nat Commun 14, 2005 (2023).
- Time-resolved cryo-EM of G-protein activation by a GPCR.
- Papasergi-Scott, M.M., Pérez-Hernández, G., Batebi, H. et al.Nature 629, 1182–1191 (2024).
- Mechanistic insights into G-protein coupling with an agonist-bound G-protein-coupled receptor.
- Batebi, H., Pérez-Hernández, G., Rahman, S.N. et al.Nat Struct Mol Biol (2024).
- Generic residue numbering of the GAIN domain of adhesion GPCRs.
- Seufert, F., Pérez-Hernández, G., Pándy-Szekeres, G. et al.Nat Commun 16, 246 (2025).
TODOs
You can find an informal list of TODOs and known issues here.
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 mdciao-1.0.0.tar.gz.
File metadata
- Download URL: mdciao-1.0.0.tar.gz
- Upload date:
- Size: 3.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36fe4b459b889749caefcb2273790eb6458c455a8a3ddff0d4374bcd407969e9
|
|
| MD5 |
8cbb59402f4f0351828b615d44d88ce0
|
|
| BLAKE2b-256 |
dd4430aa0a60088ed1e14e879326ff3fe5c180d977725de1affed3da2e58aa5f
|
File details
Details for the file mdciao-1.0.0-py3-none-any.whl.
File metadata
- Download URL: mdciao-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
879da03e661a5881a5697e8eaf14c2a3d6bfb356c39459ceef3f4be864484480
|
|
| MD5 |
ff6f80f973bec6d7490689ddcc731c56
|
|
| BLAKE2b-256 |
570f65b08cd393b0b5fae324ea38cf1148387f40ca16d699d54896a4ad4b13a4
|