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', 'case.csv',
  '--output', 'test.csv',
  '--param', '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.3.tar.gz (69.8 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.3-cp39-cp39-macosx_10_13_x86_64.whl (104.8 kB view details)

Uploaded CPython 3.9macOS 10.13+ x86-64

File details

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

File metadata

  • Download URL: reactidr-2.0.3.tar.gz
  • Upload date:
  • Size: 69.8 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.3.tar.gz
Algorithm Hash digest
SHA256 ecef4dea20f07a96e6f743ae61f6c5ae0b52e6da9abb013326ba05f20cac3e20
MD5 8c64b402f0f5fbed81f611cbe8a1406a
BLAKE2b-256 a739d0995fa115a8bc636e6ccf3c4bf5594b1e8b64d811877d04077cd2d82635

See more details on using hashes here.

File details

Details for the file reactidr-2.0.3-cp39-cp39-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for reactidr-2.0.3-cp39-cp39-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 d8efe64cec486c6b548b6c949bf049ab5657748eb92c1611977b75eb36b374d8
MD5 2a830dd856b1125ac119a97e99de95c8
BLAKE2b-256 1f2cd32370218d3de19e6581a820c29a1b16bc14bc21df1d5d650d35b0c67295

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