Skip to main content

ML-based predictors for CCS, retention time, and fragment intensity in mass spectrometry.

Project description

imspy-predictors

ML-based predictors for CCS, retention time, and fragment intensity in mass spectrometry.

Installation

pip install imspy-predictors

For remote model access via Koina servers:

pip install imspy-predictors[koina]

Features

  • CCS Prediction: Deep learning models for collision cross section / ion mobility prediction
  • Retention Time Prediction: GRU-based retention time predictors
  • Fragment Intensity Prediction: Prosit 2023 timsTOF intensity predictor
  • Charge State Prediction: Binomial and deep learning charge state distribution models
  • Koina Integration: Access remote prediction models via Koina servers (optional)

Quick Start

from imspy_predictors import (
    load_deep_ccs_predictor,
    load_deep_retention_time_predictor,
    Prosit2023TimsTofWrapper,
)

# Load CCS predictor
ccs_model = load_deep_ccs_predictor()

# Load RT predictor
rt_model = load_deep_retention_time_predictor()

# Load intensity predictor
intensity_model = Prosit2023TimsTofWrapper()

Submodules

  • ccs/: CCS / ion mobility prediction
  • rt/: Retention time prediction
  • intensity/: Fragment intensity prediction (Prosit)
  • ionization/: Charge state distribution prediction
  • koina_models/: Koina remote model access (requires koinapy)
  • utilities/: Tokenizers for ML models

Dependencies

  • imspy-core: Core data structures (required)
  • TensorFlow: Deep learning framework (required)
  • dlomix: Deep learning for omics (required)
  • koinapy: Koina API client (optional, for remote models)

Optional Dependencies

Some functionality requires additional packages:

  • imspy-search: For PSM-based predictions using sagepy
  • imspy-simulation: For simulation utilities (e.g., flatten_prosit_array)

Related Packages

  • imspy-core: Core data structures and timsTOF readers
  • imspy-search: Database search functionality
  • imspy-simulation: Simulation tools for timsTOF data
  • imspy-vis: Visualization tools

License

MIT License - see LICENSE file for details.

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

imspy_predictors-0.5.0.tar.gz (84.6 kB view details)

Uploaded Source

Built Distribution

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

imspy_predictors-0.5.0-py3-none-any.whl (99.9 kB view details)

Uploaded Python 3

File details

Details for the file imspy_predictors-0.5.0.tar.gz.

File metadata

  • Download URL: imspy_predictors-0.5.0.tar.gz
  • Upload date:
  • Size: 84.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for imspy_predictors-0.5.0.tar.gz
Algorithm Hash digest
SHA256 b536e64fcaa6b5db8eda6e7b6283f775185de365017dd81f0540658944adc599
MD5 f85483c7d96b969a6d6c67c089d2f9eb
BLAKE2b-256 fc94c8f9947ff65fa74c74e19d3ada6139f7a75275dc3184eb6ced8c73f3f735

See more details on using hashes here.

File details

Details for the file imspy_predictors-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for imspy_predictors-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fcc90f4ebe305de92abd9944098d14049ca23124b01a2dd542540f9fd228220e
MD5 5361a2de39538a105115581d49cbf40b
BLAKE2b-256 64eac682b7b1096a63e8e6c94e38a40a494b40e8b8345ce2c528378ab197b871

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