Skip to main content

Utility tools to load and process biomolecular data.

Project description

Kitchenware

Utility tools to load and process biomolecular data. This package provides a foundation for deep learning applications in structural biology, offering efficient tools for handling molecular structures and their analysis.

Features

Data Processing

  • Load and save molecular structures (PDB/CIF formats)
  • Structure encoding and processing
  • Biomolecular data type handling

Geometric Analysis

  • Distance matrix computation
  • Connectivity extraction
  • Neighborhood analysis
  • Structure superposition
  • Contact detection

Structure Analysis

  • Secondary structure analysis
  • RMSD calculations
  • lDDT scoring
  • Angle and dihedral measurements

Utilities

  • Standard amino acid encodings
  • Template handling
  • Chain and residue operations
  • Density map operations

Installation

pip install kitchenware

Quick Start

import kitchenware as kw

# Load a structure (PDB or CIF format)
structure = kw.load_structure("input_structure.pdb")

# Encode structure and convert to a collection of tensors (PyTorch)
data = kw.encode_structure(structure)

# Convert back to a structure
structure = kw.data_to_structure(data)

# Write PDB files
kw.save_pdb(data, "output_structure.pdb")

Dependencies

  • gemmi
  • mrcfile
  • numpy
  • pandas
  • torch
  • rdkit
  • scipy
  • scikit-learn

For a list of dependencies see pyproject.toml

Applications

This toolkit serves as the foundation for several deep learning methods in structural biology:

  • PeSTo: parameter-free geometric deep learning for accurate prediction of protein binding interfaces
  • CARBonAra: Context-aware geometric deep learning for protein sequence design

Contributing

We welcome contributions! Please feel free to submit a Pull Request.

License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0

Reference

This toolkit was developed as the foundation for both PeSTo and CARBonAra. If you use this toolkit in your research, please cite one of the following publications.

PeSTo

Krapp, L.F., Abriata, L.A., Cortés Rodriguez, F. et al. PeSTo: parameter-free geometric deep learning for accurate prediction of protein binding interfaces. Nat Commun 14, 2175 (2023). https://doi.org/10.1038/s41467-023-37701-8

CARBonAra

Krapp, L.F., Meireles, F.A., Abriata, L.A. et al. Context-aware geometric deep learning for protein sequence design. Nat Commun 15, 6273 (2024). https://doi.org/10.1038/s41467-024-50571-y

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

kitchenware-0.1.0.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

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

kitchenware-0.1.0-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

Details for the file kitchenware-0.1.0.tar.gz.

File metadata

  • Download URL: kitchenware-0.1.0.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for kitchenware-0.1.0.tar.gz
Algorithm Hash digest
SHA256 076a3cf203d2c06598859adc1dba7bde666d9d37abb269a1d9caa5839073e5f9
MD5 2923ea1c99791dbd2ed1be56c8eae23f
BLAKE2b-256 d84c20b75153f93293cb1c71d3c9e261eaaecd1acef3aaf619ae4af230227771

See more details on using hashes here.

File details

Details for the file kitchenware-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kitchenware-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for kitchenware-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f588c680c26d6e0287e702b2e7f834ed4c9893925aa58b39cc6c64cef566e05
MD5 1cbf8ebad8000cf8738fba5511cb9142
BLAKE2b-256 003d9ba208ac089b362843142e3e24063990730bc3a1e44d11cb66c34ffbb55b

See more details on using hashes here.

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