<p>There has been a detailed comparison of kallisto and salmon for lncRNA transcripts by Zheng et al <a href="https://www.biorxiv.org/content/biorxiv/early/2018/01/09/241869.full.pdf" rel="nofollow noreferrer">https://www.biorxiv.org/content/biorxiv/early/2018/01/09/241869.full.pdf</a></p>

<p>It shows them to be near identical. This suggests there is some problem with the way you made the comparison/plot.</p>

CC BY-SA 4.0
2019-05-15T13:40:42.003Z
I have had similar results to the preprint when I did some comparisons between the two methods.
GWW
CC BY-SA 4.0
2019-05-14T22:14:15.647Z
2019-05-14T22:14:15.647Z
Lior Pachter
<p>I am running some analysis on an RNA-seq dataset. I have a list of transcripts that are potential lncRNA for which I ran both Kallisto and Salmon aligners. The input data for index building and quantification includes mRNA as well as these potential lncRNA.</p>

<p>Commands for one replicate: </p>

<p>Salmon</p>

<pre><code>salmon index --keepDuplicates -t transcripts.fasta -i index_directory/ -k 31
salmon quant --seqBias --gcBias -i index_directory/ --libType ISR --auxDir index_directory/ -1 sample_R1.fastq.gz -2 sample_R2.fastq.gz -o output_name
</code></pre>

<p>Kallisto</p>

<pre><code>kallisto index -i kallisto_index.idx transcripts.fasta
kallisto quant -i kallisto_index.idx -o output_name --rf-stranded sample_R1.fastq.gz sample_R2.fastq.gz
</code></pre>

<p>Then I used the tpm values, averaged replicates (3) and plotted the number of transcripts per condition that had a tpm > 2. Same result for tpm > 5.</p>

<p>The following graph shows the for mRNA:</p>

<p><a href="https://i.sstatic.net/dGJhe.jpg" rel="noreferrer"><img src="https://i.sstatic.net/dGJhe.jpg" alt="enter image description here"></a></p>

<p>And for lncRNA:</p>

<p><a href="https://i.sstatic.net/ZC3CA.jpg" rel="noreferrer"><img src="https://i.sstatic.net/ZC3CA.jpg" alt="enter image description here"></a></p>

<p>Again, the analysis were done with both lncRNA and mRNA transcripts together in the same fasta file.</p>

<p>The overlap is not shown here but is always smaller than the count for Kallisto, for the lncRNA.</p>

<p>In literature both tools seem to have similar results. I cannot find a reason for this. If there would be an error somewhere I would expect to see also differences in the conding RNAs which does not happen.</p>

CC BY-SA 4.0
2019-04-25T14:33:40.370Z
While the question seems great I doubt we can provide an answer without knowing the data. Could you reproduce this in a public dataset? (I think you won't be able to share the (processed) data isn't it?) But perhaps the errors lies somewhere in the code used to create the plots (rare, but it could happen)...
llrs
CC BY-SA 4.0
2019-04-25T15:44:50.097Z
It is true, I am not able to share details on the data. However I can try to reproduce the results with a public dataset. Not just to edit the question, but it can actually give some clues on what is happening in case of a code error or due to the type of data. Thank you for the remark. I wanted to see if anyone had come across this problem since it is not the main focus of my project so I am not sure when I can adress this
Marta Silva
CC BY-SA 4.0
2019-04-25T23:19:44.140Z
I think a scatter plot of the abundance estimates from each method might be a more informative comparison. That is, for each lncRNA, plot kallisto's estimate vs Salmon's.  Are the kallisto estimates systematically lower or are they non-existent?
merv
CC BY-SA 4.0
2019-04-29T17:09:44.640Z
Shh, don’t tell [Lior Pachter](https://liorpachter.wordpress.com/2017/08/02/how-not-to-perform-a-differential-expression-analysis-or-science/).
Konrad Rudolph
<rna-seq><salmon><kallisto>
Why are my kallisto and salmon results differing so much just for lncRNA transcripts?
# Why are my kallisto and salmon results differing so much just for lncRNA transcripts?

(Asked by: username_0 on 2019-04-23)

I am running some analysis on an RNA-seq dataset. I have a list of transcripts that are potential lncRNA for which I ran both Kallisto and Salmon aligners. The input data for index building and quantification includes mRNA as well as these potential lncRNA.
Commands for one replicate: 
Salmon
salmon index --keepDuplicates -t transcripts.fasta -i index_directory/ -k 31
salmon quant --seqBias --gcBias -i index_directory/ --libType ISR --auxDir index_directory/ -1 sample_R1.fastq.gz -2 sample_R2.fastq.gz -o output_name

Kallisto
kallisto index -i kallisto_index.idx transcripts.fasta
kallisto quant -i kallisto_index.idx -o output_name --rf-stranded sample_R1.fastq.gz sample_R2.fastq.gz

Then I used the tpm values, averaged replicates (3) and plotted the number of transcripts per condition that had a tpm > 2. Same result for tpm > 5.
The following graph shows the for mRNA:

And for lncRNA:

Again, the analysis were done with both lncRNA and mRNA transcripts together in the same fasta file.
The overlap is not shown here but is always smaller than the count for Kallisto, for the lncRNA.
In literature both tools seem to have similar results. I cannot find a reason for this. If there would be an error somewhere I would expect to see also differences in the conding RNAs which does not happen.

**Tags:** rna-seq, salmon, kallisto
> **Comments:**
> **username_1**: While the question seems great I doubt we can provide an answer without knowing the data. Could you reproduce this in a public dataset? (I think you won't be able to share the (processed) data isn't it?) But perhaps the errors lies somewhere in the code used to create the plots (rare, but it could happen)...  
> **username_0**: It is true, I am not able to share details on the data. However I can try to reproduce the results with a public dataset. Not just to edit the question, but it can actually give some clues on what is happening in case of a code error or due to the type of data. Thank you for the remark. I wanted to see if anyone had come across this problem since it is not the main focus of my project so I am not sure when I can adress this  
> **username_2**: I think a scatter plot of the abundance estimates from each method might be a more informative comparison. That is, for each lncRNA, plot kallisto's estimate vs Salmon's.  Are the kallisto estimates systematically lower or are they non-existent?  
> **username_3**: Shh, don’t tell [Lior Pachter](https://liorpachter.wordpress.com/2017/08/02/how-not-to-perform-a-differential-expression-analysis-or-science/).  

---

## 1 answers

### Answer by username_4 on 2019-05-14. Score: 2

There has been a detailed comparison of kallisto and salmon for lncRNA transcripts by Zheng et al <https://www.biorxiv.org/content/biorxiv/early/2018/01/09/241869.full.pdf>

It shows them to be near identical. This suggests there is some problem with the way you made the comparison/plot.

> **Comments:**
> **username_5**: I have had similar results to the preprint when I did some comparisons between the two methods.  

---

