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.7.0.tar.gz
(10.9 kB
view hashes)
Built Distributions
Close
Hashes for qdx_py-0.7.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9e73ba4f10293cf043c6b6010056bf5cb2d8dc057702a7dc8a9ed374e4af814 |
|
MD5 | 2f99b3e36a79d49f96390ce8a80ee045 |
|
BLAKE2b-256 | 8bf143fd8d8828e80c6e45c27c3def20b8608fd55fa489ffd88b5965e1df4ab8 |
Close
Hashes for qdx_py-0.7.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53fa36935e9da48ee74daaf868d092672df96b43aacb07487d798f7056122b63 |
|
MD5 | 50c870b918af386c91d32f9280e55a81 |
|
BLAKE2b-256 | c73209727dd408a83b3cb2c6ac6fb8e644af2cc579d199cb7b78b979f73958cc |
Close
Hashes for qdx_py-0.7.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70f624e0a8905274f12d5047545f47e3933b1b3b296967f48ab74f159e5d3fce |
|
MD5 | 292ee7a7e37a9118e173bebf94c22bcb |
|
BLAKE2b-256 | ab276b5bc6530191bf57afafe985ea16b2798d3f0d6edb387638deef0fcfd7df |
Close
Hashes for qdx_py-0.7.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a62fa9bc9e771fe1ad8d10d32df94f50bf4505763800bbb8e9ac8157dbad885 |
|
MD5 | e35cd0c7b2105e01a661bad3293be85e |
|
BLAKE2b-256 | 09ea56beef281c2f6f45f9cadb4147c1c0f339470e34a9d331dc1d6edc95394a |