Skip to main content

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

Pipeline

  1. Suppose you have two files, one file with the raw RNASeq count data (example) and one file with the phenotype file data (example).

  2. 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 counts
  • gene_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 lengths
  • experimental_conditions: 1D list of individual experimental conditions, same size as samples
  • 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 lengths
  • experimental_conditions: 1D list of individual experimental conditions, same size as samples
  • alpha: floating point value of percent housekeep as stated in the paper

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

ribonorma-1.1.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

ribonorma-1.1-py3.10.egg (16.5 kB view details)

Uploaded Source

File details

Details for the file ribonorma-1.1.tar.gz.

File metadata

  • Download URL: ribonorma-1.1.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for ribonorma-1.1.tar.gz
Algorithm Hash digest
SHA256 3d6d456e4f6e628294208d0980bfb8886cd21d0f0400799dbe721aa3ef0f8609
MD5 079df2eff67153fa676cf10a3628c273
BLAKE2b-256 c9ed50dfad0094260d1fffd85a4dafeb8729c9fcc5eec24a6eaf53838ac60d56

See more details on using hashes here.

File details

Details for the file ribonorma-1.1-py3.10.egg.

File metadata

  • Download URL: ribonorma-1.1-py3.10.egg
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for ribonorma-1.1-py3.10.egg
Algorithm Hash digest
SHA256 e90fe59a27da1cc2a5aee54b0af65a1101bcb6fed1e56c342e60e37d6c506577
MD5 7aed24e87d577aa814571b6b1a2781c8
BLAKE2b-256 3bcc0e7cafb8f43eedd96536e410210d015340afde23d4c01df0096f2b279424

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