Implements additional normalisation methods for RNA Sequencing.
Project description
Ribonorma
As part of the paper
Installation
Installation can be done with Pip. Python 3.6+.
pip install ribonorma
pip3 install ribonorma
How to use
Command line usage
-
Suppose you have two files, one file with the raw RNASeq count data (example) and one file with the phenotype file data (example).
-
Run
ribonorma-normalise
Python code usage
import csv
from ribonorma import ribonorma
reads = list(csv.read( ... )) # Reads
gene_length = [] # List of gene lengths
conditions = ["Standard media", "Standard media", "Standard media", "Super media", "Super media", "Super media"] # Example conditions
normalised_counts = ribonorma.tpmr(reads, gene_length, conditions, percent_housekeep=10)
ribonorma.tpm(reads, gene_length)
reads
: 1D list of read countsgene_length
: 1D list of individual gene lengths
ribonorma.tpmm(samples, gene_length)
samples
: 2D list of sample read counts - [sample x count]gene_length
: 1D list of individual gene lengths
ribonorma.tpmr(samples, gene_length, experimental_conditions, percent_housekeep=10)
samples
: 2D list of sample read counts - [sample x count]gene_length
: 1D list of individual gene lengthsexperimental_conditions
: 1D list of individual experimental conditions, same size assamples
alpha
: floating point value of percent housekeep as stated in the paper
ribonorma.tpmr_2(samples, gene_length, experimental_conditions, percent_housekeep=10)
samples
: 2D list of sample read counts - [sample x count]gene_length
: 1D list of individual gene lengthsexperimental_conditions
: 1D list of individual experimental conditions, same size assamples
alpha
: floating point value of percent housekeep as stated in the paper
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
ribonorma-1.2-py3.10.egg
(16.4 kB
view details)
File details
Details for the file ribonorma-1.2-py3.10.egg
.
File metadata
- Download URL: ribonorma-1.2-py3.10.egg
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f1ed392b3953dcb13623877bd1083cb925af90361b0edf5ebf397ec301a2274 |
|
MD5 | 5e9fe2953c3b4760b247e0b854a587cc |
|
BLAKE2b-256 | c0d86458a2a681cc89af9fc84ff3f853389e0e48d527f698afecc5fd81492ffe |