Skip to main content

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 as freesasa and pymol2 may 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


Download files

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

Source Distribution

pycasta-1.0.8.tar.gz (42.2 kB view details)

Uploaded Source

Built Distribution

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

pycasta-1.0.8-py3-none-any.whl (42.8 kB view details)

Uploaded Python 3

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

Hashes for pycasta-1.0.8.tar.gz
Algorithm Hash digest
SHA256 2d695be0e6c8e2d4eb0f3db35cca7e0c76fbc094e428ab955ad20d07214a82b2
MD5 ff756a7f2c3efd6bc8586e7c0b335d36
BLAKE2b-256 9d4e58ad0dcd13a020ba1b432dbd91bf6767f4c6f0b8db525046b560d485cab6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pycasta-1.0.8.tar.gz:

Publisher: publish.yml on giorgioluciano/pycasta

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

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

Hashes for pycasta-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 486feb6848b7a0949ad114aa675b7ec1c4186c3be06a0ea2665c56ffbaf5d487
MD5 428b287a214a9e535b19dae8ee52f0ec
BLAKE2b-256 740ea9a0ea8bdc1589938dac0a57b0726c4e5ec10b77df48d6760ac94ac5becf

See more details on using hashes here.

Provenance

The following attestation bundles were made for pycasta-1.0.8-py3-none-any.whl:

Publisher: publish.yml on giorgioluciano/pycasta

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