francois-a / rnaseq-utils

Utilities for RNA-seq analyses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Utilities for RNA-seq analyses

This repository contains a collection of modules for RNA-seq analyses:

Install

Clone this repository:

git clone git@github.com:francois-a/rnaseq-utils.git

Add the repository to your Python path:

export PYTHONPATH=$PYTHONPATH:/<path_to>/rnaseq-utils

Examples

Download the GENCODE 30 GTF:

wget ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_30/gencode.v30.annotation.gtf.gz

Load annotation

import annotation
annot = annotation.Annotation('gencode.v30.annotation.gtf.gz')

Get gene by HGNC symbol:

gene = annot.get_gene('MYL9')

Display information:

print(gene)

About

Utilities for RNA-seq analyses

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%