Repository navigation
Releases: guangzhaocs/segSHAPE
Releases · guangzhaocs/segSHAPE
Release list
segSHAPE v0.1.1
segSHAPE v0.1.1
Bug-fix and documentation release. Fixes a broken clean install in v0.1.0 and slims the dependency set. No API or behavior changes.
Fixes
- Declare missing runtime dependencies
scikit-learnandpyarrow. v0.1.0 imported them but never declared them, so a freshpip install segshapewas broken — evensegshape --versionfailed withModuleNotFoundError: No module named 'sklearn', andsegshape segmentfailed onpyarrow. - Remove the unused
io/signal_reader.pymodule; drop theont-fast5-apiandh5pydependencies.signal_reader.pywas an orphan never imported anywhere — the pipeline reads pod5 signal directly viapod5.Reader. This also removes an import failure on modern setuptools (≥81 droppedpkg_resources, whichont-fast5-apistill imports).
Documentation
- Add a PyPI downloads badge and reorder the badge row.
- Make README doc/LICENSE links absolute so they render on the PyPI project page.
- Document the tested ViennaRNA version (2.7.0).
Verified
In a fresh, isolated Python 3.10 environment installed from a clean build: all submodules import cleanly, the full test suite (115 tests) passes, and pip install pulls only the declared dependencies.
Install / upgrade
pip install -U segshape
Full changelog: v0.1.0...v0.1.1
segSHAPE v0.1.0
segSHAPE v0.1.0 — first public release
End-to-end pipeline that turns raw Oxford Nanopore direct-RNA signal into a SHAPE-constrained RNA secondary structure. Supports both RNA002 and RNA004 chemistries.
Highlights
- Full 7-step pipeline:
pod5index → dorado-extract → segment → event-align → mod-calling → fold, plusevaluateandplot. - Find-peaks signal segmentation + anchored Viterbi event alignment.
- Per-position modification / reactivity calling (treated vs. control), folded with ViennaRNA
RNAfold. - Bundled ONT k-mer tables and RNAfold parameter file — nothing extra to download.
Install
conda create -n segshape python=3.10 && conda activate segshape
pip install segshape
conda install -c bioconda viennarna # RNAfold for the folding step
Links
- Preprint (bioRxiv): https://www.biorxiv.org/content/10.64898/2026.06.15.732177
- Requires Python ≥ 3.10