imspy-dia
DIA processing and clustering for timsTOF IMS data.
Overview
imspy-dia provides tools for Data-Independent Acquisition (DIA) data analysis from Bruker timsTOF instruments:
- Hierarchical DIA feature extraction - Extract MS1 precursor and MS2 fragment clusters
- Pseudo spectrum construction - Build pseudo spectra from correlated precursor-fragment pairs
- Isotopic feature grouping - Group isotope clusters into features with charge state assignment
Installation
pip install imspy-dia
Dependencies
imspy-core>=0.4.0- Core data structuresimspy-connector>=0.4.0- Rust bindingspandas>=2.0.0numpy>=1.24.0
Optional dependencies:
matplotlib- For cluster reports (pip install imspy-dia[reporting])torch- For neural network-based extraction (pip install imspy-dia[torch])
Quick Start
from imspy_dia import TimsDatasetDIAClustering, build_simple_features_from_clusters
# Open a DIA dataset with clustering capabilities
ds = TimsDatasetDIAClustering("/path/to/data.d")
# Plan TOF-scan windows for MS1
plan = ds.plan_tof_scan_windows(tof_step=8, rt_window_sec=30.0, rt_hop_sec=15.0)
# Extract precursor clusters (requires peak detection)
# ... see full documentation for peak detection workflow
# Build isotopic features from precursor clusters
features = build_simple_features_from_clusters(precursor_clusters)
# Build pseudo spectra
pseudo_spectra = ds.build_pseudo_spectra_geom(
ms1_clusters=precursor_clusters,
ms2_clusters=fragment_clusters,
features=features,
)
CLI Tools
Cluster Report
Generate a PDF report summarizing cluster statistics:
imspy-cluster-report --in clusters.parquet --out report.pdf --json summary.json
License
MIT License - see LICENSE file for 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_dia-0.4.0.tar.gz
(49.0 kB
view details)
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
imspy_dia-0.4.0-py3-none-any.whl
(53.7 kB
view details)
File details
Details for the file imspy_dia-0.4.0.tar.gz.
File metadata
- Download URL: imspy_dia-0.4.0.tar.gz
- Upload date:
- Size: 49.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a730b2d7bc731632c38b88bbae6891d70a394fd3317a4a7657f4de7a103ef020
|
|
| MD5 |
47e7f9c473d3c0fa238d70ff43c8acca
|
|
| BLAKE2b-256 |
679568b8eeda87c5bb236baf20d8a562ff343af29440e713141e955d8f3fc194
|
File details
Details for the file imspy_dia-0.4.0-py3-none-any.whl.
File metadata
- Download URL: imspy_dia-0.4.0-py3-none-any.whl
- Upload date:
- Size: 53.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99a04b74df31dd40c5b393a1031701233f0101e66e50c90118df3d7c89c2aeca
|
|
| MD5 |
4e18be7f120653625d3d752eab6ff1d3
|
|
| BLAKE2b-256 |
95cf758f8c30f0b1ec26256c8e7364aa1fe78db22f48d47e1a9ec4338b3bcf41
|