Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cbouy/dashmd
Real time monitoring and visualization of Amber MD simulations
https://github.com/cbouy/dashmd
ambermd bokeh compchem computational-chemistry molecular-dynamics molecular-modeling ngl
Last synced: 3 months ago
JSON representation
Real time monitoring and visualization of Amber MD simulations
- Host: GitHub
- URL: https://github.com/cbouy/dashmd
- Owner: cbouy
- License: mit
- Created: 2019-10-03T11:14:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-06T16:10:41.000Z (almost 5 years ago)
- Last Synced: 2024-04-14T03:05:30.118Z (10 months ago)
- Topics: ambermd, bokeh, compchem, computational-chemistry, molecular-dynamics, molecular-modeling, ngl
- Language: Python
- Size: 1.37 MB
- Stars: 15
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# DashMD
Real time monitoring and visualization of Amber MD simulations
DashMD let's you track the status, temperature, pressure, volume, density, and energy of your currently running simulation in an interactive way.
You can also plot the RMSD of your trajectories and visualize them directly with [NGL](https://github.com/arose/ngl).## Screenshots
#### Main tab
#### Visualization
#### RMSD tab
#### Density tab
## Installation
DashMD runs on python and a bit of JavaScript, and depends on the following python packages: `pandas, bokeh, pytraj` which are all automatically installed as requirements. To install, simply run the following command :
```bash
pip install git+https://github.com/cbouy/DashMD.git
```## Usage
Simply type `dashmd` in a terminal and it should open a new tab in your web browser.
:warning: Currently, DashMD expects all of your files (mdinfo, prmtop, mdout, mdcrd/netcdf) to be in the same directory.
Start by navigating to the folder containing the `mdinfo` file then press on the `Load` button (which should turn green if the folder contains a `mdinfo` file). The Temperature, Pressure...etc will automatically be read from the mdinfo file and plotted on the corresponding tabs, and the structure from the latest Amber Restart file will be plotted on the `View` tab.
In order to plot the Temperature, Pressure...etc. for a specific simulation file, select the MDOUT file (bottom of the Dashboard tab, only files ending in `.mdout` or `.out` will be listed), then press `Plot`. This might take a while depending on the size of the file.
To visualize a structure or plot the RMSD, click on the corresponding tab and select both Topology file and Trajectory file and click on the corresponding button. Only files ending with `.top`, `.prmtop`, `.parm7` or `.parm` will be listed for the topology. The RMSD calculation is performed by slicing your trajectory in around 200 frames if possible, for faster calculations.
For the `View` tab, only files with the `.rst` or `.rst7` extension are listed.
For the `RMSD` tab, only files ending with `.nc`, `.netcdf`, or `.ncdf` will be listed.
You can select multiple trajectory files to plot by pressing on the `Ctrl` key on your keyboard while selecting the trajectories.
You can restrict the atoms selected for RMSD calculation by specifying a mask as specified in the `pytraj` documentation [here](https://amber-md.github.io/pytraj/latest/atom_mask_selection.html). A `protein` keyword has been added for easier selection of all protein residues (it's a substitute for `:ALA,ARG`... and all of their protonated forms)If necessary, more detailed options are available in the command line:
```
usage: dashmd [-h] [-v] [--port INT] [--update INT] [--default-dir STR]
[--log level]Monitor and visualize MD simulations from Amber in real time
optional arguments:
-h, --help show this help message and exit
-v, --version Show version and exit
--port INT Port number used by the bokeh server (default: 5100)
--update INT Update rate to check and load new data, in seconds (default: 20)
--default-dir STR Default directory (default: .)
--log level Set level of the logger (default: INFO)
```