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

Uploaded CPython 3.11+Windows x86-64

moleculekit-1.16.13-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.13-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.13-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.13-cp311-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for moleculekit-1.16.13-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 820a3ba547285585aa14b6066d095b094f7bc0cd7a88ddc7ba6be41c4235f00f
MD5 d4a6633256a743182899e2718641c79a
BLAKE2b-256 9b982286a76561cf40e22b7377e2e6f75159cac6a07d59c845522c838c1be7dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.16.13-cp311-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 471eb8b15c289454880085f2a12995295a0d1ac65e1188bbfd85ac7cacccc122
MD5 3a7e838451ae2e65dde347cfd341ee84
BLAKE2b-256 351575b2c842c7e589a6e096938198414f6320cc6cc620cbcf53bacbcf15a033

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.16.13-cp311-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d3ac8116dd979bfafff17babd5110f93328569959792fc1a7b5f2518cacc1cd4
MD5 36846afd5bd9cd08f00851063d09c58e
BLAKE2b-256 69951a1a770ecba6892a267e54001bec7ac3fe45ae5c29782bb5bc67b3e78c9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moleculekit-1.16.13-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b438bff7f360d3bea135dc922e8023a4dd8cb8f7a0a1637ecf72663bd9ee7164
MD5 fb84fab225baa5222da523324ef357fd
BLAKE2b-256 62a4e989ab777931b3cb5868960a1a21bd42afe56d51e42bff04832047879657

See more details on using hashes here.

Release history Release notifications | RSS feed

1.16.14

4 files

This release

1.16.13 This release

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