Code Monkey home page Code Monkey logo

course_rna-seq2015's Introduction

RNA-seq course 2015

Here, you can find some additional scripts that go beyond the course notes and show you how some of the images within the report were produced.

return to course material website at WCMC

1. Visualize the STAR alignment information (advanced R)

We aligned 2x48 yeast samples (2 conditions: WT and SNF2 knockout) and wanted to compare the results of the STAR alignment across all 96 samples. The log files can be found in the folder 01_STAR_logs. An example for how you could visualize the results kept within those 96 log files can be seen in the pdf file, which can be recreated by running the 01_Alignment_visualizeSTARresults.Rmd file, for example using RStudio. You can find all the functions and commands used to:

  • read in a single STAR log file
  • combine the log files for several samples
  • make data frames suitable for ggplot2 plotting
  • combine various ggplot2 figures into one image

2. Visualize the output of multiple RSeQC read_distribution.py runs

This is a simpler exercise than the STAR log file visualization.

If you want to reproduce the figure 02_barplot_readDistributions.png, download the .txt files from the folder 02_readDistribution_input and carry out the steps detailed in the .R script.

3. Visualize the relationship between mRIN (TIN) and the experimentally determined RIN

This, too, is a very simple R exercise to reproduce figure 03_boxplots_TIN.png

RSeQC's TIN module was run on 4 different BAM files, each obtained from human RNA-seq experiments where the RNA quality was deliberately modified to generate RINs of low (0), medium, and high (9) quality. In principle, the in silico determined TIN score should correlate very well with the original RIN. You can read more about it in the recent publication of the in silico RIN method.

RSeQC's output files are .xls files, which you can find in the respective folder. Download those files into your working directory as well as the .R script and have a go at the boxplots.

return to course material website at WCMC

course_rna-seq2015's People

Contributors

friedue avatar

Stargazers

Letícia Lima avatar Swadha Singh avatar  avatar  avatar Zhe Cao avatar  avatar Kishore R. Anekalla avatar badribio avatar Ashvinder Singh avatar Sourav Singh avatar  avatar Clay Spencer avatar Pan Deng avatar

Watchers

 avatar

course_rna-seq2015's Issues

Script for using PlottingAlignmentResults & ExtractLegend

I am trying to generate barplots for the STAR run logs using instructions at thisGitHub link

Here, it says ""Note that the functions PlottingAlignmentResults and ExtractLegend are part of the script that we sourced in the beginning)

However, at that GitHub link, or the higher level GitHub page, or at the course material page, I cannot find any script, and so I am unable to execute steps that require PlottingAlignmentResults or ExtractLegend.

Could you please help? Thanks, in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.