Skip to main content

A molecule reading/writing and manipulation package.

Project description

MoleculeKit

Conda

A molecule manipulation library

Getting started

Installing moleculekit

With pip

pip install moleculekit

With conda

Installation Instructions

Using moleculekit in ipython

Install ipython in the correct conda enviroment using the following command.

pip install ipython

Now you can start an ipython console with

ipython

In the ipython console you can now import any of the modules of moleculekit and use it as normal.

from moleculekit.molecule import Molecule

mol = Molecule('3ptb')
mol.view()

API

For the official documentation of the moleculekit API head over to https://software.acellera.com/moleculekit/index.html

Issues

For any bugs or questions on usage feel free to use the issue tracker of this github repo.

Dev

If you are using moleculekit without installing it by using the PYTHONPATH env var you will need to compile the C++ extensions in-place with the following command:

python setup.py build_ext --inplace

Building for WebAssembly

Install emscripten https://emscripten.org/docs/getting_started/downloads.html

conda create -n pyodide-build
conda activate pyodide-build
conda install python=3.11
pip install pyodide-build==0.25.1

# Activate the emscripten environment
cd ../emsdk
./emsdk install 3.1.46
./emsdk activate 3.1.46
source emsdk_env.sh
cd -

# Build the package
export PYO3_CROSS_INCLUDE_DIR="HACK"
export PYO3_CROSS_LIB_DIR="HACK"
rm -rf .pyodide-xbuildenv
pyodide build -o dist_pyodide
cp dist_pyodide/*.whl test_wasm/wheels/
cd test_wasm
python3 -m http.server

If you get an error at building about numpy missing, check this issue https://github.com/pyodide/pyodide/issues/4347

Debugging segmentation faults in Cython part

  1. Put a reproducible script in a file like segfault.py
  2. Modify setup.py to have -g as compile flag instead of -O3
  3. Recompile extensions with python setup.py build_ext --inplace
  4. Execute script with gdb like gdb --args python segfault.py
  5. Execute run and then bt 10 to show the backtrace
  6. Have fun

Citing MoleculeKit

If you use this software in your publication please cite:

Stefan Doerr, Matthew J. Harvey, Frank Noé, and Gianni De Fabritiis. HTMD: High-throughput molecular dynamics for molecular discovery. Journal of Chemical Theory and Computation, 2016, 12 (4), pp 1845–1852. doi:10.1021/acs.jctc.6b00049

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

moleculekit-1.14.4-cp313-cp313-win_amd64.whl (6.9 MB view details)

Uploaded CPython 3.13Windows x86-64

moleculekit-1.14.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (17.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

moleculekit-1.14.4-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (16.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

moleculekit-1.14.4-cp313-cp313-macosx_11_0_arm64.whl (7.0 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

moleculekit-1.14.4-cp312-cp312-win_amd64.whl (6.9 MB view details)

Uploaded CPython 3.12Windows x86-64

moleculekit-1.14.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (17.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

moleculekit-1.14.4-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (16.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

moleculekit-1.14.4-cp312-cp312-macosx_11_0_arm64.whl (7.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

moleculekit-1.14.4-cp311-cp311-win_amd64.whl (7.0 MB view details)

Uploaded CPython 3.11Windows x86-64

moleculekit-1.14.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (17.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

moleculekit-1.14.4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (17.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

moleculekit-1.14.4-cp311-cp311-macosx_11_0_arm64.whl (7.0 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

moleculekit-1.14.4-cp310-cp310-win_amd64.whl (6.9 MB view details)

Uploaded CPython 3.10Windows x86-64

moleculekit-1.14.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (16.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

moleculekit-1.14.4-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (16.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

moleculekit-1.14.4-cp310-cp310-macosx_11_0_arm64.whl (7.0 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file moleculekit-1.14.4-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for moleculekit-1.14.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6d2ba0ca639751eec538085680ec564d51baada06c3d6995415a45540a1b06dc
MD5 fd1f48da94b5905e0b4be98963493eb7
BLAKE2b-256 56c1839a2917225f382a1be465521f580feba19613517a23e029703f455ae9bb

See more details on using hashes here.

File details

Details for the file moleculekit-1.14.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for moleculekit-1.14.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0b4cc726a0a941b759767c77004c9f28ed9513003e4cded94dd47e482c271870
MD5 06b5a8d321f29036e7cbd90a7ac1aa0c
BLAKE2b-256 80c2713e3c87c30d3cc20a0bb08cd41f9a6b8fa1c61976c0b7cb80533b550b4e

See more details on using hashes here.

File details

Details for the file moleculekit-1.14.4-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for moleculekit-1.14.4-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bab5d9d0aadb9a4ce961f45672716b5d66625306c1fe15a4c3b2fe4de9afffaa
MD5 934441c59025f91b21880cba60d5f2ee
BLAKE2b-256 69671fea04f25cb397c32998d3d894546f6428c3dd3bd3860b79817fe8b76a51

See more details on using hashes here.

File details

Details for the file moleculekit-1.14.4-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for moleculekit-1.14.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f7ae4ca192c664cf73eed971d63fb7343be1d5176d86c7e01e1142a8bc64308a
MD5 cad3dca8e55ffd55c02acc8237d71c0f
BLAKE2b-256 38efffb2634de2a86c20cc0921bd9e1c689fbf13f4403f041d12d1b24ec29570

See more details on using hashes here.

File details

Details for the file moleculekit-1.14.4-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for moleculekit-1.14.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c89ec9a7291cfb7ad59f47544e8a8819f23e61c06cc8ef0191f3450972f24bd5
MD5 2c01f9e4f7d632ac8266ed53a3f6e9c8
BLAKE2b-256 efc49fe529aaba079f6f14c926eefa3967d640d35220581af52e6e3659c2b38c

See more details on using hashes here.

File details

Details for the file moleculekit-1.14.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for moleculekit-1.14.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 34a3af0c0c8f90c1f903b62a1b6b2f6a82911b987992d8cd010f9154759d82be
MD5 916f6ba3d561646e1009927179e9a603
BLAKE2b-256 e33dce324de8acf6d199f56fb04cf039c30bb1dc4e29d0dec7ad96edb123635c

See more details on using hashes here.

File details

Details for the file moleculekit-1.14.4-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for moleculekit-1.14.4-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dc5af30dc29b202ef376a35e1293d1a11e85d454f5bbed147035dc5be2085662
MD5 21e6eab0c5bf83e8c8afb88c9182f8f2
BLAKE2b-256 d942fb2061d29ffff9d57a45924df8748d2092c019697194f71fb45a21a782d4

See more details on using hashes here.

File details

Details for the file moleculekit-1.14.4-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for moleculekit-1.14.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 930ea4f83799c0af095fe32d3854df43cb7a03a169b0eb6d20c78ee3ac73a262
MD5 03d8ac2f8afc2aeed675d67adce81c1c
BLAKE2b-256 b0453ebc8d4a27c028bfef43dcd62c00c6c557cd5cda09507fee22fc41408dbf

See more details on using hashes here.

File details

Details for the file moleculekit-1.14.4-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for moleculekit-1.14.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 881981000ed1a1a38af897c5b2dd63e308a4274b4569522595280fb6c77a5da8
MD5 815e99be89ddfca4462b3b155b11ad56
BLAKE2b-256 b3f6f52186991b46de686741b757e7e06b0c980f95094f939d3dd661c8efa200

See more details on using hashes here.

File details

Details for the file moleculekit-1.14.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for moleculekit-1.14.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0ab9d512dbc6bf727bb89fc8d105972246686a4796488771ef5c3c0b63270730
MD5 faa96a264cdfb4b143a11f3f0944b382
BLAKE2b-256 1b9e0c13e134fbdd1a9b3ed228698705cd64cadcf50aae1ab4213f770d9c95cc

See more details on using hashes here.

File details

Details for the file moleculekit-1.14.4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for moleculekit-1.14.4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a4d0a253080ee9b347a0c25642158f474ef2353719ab9f90757dbd967008acd1
MD5 9c7ea79799c3ee80cd41e1e0b0cc9ada
BLAKE2b-256 020c42bfdf5a5f1f94d5868dc8b9957cc0a6e84cfb4002bfc51852aa5773ecab

See more details on using hashes here.

File details

Details for the file moleculekit-1.14.4-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for moleculekit-1.14.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 27175df0ddd2f2d7f4bb3a333ed7a3f0d8af3048d61cbd5582aac75edb6a34c6
MD5 634200bd4c0cf73f021f4041ec798afd
BLAKE2b-256 29d5a62689be3b8a08ccdfdf0b1046bdfdcd378c444e9d63a6c7a0c017dcf5c8

See more details on using hashes here.

File details

Details for the file moleculekit-1.14.4-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for moleculekit-1.14.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 71a1b2367934efd1ea61b5b7c0b133f01f6b6c8e136ea01ddac2eeb85f55f8c5
MD5 1f3e8646b9e21102b5b33169cac1ea7a
BLAKE2b-256 fe22afda5cad34c81500df85935ae93553d43626619b291d31a3468ac05391cc

See more details on using hashes here.

File details

Details for the file moleculekit-1.14.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for moleculekit-1.14.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 90f0cb4a37594d99c60b42af8c10a10194a72147f72f8a8fbd8916f5fbd27ce4
MD5 ff5cadfc8955237dfb2c5e02b06ac2dc
BLAKE2b-256 db4024a1461f57b81b0b28cb431f80bbfe989cad316c27230eb2e73b75c0a3f9

See more details on using hashes here.

File details

Details for the file moleculekit-1.14.4-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for moleculekit-1.14.4-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 91a9e4a78a447827d621c0c50b22b655c339ca23cde4c64e4525ae40d52adaec
MD5 c87604fe84154684d29fb6da86fa6a0f
BLAKE2b-256 206822dbfc531240a992ca0851c7af7dd9e982d664e7444741d1b10718adb3e1

See more details on using hashes here.

File details

Details for the file moleculekit-1.14.4-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for moleculekit-1.14.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 284ea814342916eab648c3270e69abe5fe43b567b0c4e2d1b92360438f3a2291
MD5 e6883b559b752f25cb487d062ef8292b
BLAKE2b-256 6fa12f6a6a78e20c9f2f923c3c55677c7fea36c7470255cd3b0382ba6959eb57

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