<h2>tl;dr</h2>

<p>Spliced aligners just make many small matches along the read pair or single read to determine splice junctions and output an alignment for the whole read, as long as it matches somewhere in the genome.</p>

<h3>mRNA and translation</h3>

<p>In the cell, after transcription, introns are spliced out of RNAs to become mature RNA. The protein-coding sequence does have sequence that is chimeric from cis-located portions of the same chromosome that do not actually exist.</p>

<pre><code>              |&lt;&lt;exon 1&gt;&gt;|  intron    |&lt;&lt;exon 2&gt;|
Genome: ------ABCDEFGHIJKLmnopqrstuvwxYZ123456789------------------

mRNA  : ----ABCDEFGHIJKLYZ123456789aaaaaaaaaaa
</code></pre>

<p>As you said, if we only even consider small stretches of DNA, the sequence <code>JKLYZ</code> does not exist in the genome, only in the mRNA. So, we need a special way to map mRNA-seq reads to the genome that correctly splits at splice junctions.</p>

<h2>How do we map mRNA-seq reads to a genome?</h2>

<p>As a result, parts of the mRNA-seq reads will align well to one part of the genome, but only for part of the read. This requires a different alignment algorithm that considers multiple local high-score alignments for different parts of the read. </p>

<p>For example, see how a genomic aligner versus a splice aligner might treat the same mRNA-seq read on our example genome.</p>

<pre><code>                         |&lt;&lt;exon 1&gt;&gt;|  intron    |&lt;&lt;exon 2&gt;|
Genome:            ------ABCDEFGHIJKLmnopqrstuvwxYZ123456789------------------

spliced aligner  : ------ABCDEFGHIJKL------------YZ123456789
genomic aligner  : ------ABCDEFGHIJKL
</code></pre>

<p>There is a possibility that the genomic aligner will not recognize that the second half of the read is an exon due to the large intron gap, and it may clip the alignment. Spliced aligners just take this into account and output several alignments for the same read regardless of gap size. <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3530905/" rel="noreferrer">The STAR algorithm, for example, uses many small matching pieces of a single read to determine where the splice junctions are</a>. <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4655817/" rel="noreferrer">HiSat2 uses small approximate matches</a> using a <a href="https://en.wikipedia.org/wiki/FM-index" rel="noreferrer">FM-index</a> to find seeds for spliced alignment.</p>

CC BY-SA 4.0
2018-10-28T16:04:18.917Z
2018-10-28T16:04:18.917Z
conchoecia
<p>I am confused with RNA seq alignment. My understanding is that after Mature mRNA is isolated from the cell, it is then fragmented and using reverse transcriptase enzyme a cDNA copy is created which is further amplified. This cDNA is then mapped with the reference genome. If the cDNA does not have introns how does it map with the reference genome. </p>

<p>Can someone please help </p>

<rna-seq><phylogenetics><rna-alignment>
cDNA and alignment mapping
# cDNA and alignment mapping

(Asked by: username_0 on 2018-10-28)

I am confused with RNA seq alignment. My understanding is that after Mature mRNA is isolated from the cell, it is then fragmented and using reverse transcriptase enzyme a cDNA copy is created which is further amplified. This cDNA is then mapped with the reference genome. If the cDNA does not have introns how does it map with the reference genome.

Can someone please help

**Tags:** rna-seq, phylogenetics, rna-alignment

---

## 1 answers

### Answer by username_1 on 2018-10-28. Score: 5

tl;dr
Spliced aligners just make many small matches along the read pair or single read to determine splice junctions and output an alignment for the whole read, as long as it matches somewhere in the genome.
mRNA and translation
In the cell, after transcription, introns are spliced out of RNAs to become mature RNA. The protein-coding sequence does have sequence that is chimeric from cis-located portions of the same chromosome that do not actually exist.
              |<>|  intron    |<|
Genome: ------ABCDEFGHIJKLmnopqrstuvwxYZ123456789------------------

mRNA  : ----ABCDEFGHIJKLYZ123456789aaaaaaaaaaa

As you said, if we only even consider small stretches of DNA, the sequence JKLYZ does not exist in the genome, only in the mRNA. So, we need a special way to map mRNA-seq reads to the genome that correctly splits at splice junctions.
How do we map mRNA-seq reads to a genome?
As a result, parts of the mRNA-seq reads will align well to one part of the genome, but only for part of the read. This requires a different alignment algorithm that considers multiple local high-score alignments for different parts of the read. 
For example, see how a genomic aligner versus a splice aligner might treat the same mRNA-seq read on our example genome.
                         |<>|  intron    |<|
Genome:            ------ABCDEFGHIJKLmnopqrstuvwxYZ123456789------------------

spliced aligner  : ------ABCDEFGHIJKL------------YZ123456789
genomic aligner  : ------ABCDEFGHIJKL

There is a possibility that the genomic aligner will not recognize that the second half of the read is an exon due to the large intron gap, and it may clip the alignment. Spliced aligners just take this into account and output several alignments for the same read regardless of gap size. The STAR algorithm, for example, uses many small matching pieces of a single read to determine where the splice junctions are. HiSat2 uses small approximate matches using a FM-index to find seeds for spliced alignment.


---

