No project description provided
Project description
QDX-py
Python bindings to qdx-commons, built with maturin / py03.
NAME
qdx_py - QDX-Common utilities for python
PACKAGE CONTENTS
qdx_py
FUNCTIONS
concat(conformer_1_contents, conformer_2_contents)
Takes two conformer json strings and concatenates them
conformer_to_pdb(conformer_contents)
Returns the pdb string for a qdx conformer json string
formal_charge(conformer_contents, strictness)
Charges standard amino acids given a conformer json string,
fragment(conformer_contents, backbone_steps, terminal_fragment_sidechain_size=Ellipsis)
Fragments a conformer, updating the fragment formal charges based on existing atom charges
pdb_to_conformer(pdb_contents, keep_residues=Ellipsis, skip_residues=Ellipsis)
Converts a pdb string into an array of qdx conformers as a json string
Usage
import qdx_py
# get json string of conformer
conformer = qdx_py.pdb_to_conformer(open("../qdx-common/tests/data/6mj7.pdb").read())
# get pdb of conformer
pdb = qdx_py.conformer_to_pdb(conformer)
Developing
~ setup venv
maturin develop
python
~ import qdx_py
Publishing
export MATURIN_PYPI_TOKEN=[your token]
maturin publish --manylinux 2_28 --zig -f
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 Distribution
qdx_py-0.8.0.tar.gz
(11.5 kB
view hashes)
Built Distributions
Close
Hashes for qdx_py-0.8.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5c4267889e05f4455c08ac87605b93021d800d5a2f0fa99bc30330603df6038 |
|
MD5 | 2b9b563eacc24afafd75ac65bd4e7cc2 |
|
BLAKE2b-256 | 12cf4376f7437e43f41e84ca2daf6179edbc0e3e4f84e0d99c029b6eda65f6c7 |
Close
Hashes for qdx_py-0.8.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f442510cb9e8a032a33cd992f76648d9e845d8897c25a8e06b3fcbb6b9445cb |
|
MD5 | 9c9940c8ee15941539d707d14033da9a |
|
BLAKE2b-256 | d90153d35ee9479a40eed7a3b61bc7046b79fe45105fc346fece79b46fcb895c |
Close
Hashes for qdx_py-0.8.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db5df2583e3287bc4b0da88276a3953a0bb250a300125f35ec5d562398ce7ed9 |
|
MD5 | 8bfb790fcd00b290d6f8cd4c4dd3711f |
|
BLAKE2b-256 | 24b3b8dda0f317d37d8497891b9101775d6ed22a5c99b157d6b288bc4ed27537 |
Close
Hashes for qdx_py-0.8.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2824ba3d8384b6be7970211c0df40f02897ff66fc073bcd7530de4bfc8691b81 |
|
MD5 | 6d3a3be77d650b80cead806ddaf696e6 |
|
BLAKE2b-256 | 4b88e71d4441c0b65ab65da71c75f18f8075b882f4eaa6c8e3628ce1f2248a74 |
Close
Hashes for qdx_py-0.8.0-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8196f33d2f3ec092c4e8c8e38d670c237b6f14e3e98effc0214bdb8ad012c62e |
|
MD5 | e01e64a398f059d1ef59fa5aaaab83ab |
|
BLAKE2b-256 | 39cc26998d2b36098d6c19263c72662166c7daf03f374d57aeef79df087d8634 |