Skip to content

Latest commit

 

History

History
executable file
·
55 lines (34 loc) · 3.08 KB

README.md

File metadata and controls

executable file
·
55 lines (34 loc) · 3.08 KB

RNAseqEval

A collection of tools for evaluating RNA seq mapping. The tools were used to benchmark some RNA mapping tools on real and synthetic third generation sequencing datasets. Detailed description of synthetic dataset preparation can be found at RNAseq_benchmark/Data_preparation.md. Description of the evaluation process for real and simulated datasets can be found at RNAseq_benchmark/RNAseq_benchmark.md.

Installation

Since the RNAseqEval repository contains python scripts, it does not require an installation. Only requirement is to clone RNAseqEval repository together with the samscripts submodule:

git clone --recursive https://github.com/kkrizanovic/RNAseqEval.git

The other way is to clone the main repository first and then update the submodule:

git clone https://github.com/kkrizanovic/RNAseqEval.git
cd RNAseqEval
git submodule update --init --recursive

Prerequisites

The repository contains Python scripts only and requires a Python 2 interpreter. We have tested it on Ubuntu server 14.04 and 16.04 with Python 2.7.12 However, we believe that it should also work with older versions of Python and on other operating systems.

Scripts

generate_transcriptome.py

Run generate_transcriptome.py to generate a trancriptome from a reference and a set of annotations.

How to run:

 generate_transcriptome.py annotations.gtf reference.fasta transcriptome.fasta

Generated transcriptome can be used to simulate RNA reads using DNA simulators such as PBSIM.

RNAseqEval.py

Run RNAseqEval.py for general evaulation of mappings in sam file against reference and optionally annotations. This script is intended to evaluate real dataset mapping. Run RNAseqEval.py without any arguments to print options.

Usage:

RNAseqEval.py eval-mapping <reference FASTA file> <input SAM file> options

options:
-a <file> : a reference annotation (GFF/GTF/BED) file
-o (--output) <file> : output file to which the report will be written

Detailed description of running modes, options and output can be found at doc/RNAseqEval.md.

Process_pbsim_data.py

Run Process_pbsim_data.py to evaluate mappings of data generated by the PBSIM simulator. It requires the simulation data to be organized in a specific way.

How to run:

Process_pbsim_data.py process simulation_root_folder mappings.sam annotations.gtf

Detailed description of options, output and required simulation data organization can be found at doc/Process_pbsim_data.md.

Example dataset

Folder example_dataset contains an example dataset, simulated by applying PBSIM o a transcriptome. Example dataset was generated usign reference and annotations for_ Drosophilla Melanogaster_ chromosome 4. The folder contains everything necessary to test out our evaluation tools. More on example dataset can be fouund at example_dataset/example.md.

Acknowledgement

This work has been supported in part by Croatian Science Fundation under the project UIP-11-2013-7353.