Skip to main content

Generate van der Waals surface points from XYZ molecules

Project description

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 built on logic by Robert T. McGibbon's pyvdwsurface.

🔧 Features

  • Read atomic coordinates from .xyz files
  • Compute VDW surface points using Fibonacci sphere sampling
  • Set surface density (points per Ų)
  • Save results as:
    • .txt coordinate file
    • .xyz pseudo-atom file
    • .png 3D scatter plot
  • Command-line interface (CLI) with full control

🚀 Installation

pip install vdw-surfgen

🔨Usage

vsg molecule.xyz --scale 1 --density 2.0 --save_txt --save_xyz --save_img

soajagbe.

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

vdw_surfgen-0.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

vdw_surfgen-0.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file vdw_surfgen-0.2.tar.gz.

File metadata

  • Download URL: vdw_surfgen-0.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for vdw_surfgen-0.2.tar.gz
Algorithm Hash digest
SHA256 8dcc7878a6f8771cd517274bcb2fb30c00aa5e1c1b98eb25032539dddfa5b90c
MD5 482c4d8bbb00df07be023d92c9917e47
BLAKE2b-256 5cc7358746b61f90c6d273c2dea9f6c91a8e3ebd8c918996f9605615a24e6a08

See more details on using hashes here.

File details

Details for the file vdw_surfgen-0.2-py3-none-any.whl.

File metadata

  • Download URL: vdw_surfgen-0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for vdw_surfgen-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fed651b3cdd93cb4859cd568cb2f0949bbc7eb129842fd1ec604f2e54a0842a8
MD5 30e970e38a389abaeda124467d6392e9
BLAKE2b-256 f6640f75228063c42a3f162bd6ba65503f2af8ec4052f5acc43b80b4ac5e582c

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