Skip to main content

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

Change log

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

scanRBP-0.1.7.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

scanRBP-0.1.7-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file scanRBP-0.1.7.tar.gz.

File metadata

  • Download URL: scanRBP-0.1.7.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.8

File hashes

Hashes for scanRBP-0.1.7.tar.gz
Algorithm Hash digest
SHA256 f2900334de1351bbe42604716987f54d44bdd83b75d09265bd2a01ae54a79cbc
MD5 5d9777792595b4c9533f252c4e9393ce
BLAKE2b-256 f21dda07ed7a2d62261ab0f62260f62f53fcf5345598de9d7c9b998407429848

See more details on using hashes here.

File details

Details for the file scanRBP-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: scanRBP-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.8

File hashes

Hashes for scanRBP-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5b0999864c86f1bbc7da92fd2883f7030e3b8e199e830ef49774e6e5dfb6adc4
MD5 ef3409afb9bca332621013ca2faf675d
BLAKE2b-256 32d45355db32f8c8390302ae2873557837b06dbc4f78ba44e9cf1030df08bde4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page