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.11.9-cp313-cp313-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.13Windows x86-64

moleculekit-1.11.9-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (12.8 MB view details)

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

moleculekit-1.11.9-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (12.6 MB view details)

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

moleculekit-1.11.9-cp313-cp313-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

moleculekit-1.11.9-cp312-cp312-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.12Windows x86-64

moleculekit-1.11.9-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (12.8 MB view details)

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

moleculekit-1.11.9-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (12.6 MB view details)

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

moleculekit-1.11.9-cp312-cp312-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

moleculekit-1.11.9-cp311-cp311-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.11Windows x86-64

moleculekit-1.11.9-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (12.8 MB view details)

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

moleculekit-1.11.9-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (12.7 MB view details)

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

moleculekit-1.11.9-cp311-cp311-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

moleculekit-1.11.9-cp310-cp310-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.10Windows x86-64

moleculekit-1.11.9-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (12.4 MB view details)

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

moleculekit-1.11.9-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (12.3 MB view details)

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

moleculekit-1.11.9-cp310-cp310-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for moleculekit-1.11.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ed9e0c0184b351475529f03bcd9b93aa2590874bbfc8c8722dcded4df7f6e869
MD5 e5f3ea7d2e45c99622610d629baf3092
BLAKE2b-256 27bedd73ce2f4ecd64fc09990b2f06fd76138a0b65b4e4e13e724a5995b3aa4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.11.9-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b3235719eb2c9f349fa1ccf95e907fc631f29f53940299cf9940aa9f8a0f44df
MD5 f3e3d97a0fa9ff6525ee17613b234268
BLAKE2b-256 6cc243c14bc465ebe86209bd40047a73bc773da2222cbd3a374f54c10c4774d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.11.9-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6e3cca008d2c00be306b81287acca4b2e6acab44a4a3dfcc4e9229020f1d6103
MD5 f53363ce46852fbd69af26544c64e33b
BLAKE2b-256 7e013cb5eddf3d1af5ecc50bdfe6204199c4c1669c826fbbee7f96a11954f0df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.11.9-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d4b3716b83cab167ee82b6d484525be48ce065c6dff6d37b71b5b6ee7f842c1a
MD5 4ea52ffba0a1cede89a72f1a710fead3
BLAKE2b-256 cf430b84b85abe28ed97a08a9eb58075c6f72fdb5c850b1ffe734701de38925c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.11.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ce8fd44eb05e1c2600f73437e0139ffdff7dc91cff0928fd9777a9ef9cafc42a
MD5 dcb74da423cf6e3cb59c9ce92f658228
BLAKE2b-256 25f44a43281d4f16b537653a7b47cbee04b5eef3654116057034eb43ef3a6bce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.11.9-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 58947a55e57a9f1a8a3e1963a0bef8b7d325d76ce8cb9a483ec1c02b78b0b919
MD5 dcdac8d2dfba17cd7bd2712e22ea201f
BLAKE2b-256 3d080710f75999bfe321137644b73461ee078aacc7413860c08ec2cb1b2db268

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.11.9-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3901411999faf32b11f16c6b4d061834fe46222359ff91b2011976b6d4d1eeb7
MD5 cf9f41d27e6cacc944481b634c87c1ec
BLAKE2b-256 9fb34f188dc57ea4845cd62040d390277ed7f3bbffb58a17854ee162662c435b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.11.9-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 61bbb61d36447329ba3d2d0c0b7424ea13ab221577ad4b87d09b02ecbd6b4450
MD5 f5d1ed59aa3b41a5547d14af6c3afb6a
BLAKE2b-256 31853a82cb9c27f7683d135ab84b9a5aff2a348468872dfa2c3f31772ca0ddad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.11.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2242a1148d3028a52c3ce51ed13f301a400a5452e22e6502b1a252f143f74ea1
MD5 11025cccf4923dd107024b7dd744a8a9
BLAKE2b-256 d232e887e06906b18c5427961a23b370cc4d575a448c6a2cd2dd09920c87cebe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.11.9-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6964c9fdadcbcf0ee8e5ff4c288a23e6fe91c399878c3f4409c6cadb3820e702
MD5 be4e0524631b1adc490f42bdff9bd2ab
BLAKE2b-256 61e48badc8749e7887e822c9a51e672b2c99a919d515e344195a8b9faa8343c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.11.9-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c941c346e633637cd0731b4e699fe69718bf524fad4813a1b556087a8c41820c
MD5 b2095138cb9f640d2d8fec9fd8650ebf
BLAKE2b-256 c2690aa068dad7c512d30d418ca29a365921b25476e5d26ff2bc52168e9b0af0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.11.9-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b1584fd5df7f8bb56b149649f6c6d97f6cea536bf7cf675a947b313e837a88f5
MD5 7724aca8321c0db9793d2e6a95bd699e
BLAKE2b-256 2074163a963d612bd6d662e22ac66a337938ada3d6289193b83226d93dfe9812

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.11.9-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 dd9ba2120b746ec65eeb332224894583e51af6d045a8378a0d55d16c95d56ba7
MD5 9dd8efdaf2851528d837e1518448798c
BLAKE2b-256 e4e67ecaab724f83ad4bba153c4460aced439b46d027ee6c92b465f31c1c64af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.11.9-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9c6b99664f98a4e169f83eaa7bc349553c471052c4d2dba961706d516d00706c
MD5 4eec7456a10108f2f1f3f2e4bf86328f
BLAKE2b-256 2f3014388ff15abba949094de09a233dfc0adb0a769ad69d510439dfb6b90201

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.11.9-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fa41b77e1d7da0779214fe52c02d66f50f5777eaf690372f564542c989107786
MD5 f28f4edd27a854a913c6be943663a2e0
BLAKE2b-256 56cdbf0cd0f3d37e1c52f86cc433b0c75af4321e7b08f7a7dca4dc8bb4a1c289

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.11.9-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 558e27e9270476039dd1140108bbf227e18cb205d7f6d2669bfc57bd078206d8
MD5 b54266097e22660bfe680d1e4964d789
BLAKE2b-256 68b89a71da1ec3df60da3c8dfabda3be35fe87f1b03c77392120b8a587905339

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