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.0.tar.gz (5.2 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.0-py3-none-win_amd64.whl (1.7 MB view details)

Uploaded Python 3Windows x86-64

processligand_py-1.0.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (3.9 MB view details)

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

processligand_py-1.0.0-py3-none-macosx_10_9_universal2.whl (4.0 MB view details)

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

File details

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

File metadata

  • Download URL: processligand_py-1.0.0.tar.gz
  • Upload date:
  • Size: 5.2 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.0.tar.gz
Algorithm Hash digest
SHA256 82978f658981a76805489b99e2209c66f2d0e664a37842a4405ab256b558a68c
MD5 d819f48d052422965cb05a32cee5b36d
BLAKE2b-256 58f33887da57844b8fd9788427756915526f203ba064719ebe8dac3b5199e3a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for processligand_py-1.0.0.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.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for processligand_py-1.0.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 da1164e4dbedebe92f488c86e0c76d6c79b78391320d92894a6466000fd80eb7
MD5 9d86f404f8bdb7a9a3d71eff513f0404
BLAKE2b-256 9ca199a68b487438f02904253e4164481e008368fbb994ea5594da24f94a1b27

See more details on using hashes here.

Provenance

The following attestation bundles were made for processligand_py-1.0.0-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.0-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.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 4739b6c80b4340e8a9931a31a958e9a74b6b76189a7f7521e7c0ee15d8bc7338
MD5 b5f8de029474a142e968b0813d457fbe
BLAKE2b-256 e78faf284989da2054c94f9c02b2ddd2cda5412040ecb2da2578a501bf263a23

See more details on using hashes here.

Provenance

The following attestation bundles were made for processligand_py-1.0.0-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.0-py3-none-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for processligand_py-1.0.0-py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 830bbf1ecf9fdd75f86dd8937bb8a7c377514650a89dd0a31a224429c885639b
MD5 9c015aa5b622f6f84369133fd4445609
BLAKE2b-256 fb0dbd1dc92747bbd3d3407a10cd43941c30014e185077fb89d8eaab22da31e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for processligand_py-1.0.0-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