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
conformer_to_sdf(conformer_contents)
drop_amino_acids(conformer_contents, amino_acids_to_drop)
Drops amino acids from a conformer json string
drop_residues(conformer_contents, residues_to_drop)
Drops residues from a conformer json string
formal_charge(conformer_contents, missing_atom_strictness)
Charges standard amino acids given a conformer json string,
fragment(conformer_contents, missing_atom_strictness, backbone_steps, terminal_fragment_sidechain_size=None)
Fragments a conformer, updating the fragment formal charges based on existing atom charges
fragment_by_label(conformer_contents, missing_atom_strictness)
Fragments a conformer by atom labels, updating the fragment formal charges based on existing atom charges
fragment_legacy(conformer_contents, bond_length_tolerance, backbone_steps, terminal_fragment_sidechain_size=None)
Fragments a conformer, using distance based bond inference instead of pattern based bond inference
pdb_to_conformer(pdb_contents, keep_residues=None, skip_residues=None)
Converts a pdb string into an array of qdx conformers as a json string
sdf_to_conformer(sdf_contents)
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.11.0.tar.gz
(13.3 kB
view details)
Built Distributions
File details
Details for the file qdx_py-0.11.0.tar.gz
.
File metadata
- Download URL: qdx_py-0.11.0.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3598ade3c5774d24d04a15081001d537e99b82a06cbde7c99ca23603e44493b6 |
|
MD5 | 86873e604e1bdd563a650b187b1f847e |
|
BLAKE2b-256 | beb8c0a2eec71b2a4adc93beb7e4e9a9d1b6e58df0856d96162cb8a945cb7576 |
File details
Details for the file qdx_py-0.11.0-cp312-cp312-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: qdx_py-0.11.0-cp312-cp312-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 667.5 kB
- Tags: CPython 3.12, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 540668e20e0fb88fc12429174fbf02dd22b5684f3241cfb8fb68ac9c3fc0cbe9 |
|
MD5 | 804b59165b999126e2f118fe11632f26 |
|
BLAKE2b-256 | b1100f3ad71ba247d74fbf61049a73fcf280399834400a350e0426ddedc79805 |
File details
Details for the file qdx_py-0.11.0-cp311-cp311-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: qdx_py-0.11.0-cp311-cp311-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 668.3 kB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ad0693976e6e7cd28088184bd5728d01604a080ad4c392288bd7ffede401f66 |
|
MD5 | ebe02371e64a959c6cc6bf2c5c92caf3 |
|
BLAKE2b-256 | 48c433c826fa207e8792d38e0c6580df482023d9621fa1d85498ed3a68495afa |
File details
Details for the file qdx_py-0.11.0-cp310-cp310-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: qdx_py-0.11.0-cp310-cp310-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 668.4 kB
- Tags: CPython 3.10, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03b42f8b3981e21db7540adbb9fefeda549ed21a0272780d44322a6775ae862f |
|
MD5 | 073f9bc5a2fae30a7e7ad9b103e1049f |
|
BLAKE2b-256 | d015ac230c3eb614f197d7749443a83b2b975d5e4342c8a3222c9ad61d71f5be |
File details
Details for the file qdx_py-0.11.0-cp39-cp39-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: qdx_py-0.11.0-cp39-cp39-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 668.5 kB
- Tags: CPython 3.9, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39ee3c1b1a4acd6bc730e0320cf34b51ac9cdd5db7f6920db926a44a969e9bd6 |
|
MD5 | b5ece9202a1074f9f00b601e1002f5bf |
|
BLAKE2b-256 | 545a76743134f4560177e888931b5362fc2ff22f9fcfbaa87766aaef8509c4ad |