Skip to main content

3D molecular shape overlap

Project description

ROSHAMBO2

ROSHAMBO2 is a Python program for molecular shape overlay calculation. It uses the Gaussian description of molecular shape (Grant and Pickup 1995 https://doi.org/10.1021/j100011a016)

MIT License. Copyright (c) 2025

Install

This software is distributed in source code form. It can be build with pip inside an appropriate conda environment. Please follow the steps below.

  1. clone this repo or (extract from tar archive/zip folder).
git clone <repo>
  1. create a conda environment with the provided yaml file
cd roshambo2
conda env create -n roshambo2 -f environment.yaml
conda activate roshambo2
  1. install this package
pip install .

Documentation install

To build and view the documentation please go into the doc folder. You will then need to install the extra dependencies to your conda environment:

conda install  -c sphinx pydata-sphinx-theme myst-parser

You can then build the html docs with:

make html

And you can view them in your browser:

xdg-open build/html/index.html

Requirements

A CMake build system is used to compile the C++ and CUDA code. You will need to have a working C++ and nvcc compiler. Cmake will need to be able to find your CUDA installation.

Usage

See the examples folder: "examples/README.md"

And the user guide: "USER_GUIDE.md"

Developers

See the developer guide: "DEV_GUIDE.md"

Testing

Test can be run using pytest in the test folder. You will need to install pytest and pytorch.

cd test
pytest

Note that the PyTorch is used in the testing framework. (Autograd can compute the overlap gradients which are compared with the hand-coded ones in the ROSHAMBO2 C++ and CUDA code.)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

roshambo2-1.0.0.tar.gz (64.8 kB view details)

Uploaded Source

File details

Details for the file roshambo2-1.0.0.tar.gz.

File metadata

  • Download URL: roshambo2-1.0.0.tar.gz
  • Upload date:
  • Size: 64.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for roshambo2-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c73fc647cd3d866e8578ac764e253834e3424cab6b542801daeef04760974340
MD5 2c9dfa3c6a3b2765a1e806709552899d
BLAKE2b-256 09568092105c8b8559bd415eb496f8bbcbe2229e390f75c6a56fd4b451c7f2a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page