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

# For a ligand
result_ligand = run_processligand(file_path='path/to/target_or_ligand')

# For a target:
# result_target = run_processligand(file_path='path/to/target_or_ligand', target=True)

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

# Expanding the result:
output = result_ligand.stdout
error = result_ligand.stderr
returncode = result_ligand.returncode
file_path_dict = result_ligand.file_path_dict

Arguments

Required Argument

Arg Description
file_path 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
d <BOOL> Deletes tmp files created when converting inout to mol2
pf <BOOL> Prints a line containing the filepath to every written file
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, returncode, and file_path_dict.

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.3.tar.gz (4.9 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.3-py3-none-win_amd64.whl (20.3 MB view details)

Uploaded Python 3Windows x86-64

processligand_py-1.0.3-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (5.1 MB view details)

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

processligand_py-1.0.3-py3-none-macosx_10_9_universal2.whl (5.1 MB view details)

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

File details

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

File metadata

  • Download URL: processligand_py-1.0.3.tar.gz
  • Upload date:
  • Size: 4.9 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.3.tar.gz
Algorithm Hash digest
SHA256 60e5ce57794c6daba1f23b4828e173d1e4d76bd209989c4ad2ac25a7077cb09b
MD5 8b0a1a676b757800e1a1f39dda5ea06b
BLAKE2b-256 3de9487f7777d82a3183c7ecfc69bc70134c6a32ee988187d146e659015b244e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for processligand_py-1.0.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f63fd5282e880964136ca67af84a73998da20e96df9d345698fcb3da11364254
MD5 fe7dd27558c32dd346a9fe855ba16eb7
BLAKE2b-256 281bf12c9b0149e23824b7e783592527a3ec19e77f1b7a56fcd2ac44e1def95b

See more details on using hashes here.

Provenance

The following attestation bundles were made for processligand_py-1.0.3-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.3-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.3-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 3e460a1c456e2f1db26d1fef131bc166412005782e0b895e08803e668efe9d9f
MD5 faa5618b52613d06d713b5adb26b5755
BLAKE2b-256 3b7351f64d5696778ce4de8ac7f77249dfd1b6cc39f7be0677f1e1418ead23e7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for processligand_py-1.0.3-py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d9c3c55fb1372876b20ee2885fb416291259671635bfa38e0b7e6550296a7999
MD5 e7ac0bca92e1c792963b8383e2dc414b
BLAKE2b-256 49c9d7152570f1c1bdd0053fb8e9175f1bad45654606bf2e634c04ed36b7bd1a

See more details on using hashes here.

Provenance

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