PyCAST: Pocket detection and validation in proteins
Project description
pycasta
A Python package for the detection and analysis of protein cavities.
Installation
To set up the dependencies for pycasta, you can use either pip (with requirements.txt) or conda (with environment.yml).
Using pip
Make sure you are in the root directory of the repository (where requirements.txt is located), then run:
pip install -r requirements.txt
Using conda (recommended for scientific workflows)
Make sure you are in the root directory of the repository (where environment.yml is located), then run:
conda env create -f environment.yml
conda activate pycasta-env
Note:
Some dependencies such asfreesasaandpymol2may require additional system libraries or specific installation steps, especially on Windows.
If you encounter installation issues, please consult the official documentation of those packages.
Quick Start
After installing the dependencies, you can run the included example analysis with:
cd src
python run_analysis.py
This will execute a demo analysis with the default settings.
Check the output and log messages for results or any errors.
Example Data
A small example dataset is included in the data/ directory for testing and demonstration purposes.
The data/ folder contains three subdirectories:
bounded/– for analysis of molecules in the bound state (paired analysis)unbounded/– for analysis of molecules in the unbound state (paired analysis)tables/– contains Excel files that map the correspondence between each bound and unbound molecule for paired analyses
Paired Analysis
If you want to perform a paired analysis (comparing bound and unbound forms),
you must provide an Excel file (for example: mapping.xlsx) inside the tables/ directory.
This file should specify the correspondence between each bound and unbound molecule.
The Excel file should contain at least two columns:
| bound_molecule | unbound_molecule |
|---|---|
| 1abc_bound.pdb | 1abc_unbound.pdb |
| 2xyz_bound.pdb | 2xyz_unbound.pdb |
| ... | ... |
Place the mapping file inside the
tables/directory.
Single Analysis
For a single-molecule analysis (not paired), simply use a structure where the heteroatom is already present.
You can place such files directly in the appropriate folder.
Feel free to use or modify the example data to test different types of analyses.
For larger or custom datasets, please follow the same folder structure and file naming conventions.
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
Built Distribution
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 pycasta-1.0.8.tar.gz.
File metadata
- Download URL: pycasta-1.0.8.tar.gz
- Upload date:
- Size: 42.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d695be0e6c8e2d4eb0f3db35cca7e0c76fbc094e428ab955ad20d07214a82b2
|
|
| MD5 |
ff756a7f2c3efd6bc8586e7c0b335d36
|
|
| BLAKE2b-256 |
9d4e58ad0dcd13a020ba1b432dbd91bf6767f4c6f0b8db525046b560d485cab6
|
Provenance
The following attestation bundles were made for pycasta-1.0.8.tar.gz:
Publisher:
publish.yml on giorgioluciano/pycasta
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pycasta-1.0.8.tar.gz -
Subject digest:
2d695be0e6c8e2d4eb0f3db35cca7e0c76fbc094e428ab955ad20d07214a82b2 - Sigstore transparency entry: 273523288
- Sigstore integration time:
-
Permalink:
giorgioluciano/pycasta@8e2faa9070f21e1614ff57669d1a8b3e63f51941 -
Branch / Tag:
refs/tags/v2.0 - Owner: https://github.com/giorgioluciano
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8e2faa9070f21e1614ff57669d1a8b3e63f51941 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pycasta-1.0.8-py3-none-any.whl.
File metadata
- Download URL: pycasta-1.0.8-py3-none-any.whl
- Upload date:
- Size: 42.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
486feb6848b7a0949ad114aa675b7ec1c4186c3be06a0ea2665c56ffbaf5d487
|
|
| MD5 |
428b287a214a9e535b19dae8ee52f0ec
|
|
| BLAKE2b-256 |
740ea9a0ea8bdc1589938dac0a57b0726c4e5ec10b77df48d6760ac94ac5becf
|
Provenance
The following attestation bundles were made for pycasta-1.0.8-py3-none-any.whl:
Publisher:
publish.yml on giorgioluciano/pycasta
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pycasta-1.0.8-py3-none-any.whl -
Subject digest:
486feb6848b7a0949ad114aa675b7ec1c4186c3be06a0ea2665c56ffbaf5d487 - Sigstore transparency entry: 273523290
- Sigstore integration time:
-
Permalink:
giorgioluciano/pycasta@8e2faa9070f21e1614ff57669d1a8b3e63f51941 -
Branch / Tag:
refs/tags/v2.0 - Owner: https://github.com/giorgioluciano
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8e2faa9070f21e1614ff57669d1a8b3e63f51941 -
Trigger Event:
release
-
Statement type: