Secondary Analysis
At this stage, the reads have been filtered by quality and adapters have been trimmed, they are ready to be aligned to a genome in order to assess which genes they originate from. However, the genome is not always available and have to use a reference genome which is a representative example of the set of genes in a particular species. However, one has to keep in mind that these geoes do not accurately represent all the set of genes in one single organism. They act as a skeleton on which new genomes are built. For alignment in this tutorial, RNA STAR is used and can align the reads to a reference genome and output BAM files or gene count files which can then be provided to quantification tool which can output gene level table which can be used for downstream analysis.
If you would like to learn in-depth about RNA-seq, this tutorial developed by Galaxy goes into each step and explains along with examples. This tutorial also explains strandedness and how one should think of what they want to achieve before performing an RNA-seq analysis