I am analyzing microRNA sequencing data using Galaxy org. I successfully mapped my reads to the reference genome using miRDeep2 Mapper, followed by quantification using miRDeep2 Quantifier.
However, when I submitted the Quantifier output to DESeq2 for differential expression analysis, I encountered the following error (attached).
In the miRDeep2 quantifier output, I noticed that several mature miRNAs appear multiple times, each associated with different precursor miRNAs. I suspect these duplicate mature miRNA identifiers may be causing the error when DESeq2 attempts to import the count data.
My questions are:
How should these duplicate entries be handled before submitting the count data to DESeq2? Should the counts for identical mature miRNAs be summed across their precursor entries, or is there a recommended alternative approach?
Is there a recommended Galaxy workflow or preprocessing step to convert the miRDeep2 Quantifier output into a suitable count matrix for DESeq2?
I would appreciate any guidance on resolving this issue while ensuring that the resulting count matrix is appropriate for differential expression analysis.
The important difference is in the content of the reference data. The tutorial has a one-to-one relationship between the mature and precursor miRnas. When for your data content, there is a one-to-many relationship:
So, you’ll need to investigate to see which way to handle the data is best for your work. The parameters used with with the tools can also matter (summing weighted counts, handling fractional counts). Below are a few non-Galaxy resource as examples – the situation isn’t really covered but maybe I’ve missed it again.
I would suggest checking in here, and maybe ask a new question? Running the tool in Galaxy is the same as anywhere else and this reaches other scientists who are best for your overall protocol question. https://www.biostars.org/post/search/?query=MiRDeep2+deseq2
Or, try reviewing here, although how to capture the counts is usually not discussed, instead, more about how to format the inputs is common (feature tab integer) → Bioconductor Forum (query=mirdeep2)
For how to merge the counts (the technical part we can help with here), using the Group tool is probably the easiest. Or, you could not merge and create compound identifiers as discussed in the prior topic above.
Once you have count files, running DESeq2 is about the same for any data. That means a workflow like this one could be used, too! You could add in your steps to manipulate the count files at the start, or add it to the end of your current preprocessing workflow that runs the upstream tools.
I hope this gives some ideas. If you locate a scientific reference or decision tree for how to handle this type of specific type count data, please consider sharing it back!