Skip to main content

Implementation of the IDR (Irreproducible Discovery Rate) method for RNA reactivity data.

Project description

reactIDR: evaluation of the statistical reproducibility of high-throughput structural analyses towards a robust RNA structure prediction

reactIDR is a Python package that evaluates statistical reproducibility across replicated high-throughput RNA structure profiling data (e.g., PARS, SHAPE-Seq, icSHAPE, DMS-Seq) to robustly infer loop and stem probabilities.


📥 Input

  • Read count data (tabular format)
    • PARS
    • SHAPE-Seq
    • icSHAPE
    • DMS-Seq (assumed to enrich A/C only)

📤 Output

  • Posterior probability for each site:
    • Loop (signal enriched in "case")
    • Stem (signal enriched in "control")

🧠 Algorithm

  • IDR (Irreproducible Discovery Rate)
  • Hidden Markov Model

🔧 Requirements

python >= 3.9
numpy >= 2.0.2
scipy >= 1.13.1
pandas >= 2.2.3

Optional packages for visualization:

seaborn
jupyter notebook

🚀 Installation

pip install reactIDR

▶️ Getting Started

Test datasets are provided in the example and csv_example directories. To run a demo using CSV input:

git clone https://github.com/carushi/reactIDR
cd reactIDR/csv_example
python -c "import reactIDR; reactIDR.run_reactIDR([
  '-e', '0',
  '--csv',
  '--global',
  '--case', './csv_example/case.csv',
  '--output', 'test.csv',
  '--param', './csv_example/default_parameters.txt'
])"

📚 More usage examples and options are available in the Wiki.

🛠️ Scripts

Script Description
read_collapse.py Collapse PCR duplicates and trim barcodes (assumes gawk)
read_truncate.py Extract consistent paired-end reads
bed_to_pars_format.py Convert BED coverage to PARS-style format based on annotations
format: NAME 0;1;2;3;.....
tab_to_csv.py Append raw count data to output CSV

📖 Reference

TODO

  • apply to MaP analyses

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

reactidr-2.0.1.tar.gz (142.6 kB view details)

Uploaded Source

Built Distribution

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

reactidr-2.0.1-cp39-cp39-macosx_10_9_x86_64.whl (178.6 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

Details for the file reactidr-2.0.1.tar.gz.

File metadata

  • Download URL: reactidr-2.0.1.tar.gz
  • Upload date:
  • Size: 142.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.19

File hashes

Hashes for reactidr-2.0.1.tar.gz
Algorithm Hash digest
SHA256 58818efb76e8de9dd161fc0b8f18f13c52204acc3744d132911054279ea54aa0
MD5 3abfb457f77b357eddde337dc1bb9bfa
BLAKE2b-256 beea16a972db453cd2abda347e49a781c95a4ecf5c7e688be1ea98ea7c79490d

See more details on using hashes here.

File details

Details for the file reactidr-2.0.1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for reactidr-2.0.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 45c3664fff3e8b9da8d99297d76b8587e7db15c290daebc9211ff2211cafb430
MD5 83bd7c3d5dbad4b693818ec413b5c15c
BLAKE2b-256 0dc019ede1b794d40dc49641e828924ff262aa67bb31f1c86b2d15df67b8ddb5

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