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

**URL:** <https://help.galaxyproject.org/t/deseq2-error-duplicate-row-names-are-not-allowed-when-using-mirdeep2-quantifier-output/18531>\
**Category:** usegalaxy.org support\
**Tags:** mirna, deseq2\
**Created:** [October 23, 2026, 6:45am UTC](https://help.galaxyproject.org/t/deseq2-error-duplicate-row-names-are-not-allowed-when-using-mirdeep2-quantifier-output/18531 "2026-10-23T06:45:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [October 26, 2026, 10:53pm UTC](https://help.galaxyproject.org/t/deseq2-error-duplicate-row-names-are-not-allowed-when-using-mirdeep2-quantifier-output/18531/2 "2026-10-26T22:53:10Z")

</div>

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](https://training.galaxyproject.org/topics/transcriptomics/tutorials/mirna-target-finder/tutorial.html#hands-on-edition-of-mirdeep2-quantifier-outputs) (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:

> [@Bhargavi](#):
>
> I noticed that several mature miRNAs appear multiple times, each associated with different precursor miRNAs

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](https://help.galaxyproject.org/t/edger-doesn-t-run-with-count-matrix-in-tabular-format-obtained-from-mirdeep2-quantifier/9976/2)

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](https://ngs101.com/how-to-analyze-rnaseq-data-for-absolute-beginners-part-15-a-complete-guide-to-mirna-seq-analysis/) – tutorial auther suggests merging counts (2nd comment)
- [mirdeep2/FAQ.md at master · rajewsky-lab/mirdeep2 · GitHub](https://github.com/rajewsky-lab/mirdeep2/blob/master/FAQ.md) – 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](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](https://support.bioconductor.org/post/search/?query=mirdeep2) (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](https://help.galaxyproject.org/t/edger-doesn-t-run-with-count-matrix-in-tabular-format-obtained-from-mirdeep2-quantifier/9976/2).

Then for question 2,

> [@Bhargavi](#):
>
> 1. Is there a recommended Galaxy workflow or preprocessing step to convert the miRDeep2 Quantifier output into a suitable count matrix for DESeq2?

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](https://training.galaxyproject.org/training-material/topics/transcriptomics/tutorials/mirna-target-finder/workflows/main_workflow.html)

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.

- ⚙ [RNA-Seq Differential Expression Analysis with Visualization | IWC](https://iwc.galaxyproject.org/workflow/rnaseq-de-main/#diagram)

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! 🙂

---

_[View the full topic](https://help.galaxyproject.org/t/deseq2-error-duplicate-row-names-are-not-allowed-when-using-mirdeep2-quantifier-output/18531)._
