Skip to main content

rnasa

Gene Expression Level Calculator for RNA-seq

Test Upload Python Package CI to Docker Hub

Installation

$ pip install -U rnasa

Dependent commands:

  • pigz
  • pbzip2
  • bgzip
  • samtools (and plot-bamstats)
  • java
  • fastqc
  • trim_galore
  • STAR
  • rsem-prepare-reference
  • rsem-refseq-extract-primary-assembly
  • rsem-calculate-expression

Docker image

Pull the image from Docker Hub.

$ docker image pull dceoy/rnasa

Usage

Calculate gene expression levels

input files output files
FASTQ (Illumina) TSV (or GCT)
  1. Download and process resource data.

    $ rnasa download --genome=GRCh38 --dest-dir=/path/to/ref
    
  2. Calculate TPM (transcripts per million) values from FASTQ files.

    $ rnasa calculate \
        --workers=2 \
        --dest-dir=/path/to/output \
        /path/to/ref/GRCh38 \
        /path/to/sample1_fastq_prefix \
        /path/to/sample2_fastq_prefix \
        /path/to/sample3_fastq_prefix
    

    The command search for one (single-end) or two (paired-end) input FASTQ files by prefix.

    Standard workflow:

    1. Trim adapters
      • trim_galore
    2. Map reads and calculate TPM values
      • STAR
      • rsem-calculate-expression
    3. Collect QC metrics
      • fastqc
      • samtools
  3. Extract TPM values from RSEM results files, and consolidate them into TSV files.

    $ rnasa extract --dest-dir=. /path/to/output/rsem
    

    If --gct is passed, rnasa extract creates output files in GCT format.

Run rnasa --help for more information.

Release files for rnasa 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rnasa 0.2.0
File Size Uploaded
rnasa-0.2.0.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rnasa 0.2.0
File Interpreter ABI Platform
rnasa-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.4 kB

Release files / rnasa-0.2.0.tar.gz

Download URL rnasa-0.2.0.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
178b35aa55195180d675b8a53f00fdf11eb315b01566baac475f951e8ffe90c3
BLAKE2b-256 checksum
How to use checksums
d6dbd62301110d4024b7b33c869269d56fcfb47ae51c113a6165c04f7956851f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / rnasa-0.2.0-py3-none-any.whl

Download URL rnasa-0.2.0-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2dd92326809eaba8f304e988828deea853a8fa604ba0d5f539fcca4a4d08ec0b
BLAKE2b-256 checksum
How to use checksums
614e2c08d8a71c7b0928faa94add63042e5f4bf000003904fb977389500366d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page