Skip to content
Obi Griffith edited this page Apr 27, 2015 · 28 revisions

#6-iii. Practical exercise solutions

This page presents solutions to exercises/assignments from throughout the workshop

###Practical Exercise 1 - Software installation To install bedtools:

cd $RNA_HOME/tools/
wget https://github.com/arq5x/bedtools2/releases/download/v2.23.0/bedtools-2.23.0.tar.gz
tar -zxvf bedtools-2.23.0.tar.gz
cd bedtools2/
make
./bin/bedtools

###Practical Exercise 2 - Alignment

export RNA_HOME=~/workspace/rnaseq
export RNA_DATA_DIR=$RNA_HOME/practice/data
cd $RNA_HOME/practice/

mkdir -p alignments/tophat/trans_idx
export TRANS_IDX_DIR=$RNA_HOME/practice/alignments/tophat/trans_idx/
cd alignments/tophat

tophat2 -p 8 -r 60 --rg-id=HCC1395_normal --rg-sample=HCC1395_normal -o HCC1395_normal -G $RNA_HOME/refs/hg19/genes/genes_chr22_ERCC92.gtf --transcriptome-index $TRANS_IDX_DIR/ENSG_Genes $RNA_HOME/refs/hg19/bwt/chr22_ERCC92/chr22_ERCC92 $RNA_DATA_DIR/hcc1395_normal_1.fastq.gz $RNA_DATA_DIR/hcc1395_normal_2.fastq.gz
tophat2 -p 8 -r 60 --rg-id=HCC1395_tumor --rg-sample=HCC1395_tumor -o HCC1395_tumor -G $RNA_HOME/refs/hg19/genes/genes_chr22_ERCC92.gtf --transcriptome-index $TRANS_IDX_DIR/ENSG_Genes $RNA_HOME/refs/hg19/bwt/chr22_ERCC92/chr22_ERCC92 $RNA_DATA_DIR/hcc1395_tumor_1.fastq.gz $RNA_DATA_DIR/hcc1395_tumor_2.fastq.gz

| Previous Section | This Section | Next Section | |:-------------------------------:|:----------------------------------:|:---------------------:| | Lectures | Practical Exercise Solutions | Integrated Assignment |

Clone this wiki locally