Skip to main content

Python wheels and a wrapper for ProcessLigand, a tool to prepare target and ligand files for FlexAID

Project description

ProcessLigand as a Python Package

A Python package designed to prepare arguments and run ProcessLigand.


Example usage:

from processligandpy import run_processligand

result = run_processligand(f='path/to/target_or_ligand')

# Using arguments:
# result = run_processligand(f='path/to/target_or_ligand', target=True, atom_index=1)

# Optional:
output = result.stdout
error = result.stderr
returncode = result.returncode

Arguments

Required Argument

Arg Description
f Input file (not listed in the provided dictionary)

Optional Arguments

Flag Value Type Description
target <BOOL> Parse a target
v <INT> Verbose level
o <STR> Output base filename
e <STR> Residue to extract
c <STR> Convert molecule to specified format
atom_index <INT> Starting atom index
res_name <STR> 3-char ligand code
res_chain <CHAR> Ligand chain
res_number <INT> Ligand number
force_gpa <INT> Force reference atom
force_pcg <FLOAT FLOAT FLOAT> Force protein center of geometry
hf <BOOL> Include hydrogen flexible bonds
wh <BOOL> Add hydrogen atoms in output
ref <BOOL> Output final PDB from IC
gen3D <BOOL> Generate 3D conformation

Raises

Exception Description
FileNotFoundError If the required input file 'f' does not exist.
ProcessLigandError If the external process fails to execute.

Returns

Type Description
ProcessLigandResult A namedtuple containing stdout, stderr, and the returncode.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

processligand_py-1.0.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

processligand_py-1.0.1-py3-none-win_amd64.whl (20.7 MB view details)

Uploaded Python 3Windows x86-64

processligand_py-1.0.1-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (16.7 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

processligand_py-1.0.1-py3-none-macosx_10_9_universal2.whl (20.5 MB view details)

Uploaded Python 3macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file processligand_py-1.0.1.tar.gz.

File metadata

  • Download URL: processligand_py-1.0.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for processligand_py-1.0.1.tar.gz
Algorithm Hash digest
SHA256 dec9f34234ca22ae8cae1bf69f7d9bd093adfdb1bba1eab6208e727e0dd89c48
MD5 77881162ffbd6c1328395bcadeb8295e
BLAKE2b-256 af5f819aa44db414293ffb734d2509fc25411e7a46ded85985578dbd7df2da1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for processligand_py-1.0.1.tar.gz:

Publisher: build.yaml on NRGlab/processligand-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file processligand_py-1.0.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for processligand_py-1.0.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 baded5da05c5d3703976fdbdf1524a732fbdcbe856b8038c2d210a5249607d01
MD5 ab683559533ba508a3a44d3467a2adf2
BLAKE2b-256 15b1e6c3a600655ce5c9d187e2d25ad44bc46b27e76b1fe6fda4ecbfc014d8df

See more details on using hashes here.

Provenance

The following attestation bundles were made for processligand_py-1.0.1-py3-none-win_amd64.whl:

Publisher: build.yaml on NRGlab/processligand-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file processligand_py-1.0.1-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for processligand_py-1.0.1-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 a93f7905c9812a90c568eb5ef6f1db87330618ec76bf145a2b7b5c2e35562016
MD5 7689295e21a113a3a2a8a61c51b95027
BLAKE2b-256 24f2cd8cc8d1af97c102db8540efb89a50690fdb8376391b778b507ff6b15c02

See more details on using hashes here.

Provenance

The following attestation bundles were made for processligand_py-1.0.1-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl:

Publisher: build.yaml on NRGlab/processligand-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file processligand_py-1.0.1-py3-none-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for processligand_py-1.0.1-py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d4379acf82aca29cde88368951397307af016da20398162852bafe6586848d12
MD5 b3215a878be1d6ce7286c86468acd8ab
BLAKE2b-256 8b1cc05077c39b6ca3f4348d591f1713936678ccbd6a78198c4f64bb939b5e86

See more details on using hashes here.

Provenance

The following attestation bundles were made for processligand_py-1.0.1-py3-none-macosx_10_9_universal2.whl:

Publisher: build.yaml on NRGlab/processligand-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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