- Overview
- Introduction
- Quick Start
- Accessing QA functions
- Installation
- Installing molecuLearn
- Prerequisites
- What is included?
- File structure
- Documentation
- Read the Docs
- Examples
- Developer Guide
- GitHub refresher
The objective of molecuLearn (mL), is to facilitate the application of machine learning to extract patterns from ab-initio molecular dynamics simulations.
To get started, once qa
has been installed, run qa --help
or qa -h
to see the available actions.
Install the package by running the follow commands inside the repository. This will perform a developmental version install. It is good practice to do this inside of a virtual environment. A yaml environmental file has been created to automate the installation of dependencies.
To begin working with molecuLearn, first clone the repo and then move into the top-level directory of the package. Then perform a developer install. Remember to update your GitHub ssh keys.
git clone git@github.com:davidkastner/molecuLearn.git
cd molecuLearn
All the dependencies can be loaded together using the prebuilt environment.yml file. Compatibility is automatically tested for python versions 3.8 and higher. If you are only going to be using the package run:
conda env create -f environment.yml
conda activate ml # Alternatively you may need source activate ml
python -m pip install -e .
All of the functionality of molecuLearn has been organized into a command-line interface (CLI). With one additional step, the CLI can be called from anywhere. We just have to setup a shortcut command in your BASHRC. Add the following line to your BASHRC:
alias ml='python /path/to/the/molecuLearn/cli.py
.
|── cli.py # Command-line interface entry point
├── docs # Readthedocs documentation site
├── ml # Directory containing the quantumAllostery modules
│ ├── process # Processes raw dynamics data
│ ├── predict # Machine learning analysis
│ ├── manage # File management functionality and routines
│ ├── analyze # Data analysis to combine process and plot routines
│ └── plot # Automated plotting and vizualization
└── ...
make clean
make html
git status
git pull
git add -A .
git commit -m "Change a specific functionality"
git push -u origin main
git checkout main
git pull
# Before you begin making changes, create a new branch
git checkout -b new-feature-branch
git add -A
git commit -m "Detailed commit message describing the changes"
git push -u origin new-feature-branch
# Visit github.com to add description, submit, merge the pull request, and delete the remote branch
# Once finished on github.com, return to local
git checkout main
git pull
git branch -d new-feature-branch
git stash push --include-untracked
git stash drop
git pull
Copyright (c) 2023, David W. Kastner
Project based on the Computational Molecular Science Python Cookiecutter version 1.1.