Skip to main content

Tool for analysis of RNA-seq data.

Project description

rnaseqhs
=========

overview
---------
rnaseqhs can do bioinformatics analysis for RNA_seq data and generate clean BAM/SAM result from HISAT2, GTF result from Stringtie and featureCounts result.

rnaseqhs is available under the terms of the MIT license (see the file ``LICENSE``)

pre-requirements
-----------------
1. 'gzip','fastx_trimmer','fastqc','cutadapt','fastq_quality_filter','hisat2','stringtie','samtools (v1.3.1)','bedtools (v2.19.1)' in $PATH.
2. hisat2 built genome index, transcriptome index, and gtf.

Installation
-------------
1. tar zxvf rnaseqhs-<version>.tar.gz
2. cd rnaseqhs-<version>
3. python setup.py install --user

Usage
------
1. use it as module in python console ::

>>>import rnaseqhs

>>>rnaseqhs.rnaseqhs.main(<Arguments>)

Arguments are ::
>>>rnaseqhs.rnaseqhs.main(NDIR,OUTDIR,PHRED,QCCHECK,TRIM,LASTKEEP,RMADAPT, LADAPTER, RADAPTER
,OVERLAP,MINLEN,REMOVEN,NCUTOFF,FILTQ
,MINQ,PMINQ,QCSTAT,MAPPING,HISAT2INDEX,ORIENTATIONS
,RNASTRANDNESS,GTF,RAWCOVER,GENOMEBED,WINDOWSIZE])

2. use it as command line in bash ::

<installed-path>/rnaseqhsb <options>

Options are ::
usage: rnaseqhs [-h] [-i INDIR] [-o OUTDIR] [-P PHRED] [-Q QCCHECK] [-T TRIM]
[-l LASTKEEP] [-r RMADAPT] [-L LADAPTER] [-R RADAPTER]
[-O OVERLAP] [-m MINLEN] [-N REMOVEN] [-c NCUTOFF] [-F FILTQ]
[--minQ MINQ] [--pminQ PMINQ] [-q QCSTAT] [-M MAPPING]
[--hisat2index HISAT2INDEX] [--orientations ORIENTATIONS]
[--rnastrandness RNASTRANDNESS] [--gtf GTF]
[--drawCover DRAWCOVER] [--genomebed GENOMEBED]
[--windowsize WINDOWSIZE]

optional arguments:
-h, --help show this help message and exit
-i INDIR, --indir INDIR
fastq files path
-o OUTDIR, --outdir OUTDIR
output path
-P PHRED, --phred PHRED
phred score used in platform [33]
-Q QCCHECK, --qccheck QCCHECK
do quality check [true]
-T TRIM, --trim TRIM trim given fastq short reads as --lastkeep defined
-l LASTKEEP, --lastkeep LASTKEEP
with "trim" option, last bases to keep
-r RMADAPT, --rmadapt RMADAPT
remove adapter [true]
-L LADAPTER, --ladapter LADAPTER
left adapter [AGATCGGAAGAGC]
-R RADAPTER, --radapter RADAPTER
right adapter [AGATCGGAAGAGC]
-O OVERLAP, --overlap OVERLAP
If the overlap between the read and adapter is shorter
than the overlap length, the read will NOT be
modified. [6]
-m MINLEN, --minlen MINLEN
Discard trimmed reads that are shorter than "minlen"
[75]
-N REMOVEN, --removeN REMOVEN
remove "N" bases [true]
-c NCUTOFF, --Ncutoff NCUTOFF
with "removeN" option, N cutoff [0.1]
-F FILTQ, --filtQ FILTQ
Filters sequences based on quality [true]
--minQ MINQ Minimum quality score to keep [20]
--pminQ PMINQ Minimum percent of bases [80]
-q QCSTAT, --qcStat QCSTAT
generate QC statistic plot for seq
-M MAPPING, --mapping MAPPING
read mapping [true]
--hisat2index HISAT2INDEX
hisat2 index
--orientations ORIENTATIONS
orientations
--rnastrandness RNASTRANDNESS
rna strandness
--gtf GTF gtf file for annotation
--drawCover DRAWCOVER
coverage of genome region [true]
--genomebed GENOMEBED
coverage genome bed file
--windowsize WINDOWSIZE
coverage window size [500000]

Links
-----

* `Project homepage <https://git-r3lab.uni.lu/zhi.zhang/rnaseqhs>`_
* `Github page <https://git-r3lab.uni.lu/zhi.zhang/rnaseqhs>`_
written by Zhi Zhang.


Project details


Release history Release notifications | RSS feed

This version

0.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rnaseqhs-0.3.tar.gz (4.9 MB view details)

Uploaded Source

Built Distribution

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

rnaseqhs-0.3-py3-none-any.whl (5.0 MB view details)

Uploaded Python 3

File details

Details for the file rnaseqhs-0.3.tar.gz.

File metadata

  • Download URL: rnaseqhs-0.3.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for rnaseqhs-0.3.tar.gz
Algorithm Hash digest
SHA256 b8d79d516b8d76043984d410dd37f526f4e53ad34958fcb477667968a2addc2d
MD5 6831154459864781939bcb66a30afd98
BLAKE2b-256 ddf3db0a8e830dd60d3e579ffd4ab18f6fdbdc3bda906a7ea0af2a45840b8e99

See more details on using hashes here.

File details

Details for the file rnaseqhs-0.3-py3-none-any.whl.

File metadata

  • Download URL: rnaseqhs-0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for rnaseqhs-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7dc7822011d5ebe682f0e7d7f4b9cfd6eeacae8665ca6b6d4abf3861d66846cb
MD5 b6f089bf12e0cd5d98225369bae174aa
BLAKE2b-256 b8a3aab39f905be0edc0ac7d809e72eba3e68d5c75c8b825a9efb2884a729349

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