scanRBP: RNA-protein binding toolkit
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scanrbp-0.3.tar.gz.
File metadata
- Download URL: scanrbp-0.3.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae043a7e2e3d2f72f79469b30c077296105f9219568bf72268119d4105bec2bd
|
|
| MD5 |
09f722be4b59a4e2f19cb6cae2816476
|
|
| BLAKE2b-256 |
a84426eff5db11c2a1d6303b5616e09a54cc020f25e5fad7427a633f6f98e2ac
|
File details
Details for the file scanRBP-0.3-py3-none-any.whl.
File metadata
- Download URL: scanRBP-0.3-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d446e78bd77c6327c2779809dcca46a14fd1665a058d341995ecf98e6beb62c3
|
|
| MD5 |
6307cb804e354caca9547aa3de83c696
|
|
| BLAKE2b-256 |
a0f315382e9f040fb55cecd3602a631bea6ca1bd3b07f890323a02022c738808
|