https://github.com/MDverse/mdda
Revision eab3c3fbd20c3d331957cd03cb4cef9e18ec997f authored by Pierre Poulain on 08 February 2023, 16:26:10 UTC, committed by Pierre Poulain on 08 February 2023, 16:26:10 UTC
1 parent af300eb
Tip revision: eab3c3fbd20c3d331957cd03cb4cef9e18ec997f authored by Pierre Poulain on 08 February 2023, 16:26:10 UTC
Change the calculation of dataframe length
Change the calculation of dataframe length
Tip revision: eab3c3f
README.md
# Molecular dynamics data analysis
## Setup your environment
Clone the repository:
```bash
git clone https://github.com/MDverse/mdda.git
```
Move to the new directory:
```bash
cd mdda
```
Install [miniconda](https://docs.conda.io/en/latest/miniconda.html).
Install [mamba](https://github.com/mamba-org/mamba):
```bash
conda install mamba -n base -c conda-forge
```
Create the `mdda` conda environment:
```
mamba env create -f binder/environment.yml
```
Load the `mdda` conda environment:
```
conda activate mdda
```
Note: you can also update the conda environment with:
```bash
mamba env update -f binder/environment.yml
```
To deactivate an active environment, use
```
conda deactivate
```
## Get data
Data files should be located in the `data` directory and comply with the [data model](https://github.com/MDverse/mdws/blob/main/docs/data_model.md).
## Analyse data
Run all Jupyter notebooks in batch mode:
```bash
rm -rf results/*
jupyter nbconvert --to html --execute --allow-errors --output-dir results notebooks/paper_numbers_figures.ipynb
jupyter nbconvert --to html --execute --allow-errors --output-dir results notebooks/search_MD_in_pubmed.ipynb
mkdir -p results/fig
cp notebooks/fig/*.{svg,png} results/fig/
cp notebooks/*.tsv results/
```

Computing file changes ...