vdw-surfgen
vdw-surfgen is a Python CLI tool to generate points on the van der Waals (VDW) surface of a molecule using its XYZ geometry file.
Surface points are generated at a scaled VDW radius and can be used for visualization, machine learning, or molecular modeling.
It is inspired by Robert T. McGibbon's pyvdwsurface.
🔧 Features
- 🧬 Read atomic coordinates from
.xyzfiles - ⚛️ Compute VDW surface points using Fibonacci sphere sampling
- 🔬 Set surface density (points per Ų)
- 💾 Save results as:
.xyzpseudo-atom file (always saved).txtcoordinate file (optional).png3D scatter plot (optional)
- 🎨 Beautiful colored terminal output with progress bars
- ⚡ Command-line interface (CLI) with full control
🚀 Installation
pip install vdw-surfgen
🔨Usage
# Basic usage (XYZ file always saved)
vsg molecule.xyz
# With additional formats and custom parameters
vsg molecule.xyz --scale 1.2 --density 2.0 --txt --img
Options:
--scale: Scale factor for VDW radii (default: 1.0)--density: Point density per Ų (default: 1.0)--txt: Save as TXT coordinate file--img: Save 3D visualization as PNG
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vdw_surfgen-0.5.6.tar.gz
(6.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vdw_surfgen-0.5.6.tar.gz.
File metadata
- Download URL: vdw_surfgen-0.5.6.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f07682d91f2bd8ac39d02c4c8f4ed63e22cc0703430f8d156ecf766bdf06a518
|
|
| MD5 |
680ba5c68c8f0a8eaecebcbe73481ae3
|
|
| BLAKE2b-256 |
7deacf08ab563a6bbe45de7f48e73f36753a9d8e1a3f2a465c597d48c425c643
|
File details
Details for the file vdw_surfgen-0.5.6-py3-none-any.whl.
File metadata
- Download URL: vdw_surfgen-0.5.6-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fed686f698aa6a3331d44019a18582b51f0fedec22a833a07e27b0b13a9d455a
|
|
| MD5 |
8e89adaf8604e5899a92be1fbd35e294
|
|
| BLAKE2b-256 |
eeb0761b1ae061cfefec009913dde8220c9428c56e2f8aa2b1c168bba850dd3c
|