Hi @Bhargavi
Yes, DESeq2 will require that the top level counts for each sample maps to a unique feature.
An example for how to sum up is described in this tutorial:
- Hands-on: Whole transcriptome analysis of Arabidopsis thaliana / Whole transcriptome analysis of Arabidopsis thaliana / Transcriptomics (covers which columns to cut from the MiRDeep2 Quantifier outputs)
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:
You are correct about these repeated terms being the root technical problem. We have discussed this in a topic here at the forum before at EdgeR doesn´t run with count matrix in tabular format (obtained from mirDeep2 Quantifier) - #2 by jennaj
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.
- miRNA-seq Analysis Tutorial: A Complete Guide - NGS101 – tutorial auther suggests merging counts (2nd comment)
- mirdeep2/FAQ.md at master · rajewsky-lab/mirdeep2 · GitHub – not covered by the authors here…
- 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
tabinteger) → 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.
Then for question 2,
The workflow associated with the tutorial could be modified for your use case. Several of the tools are older versions, so be sure to update to the latest version of each for the best performance! → Whole transcriptome analysis of Arabidopsis thaliana / Whole transcriptome analysis of Arabidopsis thaliana / Transcriptomics
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! ![]()