DESeq2 Error: “Duplicate 'row.names' Are Not Allowed” When Using miRDeep2 Quantifier Output

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:

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.

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! :slight_smile: