Metadata-Version: 2.4
Name: zipstrain_rust_profiler
Version: 0.1.1
Requires-Dist: zipstrain>=1.2.0,<2
License-File: LICENSE
Summary: Optional native profiling backend for ZipStrain
License-Expression: MIT
Requires-Python: >=3.12
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://olmlab.github.io/ZipStrain/plugins/
Project-URL: Repository, https://github.com/OlmLab/ZipStrain

# zipstrain_rust_profiler

The Rust profiler builds a missing BAM index beside the input before profiling. The BAM must be coordinate-sorted and its directory writable unless an index already exists.

A ZipStrain plugin that provides a native, multithreaded profiling backend. It
can profile up to ~10x faster than the built-in Python profiler, with better
memory management on large BAM files, while producing the same outputs. This
package requires ZipStrain 1.2.0 or newer and is selected with `--backend rust_profiler`. Without that
flag, ZipStrain continues to use its built-in Python profiler.

```bash
python -m pip install zipstrain_rust_profiler
zipstrain profile --input-table mapped/samples.txt --reference-fasta ref.fna \
  --stb-file ref.stb --run-dir profiled --backend rust_profiler
```

See the [plugin guide](https://olmlab.github.io/ZipStrain/plugins/) for inputs,
output files, filters, and Nextflow usage. Wheels contain a native executable;
source installs require a Rust toolchain and native build prerequisites.

