Skip to main content

Gene Expression Level Calculator for RNA-seq

Project description

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.

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

rnasa-0.2.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rnasa-0.2.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file rnasa-0.2.0.tar.gz.

File metadata

  • Download URL: rnasa-0.2.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for rnasa-0.2.0.tar.gz
Algorithm Hash digest
SHA256 178b35aa55195180d675b8a53f00fdf11eb315b01566baac475f951e8ffe90c3
MD5 b0a6bd20b9db2a2c98749372435d90e0
BLAKE2b-256 d6dbd62301110d4024b7b33c869269d56fcfb47ae51c113a6165c04f7956851f

See more details on using hashes here.

File details

Details for the file rnasa-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: rnasa-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for rnasa-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2dd92326809eaba8f304e988828deea853a8fa604ba0d5f539fcca4a4d08ec0b
MD5 113fff9c747b1cd0e09742ee655563a0
BLAKE2b-256 614e2c08d8a71c7b0928faa94add63042e5f4bf000003904fb977389500366d3

See more details on using hashes here.

Supported by

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