Skip to main content

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

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.16.14-cp311-abi3-win_amd64.whl (5.2 MB view details)

Uploaded CPython 3.11+Windows x86-64

moleculekit-1.16.14-cp311-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (5.5 MB view details)

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

moleculekit-1.16.14-cp311-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (5.4 MB view details)

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

moleculekit-1.16.14-cp311-abi3-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

File details

Details for the file moleculekit-1.16.14-cp311-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for moleculekit-1.16.14-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0622c6fe36981c299ba91b0c9bda4423c9277edc1c738f1f13b2c67f0ae0cb33
MD5 61fc4e33d2d12965592b4efff8d6dd3c
BLAKE2b-256 76acd934a20031bd352062420bc8d2399a191b2a294e3d3df43df473f39e8c65

See more details on using hashes here.

File details

Details for the file moleculekit-1.16.14-cp311-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for moleculekit-1.16.14-cp311-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6dd8a976fbcbd3bfc81f0a0aa6de59ea65f2be97219b60d85503be7999db05b5
MD5 291d40788f6a95508c6d75d756f6f229
BLAKE2b-256 f3662dbe5d5732687014ea2238588a25114b3980e1ac624856c13b33119b4273

See more details on using hashes here.

File details

Details for the file moleculekit-1.16.14-cp311-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for moleculekit-1.16.14-cp311-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 acf03be59e6b8349609487c637441d80f1a3e58c6197f42df89df571627c9595
MD5 ffd0f85c2ef98db01b88f435404b3ee3
BLAKE2b-256 ec0b6d06af51a317e3151b9487619e208075b22bab00d0e6235818277c978e5b

See more details on using hashes here.

File details

Details for the file moleculekit-1.16.14-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for moleculekit-1.16.14-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6d9b669c1f4fed9254ec558ff17228b660b29248ca034f7259ba1cb6d710ec67
MD5 2246a03e7efad3e0abfbd87404d5a898
BLAKE2b-256 395e92a270e63dc98c0d4c58c775bc282f1ed6f5fac75e1b04e41d24a59d3e42

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.16.14 This release

4 files

1.16.13

4 files

1.16.12

4 files

1.15.11

16 files

1.14.10

16 files

1.13.6

16 files

1.12.2

16 files

1.11.15

16 files

1.11.8

16 files

1.11.6

16 files

1.11.5

16 files

1.11.1

20 files

1.11.0

20 files

1.10.12

20 files

1.10.10

25 files

1.10.9

25 files

1.10.8

25 files

1.10.7

25 files

1.10.6

25 files

1.10.5

25 files

1.10.4

25 files

1.10.3

25 files

1.10.2

25 files

1.9.37

25 files

1.9.36

25 files

1.9.35

25 files

1.9.34

25 files

1.9.33

25 files

1.9.32

25 files

1.9.31

1 file

1.9.30

1 file

1.9.29

1 file

1.9.28

1 file

1.9.27

1 file

1.9.26

1 file

1.9.24

1 file

1.9.22

1 file

1.9.21

1 file

1.9.19

1 file

1.9.18

1 file

1.9.16

1 file

1.9.15

1 file

1.9.14

1 file

1.9.12

1 file

1.9.11

1 file

1.9.10

1 file

1.9.9

1 file

1.9.5

1 file

1.9.4

1 file

1.9.3

1 file

1.9.2

1 file

1.9.1

1 file

1.9.0

1 file

1.8.36

1 file

1.8.35

1 file

1.8.34

1 file

1.8.33

1 file

1.8.32

1 file

1.8.31

1 file

1.8.29

1 file

1.8.28

1 file

1.8.27

1 file

1.8.26

1 file

1.8.24

1 file

1.8.23

1 file

1.8.22

1 file

1.8.21

1 file

1.8.20

1 file

1.8.19

1 file

1.8.18

1 file

1.8.17

1 file

1.8.15

1 file

1.8.14

1 file

1.8.13

1 file

1.8.10

1 file

1.8.7

1 file

1.8.6

1 file

1.8.5

1 file

1.8.4

1 file

1.8.3

1 file

1.8.2

1 file

1.8.1

1 file

1.7.17

1 file

1.7.16

1 file

1.7.15

1 file

1.7.14

1 file

1.7.13

1 file

1.7.12

1 file

1.7.10

1 file

1.7.9

1 file

1.7.8

1 file

1.7.7

1 file

1.7.6

1 file

1.7.4

1 file

1.7.3

1 file

1.7.2

1 file

1.7.1

1 file

1.7.0

1 file

1.6.9

1 file

1.6.8

1 file

1.6.7

1 file

1.6.6

1 file

1.6.5

1 file

1.6.4

1 file

1.6.1

1 file

1.6.0

1 file

1.5.8

1 file

1.5.7

1 file

1.5.6

1 file

1.5.5

1 file

1.5.4

1 file

1.5.3

1 file

1.5.2

1 file

1.5.1

1 file

1.5.0

1 file

1.4.9

1 file

1.4.8

1 file

1.4.7

1 file

1.4.6

1 file

1.4.5

1 file

1.4.3

1 file

1.4.2

1 file

1.4.1

1 file

1.4.0

1 file

1.3.9

1 file

1.3.8

1 file

1.3.7

1 file

1.3.5

1 file

1.3.4

1 file

1.3.3

1 file

1.3.1

1 file

1.3.0

1 file

1.2.9

1 file

1.2.8

1 file

1.2.7

1 file

1.2.5

1 file

1.2.4

1 file

1.2.2

1 file

1.2.1

1 file

1.2.0

1 file

1.1.9

1 file

1.1.8

1 file

1.1.7

1 file

1.1.6

1 file

1.1.4

1 file

1.1.2

1 file

1.1.1

1 file

1.1.0

1 file

1.0.9

1 file

1.0.8

1 file

1.0.7

1 file

1.0.6

1 file

1.0.5

1 file

1.0.4

1 file

1.0.3

1 file

1.0.2

1 file

1.0.1

1 file

1.0.0

1 file

0.10.0

1 file

0.9.15

1 file

0.9.14

1 file

0.9.13

1 file

0.9.12

1 file

0.9.9

1 file

0.9.8

1 file

0.9.7

1 file

0.9.6

1 file

0.9.5

1 file

0.9.4

1 file

0.9.3

1 file

0.9.2

1 file

0.9.1

1 file

0.9.0

1 file

0.8.9

1 file

0.8.6

1 file

0.8.5

1 file

0.8.3

1 file

0.8.2

1 file

0.8.1

1 file

0.8.0

1 file

0.7.9

1 file

0.7.8

1 file

0.7.7

1 file

0.7.6

1 file

0.7.5

1 file

0.7.4

1 file

0.7.3

1 file

0.7.2

1 file

0.7.1

1 file

0.7.0

1 file

0.6.8

1 file

0.6.7

1 file

0.6.5

1 file

0.6.4

1 file

0.6.3

1 file

0.6.1

1 file

0.6.0

1 file

0.5.9

1 file

0.5.8

1 file

0.5.7

1 file

0.5.6

1 file

0.5.5

1 file

0.5.4

2 files

0.5.3

2 files

0.5.2

2 files

0.4.8

2 files

0.4.7

2 files

0.4.6

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.0

2 files

0.3.9

2 files

0.3.8

2 files

0.3.7

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.32

2 files

0.1.31

2 files

0.1.30

2 files

0.1.29

2 files

0.1.27

2 files

0.1.26

2 files

0.1.24

2 files

0.1.23

2 files

0.1.22

2 files

0.1.21

2 files

0.1.19

2 files

0.1.17

2 files

0.1.16

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page