Gene Expression Level Calculator for RNA-seq
Project description
rnasa
Gene Expression Level Calculator for RNA-seq
Installation
$ pip install -U rnasa
Dependent commands:
pigz
pbzip2
bgzip
samtools
(andplot-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) |
-
Download and process resource data.
$ rnasa download --genome=GRCh38 --dest-dir=/path/to/ref
-
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:
- Trim adapters
trim_galore
- Map reads and calculate TPM values
STAR
rsem-calculate-expression
- Collect QC metrics
fastqc
samtools
- Trim adapters
-
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.1.3.tar.gz
(11.3 kB
view hashes)
Built Distribution
rnasa-0.1.3-py3-none-any.whl
(12.7 kB
view hashes)