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
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 |
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file processligand_py-1.0.2.tar.gz.
File metadata
- Download URL: processligand_py-1.0.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01a2e387db646440b70de45f1b325d58fbeb322675d52570c321ba4e31ec9b99
|
|
| MD5 |
ea6293a7b2f5d8068b92d0d3c9fda355
|
|
| BLAKE2b-256 |
30d504881ab412558c7bb7deaf7b1102bc3f9bc4409ae1bf76ee8a4fb1b58edf
|
Provenance
The following attestation bundles were made for processligand_py-1.0.2.tar.gz:
Publisher:
build.yaml on NRGlab/processligand-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
processligand_py-1.0.2.tar.gz -
Subject digest:
01a2e387db646440b70de45f1b325d58fbeb322675d52570c321ba4e31ec9b99 - Sigstore transparency entry: 363660995
- Sigstore integration time:
-
Permalink:
NRGlab/processligand-py@2a02bc37a5837c3d21751881c85afc4b36cb630b -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/NRGlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yaml@2a02bc37a5837c3d21751881c85afc4b36cb630b -
Trigger Event:
push
-
Statement type:
File details
Details for the file processligand_py-1.0.2-py3-none-win_amd64.whl.
File metadata
- Download URL: processligand_py-1.0.2-py3-none-win_amd64.whl
- Upload date:
- Size: 20.3 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6cd05e3c1a249fbca782a39a69f46494f3630cc3a876b020f0bb58cc4f75430
|
|
| MD5 |
8b4c242a206de99488391ef3cc937045
|
|
| BLAKE2b-256 |
7ac938f30ce237efec0f481184139d32c75a93ce0dd29ae83d14ee2807ca3016
|
Provenance
The following attestation bundles were made for processligand_py-1.0.2-py3-none-win_amd64.whl:
Publisher:
build.yaml on NRGlab/processligand-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
processligand_py-1.0.2-py3-none-win_amd64.whl -
Subject digest:
c6cd05e3c1a249fbca782a39a69f46494f3630cc3a876b020f0bb58cc4f75430 - Sigstore transparency entry: 363661017
- Sigstore integration time:
-
Permalink:
NRGlab/processligand-py@2a02bc37a5837c3d21751881c85afc4b36cb630b -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/NRGlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yaml@2a02bc37a5837c3d21751881c85afc4b36cb630b -
Trigger Event:
push
-
Statement type:
File details
Details for the file processligand_py-1.0.2-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.
File metadata
- Download URL: processligand_py-1.0.2-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
- Upload date:
- Size: 5.1 MB
- Tags: Python 3, manylinux: glibc 2.28+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b82d04fee81584314c825b9f9acee0b98ac8ba1b2958e830a529019684e5e9f
|
|
| MD5 |
c0ef0e5bd23442b7efdeb306288e65e6
|
|
| BLAKE2b-256 |
2df658701298449cfd38ea2752af79fa12c56351b13895be27db825ca3955e80
|
Provenance
The following attestation bundles were made for processligand_py-1.0.2-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl:
Publisher:
build.yaml on NRGlab/processligand-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
processligand_py-1.0.2-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl -
Subject digest:
9b82d04fee81584314c825b9f9acee0b98ac8ba1b2958e830a529019684e5e9f - Sigstore transparency entry: 363661049
- Sigstore integration time:
-
Permalink:
NRGlab/processligand-py@2a02bc37a5837c3d21751881c85afc4b36cb630b -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/NRGlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yaml@2a02bc37a5837c3d21751881c85afc4b36cb630b -
Trigger Event:
push
-
Statement type:
File details
Details for the file processligand_py-1.0.2-py3-none-macosx_10_9_universal2.whl.
File metadata
- Download URL: processligand_py-1.0.2-py3-none-macosx_10_9_universal2.whl
- Upload date:
- Size: 5.1 MB
- Tags: Python 3, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcf1695e85c323b7b41f1e8a049afd70a2c02e3eba51bb110ce0a325a056ac81
|
|
| MD5 |
8bf463031df2aea1f27aae401b029e33
|
|
| BLAKE2b-256 |
a1ad85ede31b96d469b296b0973f6e1dfef6034e14d3351a32ebfa697e0522d5
|
Provenance
The following attestation bundles were made for processligand_py-1.0.2-py3-none-macosx_10_9_universal2.whl:
Publisher:
build.yaml on NRGlab/processligand-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
processligand_py-1.0.2-py3-none-macosx_10_9_universal2.whl -
Subject digest:
bcf1695e85c323b7b41f1e8a049afd70a2c02e3eba51bb110ce0a325a056ac81 - Sigstore transparency entry: 363661070
- Sigstore integration time:
-
Permalink:
NRGlab/processligand-py@2a02bc37a5837c3d21751881c85afc4b36cb630b -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/NRGlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yaml@2a02bc37a5837c3d21751881c85afc4b36cb630b -
Trigger Event:
push
-
Statement type: