项目作者: davidkastner

项目描述 :
Python package for working with multiscale scale simulation data.
高级语言: Python
项目地址: git://github.com/davidkastner/pyQMMM.git
创建时间: 2021-04-16T21:12:54Z
项目社区:https://github.com/davidkastner/pyQMMM

开源协议:GNU General Public License v3.0

下载


Graphical Summary of README

CADDKit

GitHub Actions Build Status
Documentation Status

CADDKit Package

Table of Contents

  1. Overview
  2. Tutorials
    • quickCSA
  3. Installation
    • Download the package from GitHub
    • Creating a python environment
    • Developer install of CADDKit
    • Supporting installations
  4. What is included?
    • File structure
    • Command Line Interface
  5. Documentation
    • Update the ReadTheDocs
    • GitHub refresher

1. Overview

CADDKit is a package for accelerating insights gained from structure function relationship (SFR) with an emphasis on QM, MD, and QM/MM workflows.
The package contains useful tools for all stages of the computer-aided drug design workflow.
The functionality is built around the Amber-TeraChem interface.

2. Tutorials

To improve the usuability of the CADDKit package, this section will contain video-style tutorials.
You can also find additional information and README’s in the tutorials folder.

quickCSA

Video Tutorial

3. Installation

Install the package by running the follow commands inside the downloaded repository.
This will perform a developmental version install.
It is good practice to do this inside of a virtual environment.

Download the package from GitHub

  1. git clone git@github.com:davidkastner/CADDKit.git

Creating python environment

All the dependencies can be loaded together using the prebuilt environment.yml file.
Compatibility is automatically tested for python versions 3.8 and higher.
Installing all dependencies together has shown to produce more robust installations.

  1. cd CADDKit
  2. conda env create -f environment.yml
  3. conda activate caddkit
  4. source activate caddkit #Alternatively used on some clusters

Developer install of CADDKit

  1. cd caddkit
  2. python -m pip install -e .

Supporting installations

To have complete access to all CADDKit functionality, you should also install following dependencies.
This should be done inside you caddkit virtual environment.
CADDKit contains automated workflows for modelling in missing loops using Modeller.

  1. conda install -c salilab modeller

4. What’s included?

CADDKit is built as both a library and a collection of pre-built scripts.
The scripts aim to accelerate data processesing and automation of calculations.
If a script is not already included for procedure, many of the functions may be useful in building a procedure.

File structure

  1. .
  2. |── cli.py # Command-line interface entry point
  3. ├── docs # Readthedocs documentation site
  4. ├── caddkit # Directory containing CADDKit modules
  5. ├── md # Processes for setting MD optimizations prior to QM/MM
  6. └── qm # Processes for running and anlayzing QM cluster model jobs
  7. └── ...

Command Line Interface

The contents of the library are designed to be navigated through the commandline interface.
Add the following line to your bash.rc

  1. alias caddkit='python /the/path/to/CADDKit/cli.py'

5. Documentation

Accurate documentation will always be a high priority for the project.
You can find documentation at the project’s ReadtheDocs.

Update the ReadTheDocs

  1. make clean
  2. make html

GitHub refresher

Push new changes

  1. git status
  2. git pull
  3. git add -A
  4. git commit -m "Change a specific functionality"
  5. git push -u origin main

Making a pull request

  1. git checkout main
  2. git pull
  3. # Before you begin making changes, create a new branch
  4. git checkout -b new-feature-branch
  5. git add -A
  6. git commit -m "Detailed commit message describing the changes"
  7. git push -u origin new-feature-branch
  8. # Visit github.com to add description, submit, merge the pull request
  9. # Once finished on github.com, return to local
  10. git checkout main
  11. git pull
  12. # Delete the remote branch
  13. git branch -d new-feature-branch

Handle merge conflict

  1. git stash push --include-untracked
  2. git stash drop
  3. git pull

© 2025, David W. Kastner