What is scanRBP?
scanRBP loads RNA-protein binding motif PWM and computes the log-odds scores for all the loaded RBPs across a given genomic sequence + draws a heatmap of the scores.
The scores can be described as follows (biopython docs):
Here we can see positive values for symbols more frequent in the motif than in the background and negative for symbols more frequent in the background. 0.0 means that it's equally likely to see a symbol in the background and in the motif.
Using the background distribution and PWM with pseudo-counts added, it's easy to compute the log-odds ratios, telling us what are the log odds of a particular symbol to be coming from a motif against the background.
For more information, see the biopython docs.
Installation
The easiest way to install scanRBP is to simply run:
$ pip install scanRBP
Quick Start
Super quick example:
# taking a random sequence, will produce binding scores and a heatmap
# output: example1_PWM.tab # file with log-odds vectors for all proteins for the given command line sequence
# output: example1.png/pdf # heatmap image with clustering of protein binding vectors
./scanRBP AAAGCGGCGACTTATTATATCCCCATATATTATATCTTCTTCTCTTATATATAAACCAGAGATAGATGTGTGTGGTGG example1 -heatmap example1
# instead of taking one single sequence, the input can be a fasta file with multiple sequences
./scanRBP data.fasta
Documentation
- PDF reference manual
- Google docs of the above PDF (comment if you like)
Change log
v0.3: February 2025
- scan code speedup using numpy
v0.2: June 2024
- new: loading of BED files with peaks from *CLIP experiments, example from Encode Project
- integrated PWMs from CIS-BP and mCrossBase
v0.1.7: November 2023
- added mCross and CISBP-RNA motifs
Metadata
Release files for scanRBP 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scanrbp-0.3.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scanRBP-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.2 kB
Release files / scanrbp-0.3.tar.gz
| Download URL | scanrbp-0.3.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae043a7e2e3d2f72f79469b30c077296105f9219568bf72268119d4105bec2bd
|
|
BLAKE2b-256 checksum How to use checksums |
a84426eff5db11c2a1d6303b5616e09a54cc020f25e5fad7427a633f6f98e2ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / scanRBP-0.3-py3-none-any.whl
| Download URL | scanRBP-0.3-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d446e78bd77c6327c2779809dcca46a14fd1665a058d341995ecf98e6beb62c3
|
|
BLAKE2b-256 checksum How to use checksums |
a0f315382e9f040fb55cecd3602a631bea6ca1bd3b07f890323a02022c738808
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|