Skip to main content

Normalization of RNA-seq gene expression.

Project description

Build Status Code Style Black Version on PyPI Supported Python versions Number of downloads from PyPI

Normalization of RNA-seq gene expression data. Supported methods are Transcript per kilobase million (TPM) and Counts per million (CPM).

The TPM normalization can either accept pre-computed gene lengths on the input or compute gene lengths from gene annotation in GTF format, using the union exon-based approach. The computed gene lengths are identical to the lengths reported by featureCounts (validated for Homo sapiens, Mus musculus, Rattus norvegicus, and Macaca mulatta of ENSEMBL and UCSC annotations).

Usage

Install rnanorm Python package:

pip install rnanorm

See rnanorm command help:

rnanorm --help

Run rnanorm with pre-computed gene lengths:

rnanorm expr.tsv --cpm-output=expr.cpm.tsv --tpm-output=expr.tpm.tsv --gene-lengths=lengths.tsv

Run rnanorm with genome annotation - gene lengths will be computed on the fly:

rnanorm expr.tsv --cpm-output=expr.cpm.tsv --tpm-output=expr.tpm.tsv --annotation=annot.gtf

Contributing

Install rnanorm Python package for development:

flit install --deps=all --symlink

Run all tests and linters:

tox

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

rnanorm-1.3.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

rnanorm-1.3.1-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file rnanorm-1.3.1.tar.gz.

File metadata

  • Download URL: rnanorm-1.3.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for rnanorm-1.3.1.tar.gz
Algorithm Hash digest
SHA256 b3589908b495b52f689f29301f8fa69d2ba65ddc96cedc51da9a9cf5ced1baa5
MD5 1812915a3dcf69071a306ae2577ecd91
BLAKE2b-256 da7fa2497c45add9a05e1aa254e47e002623148e2f4ec42f93dd044947c6d4a0

See more details on using hashes here.

File details

Details for the file rnanorm-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: rnanorm-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for rnanorm-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d7bc00fe312a369c18423b41661bca89a361be3476ced5b43fd2877cdf1f94a
MD5 67ee8b6a000accacf24130bde67c2d1e
BLAKE2b-256 be952ab1f685c0935a7e26ac95056e092cbcee5149b887ee683f2dca07236e10

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