Hi Rob,
thanks for taking the time to look at my issue. So i re-ran salmon with the --useEM flag and checked a few genes for which i was observing major discrepancies. It fixed the issue, i now have a good match between the bootstraps and the estimate, for zero as well as non-zero expression values that were very different with the VBEM algorithm !
I took some time to read the section on the --useEM flag in the Salmon documentation to understand how it affects the results, somehow beyond my reach for now but i guess i'll have to go read the paper on VBEM. Anyway, the bootstraps seem to be converging nicely at 20 iterations and i may get some trade-offs in accuracy but it does feel better to have zeroes in both files now and no such high discrepancies anymore.
Lucas
I did some further analysis and this may actually be more of a purely salmon related question. I will take the example of a specific transcript from my data.
The quant.sf file from salmon outputs the following data :
However, after running the ConvertBootstrapsToTSV.py script on my bootstraps and extracting the count values for this same transcript from the tsv file, i get the following counts :
So as you can see, there is some variations between the different bootstraps but the value in the boostraps is far from 0 compared to the primary estimate in the quant.sf file.
I ran salmon 1.4.0 with the following command :
Any idea why this is happening ?