Skip to main content

General purpose simulation builder for protein condenstate systems compatible with most of popular coarse-grained and all-atom forcefields

Project description

CondenSimAdapter

CondenSimAdapter is an automated workflow for protein condensate simulations, covering the main stages from coarse-grained (CG) to all-atom (AA).

Installation

Quick Start

# 1. Create a conda environment
conda create -n conden python=3.11 -y
conda activate conden

# 2. Install from PyPI
pip install CondenSimAdapter

# 3. Verify installation
adapter --version

Standard Installation

pip install CondenSimAdapter

This installs everything including:

  • Core simulation tools (OpenMM, MDAnalysis, mdtraj)
  • Neural network backmapping (PyTorch, DGL, e3nn)

Requirements: CUDA-capable GPU with CUDA >= 12.1

Development Installation

If you want to modify the source code:

git clone https://github.com/hanlab-computChem/CondenSimAdapter.git
cd CondenSimAdapter
pip install -e ".[dev]"

Testing

# Run tests
pytest tests/

# Run with coverage
pytest tests/ --cov=CondenSimAdapter

Usage

Command Line Interface

# Show help
adapter --help

# Run backmapping
adapter backmap -c cg_structure.pdb -o aa_structure.pdb

# Check model status
adapter models status

Python API

from CondenSimAdapter import backmap

# Backmap CG structure to AA
backmap.convert("cg_input.pdb", "aa_output.pdb")

Requirements

  • Python >= 3.10, < 3.12 (3.11 recommended)
  • CUDA >= 12.1 for cg2all backmapping
  • GROMACS >= 2023 (install separately)

Links

License

GPL-3.0

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

condensimadapter-1.0.2.2b0.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

condensimadapter-1.0.2.2b0-py3-none-any.whl (2.7 MB view details)

Uploaded Python 3

File details

Details for the file condensimadapter-1.0.2.2b0.tar.gz.

File metadata

  • Download URL: condensimadapter-1.0.2.2b0.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for condensimadapter-1.0.2.2b0.tar.gz
Algorithm Hash digest
SHA256 ea84798872960801bb854b166c4f07862e76debb830e44d73333e6993b0ff88f
MD5 94258535e9ee377aa3b9e31f49c577f8
BLAKE2b-256 96a6764b30881dc7d3adf989caf68f603e767cef3e5297816b394b798c07d76b

See more details on using hashes here.

File details

Details for the file condensimadapter-1.0.2.2b0-py3-none-any.whl.

File metadata

File hashes

Hashes for condensimadapter-1.0.2.2b0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a2d70e1fb9658bd80e703f053b7de1fdfea9eb4f54be989ece4bffdf565542d
MD5 41f0870c2d3beb0decc0eaa37032b0e2
BLAKE2b-256 25e83e085853b034e8f64ff0e3c2f59ee057c12734d487caa2e95c642fa3cd3e

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