# Troubleshooting problems with DESeq2

**URL:** <https://help.galaxyproject.org/t/troubleshooting-problems-with-deseq2/6290>\
**Category:** usegalaxy.org support\
**Tags:** transcriptomics, stringtie\
**Created:** [June 25, 2021, 5:46pm UTC](https://help.galaxyproject.org/t/troubleshooting-problems-with-deseq2/6290 "2021-06-25T17:46:42Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![fatema\_begum](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/fatema_begum/32/2593_2.png) [@fatema\_begum](https://help.galaxyproject.org/u/fatema_begum)\
**Post date:** [June 25, 2021, 5:46pm UTC](https://help.galaxyproject.org/t/troubleshooting-problems-with-deseq2/6290/1 "2021-06-25T17:46:42Z")

</div>

hi,  
im trying to run DEseq2 on 2 file. one for control and one for treated. but it showing an error that input file has repeated input file.  
can anyone help me?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/galaxy/original/2X/f/f34e511935b2a9478564d500f4cb9cb605cbdfd0.png)

---

<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:** [June 25, 2021, 9:40pm UTC](https://help.galaxyproject.org/t/troubleshooting-problems-with-deseq2/6290/2 "2021-06-25T21:40:12Z")

</div>

@fatema_begum

Replicates are required with this tool plus most DE tools.

The “different number of rows” report indicates that the same reference annotation was probably not used for each counting step.

FAQ: [Help for Differential Expression Analysis](https://galaxyproject.org/support/diff-expression/)

Tutorials were already referenced above. Plus I added a few tags to your post that will likely help.

Best

---

<div class="post-metadata">

**Author:** ![fatema\_begum](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/fatema_begum/32/2593_2.png) [@fatema\_begum](https://help.galaxyproject.org/u/fatema_begum)\
**Post date:** [June 28, 2021, 9:27pm UTC](https://help.galaxyproject.org/t/troubleshooting-problems-with-deseq2/6290/3 "2021-06-28T21:27:15Z")

</div>

I did tried with replicates and still having the same issues.

---

<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:** [June 28, 2021, 11:53pm UTC](https://help.galaxyproject.org/t/troubleshooting-problems-with-deseq2/6290/4 "2021-06-28T23:53:56Z")

</div>

Hi @fatema_begum

> [@fatema\_begum](#):
>
> I did tried with replicates and still having the same issues.

If you have replicates now, check that the number of lines for each count dataset are the same. There should be at least four unique count datasets input to the tool.

Each line represents a gene (plus optionally, one header line). Should the number of lines be different between count files, then that indicates a problem with the reference annotation or perhaps how you are counting (this tool expects counts by “gene”).

The FAQ above covers nearly all the issues that can come up with this tool and other similar tools. Your original posted error had two problems: 1) no replicates and 2) a different number of lines (genes) for each of the two inputs.

Check the new error message: If the line counts are different, you’ll need to review the upstream analysis to fix the annotation/counting problems. The “End to End” tutorials have an example. [Galaxy Training!](https://training.galaxyproject.org/training-material/topics/transcriptomics/)

Ps: Please help to keep the conversation on a single topic by avoiding cross-posting to other topics. I saw that you posted on the topic below about this same issue. That post is a good reference, specifically the sentence below, but let’s keep troubleshooting your issue in this topic. If you need or want to reference other topics, capture the link and post it back here.

> [@DEseq2 error with different numbers of rows](https://help.galaxyproject.org/t/deseq2-error-with-different-numbers-of-rows/5888/8):
>
> Can you check if your count files have the same number of rows and order. Meaning, have you used the same annotation for all your files?

---

<div class="post-metadata">

**Author:** ![fatema\_begum](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/fatema_begum/32/2593_2.png) [@fatema\_begum](https://help.galaxyproject.org/u/fatema_begum)\
**Post date:** [June 29, 2021, 4:43am UTC](https://help.galaxyproject.org/t/troubleshooting-problems-with-deseq2/6290/5 "2021-06-29T04:43:29Z")

</div>

Hi,  
I used the same annotation for all of them but i have different number of rows for replicates. How can i solve it? I followed the steps from above steps you mentioned but still having the same issues.

---

<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:** [June 29, 2021, 4:43pm UTC](https://help.galaxyproject.org/t/troubleshooting-problems-with-deseq2/6290/6 "2021-06-29T16:43:10Z")

</div>

Hi @fatema_begum

> [@fatema\_begum](#):
>
> I used the same annotation for all of them but i have different number of rows for replicates.

This shouldn’t be possible unless some kind of manipulation was done after counting.

Are you working at a public Galaxy server? Which one (URL)?

---

<div class="post-metadata">

**Author:** ![fatema\_begum](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/fatema_begum/32/2593_2.png) [@fatema\_begum](https://help.galaxyproject.org/u/fatema_begum)\
**Post date:** [June 29, 2021, 5:44pm UTC](https://help.galaxyproject.org/t/troubleshooting-problems-with-deseq2/6290/7 "2021-06-29T17:44:03Z")

</div>

Yes im working on public server [usegalaxy.org](http://usegalaxy.org). i used dm6 reference annotated file in gtf format for all of my analysis. I didn’t do any manipulation after stringtie and did feature count also and then did deseq2.

---

<div class="post-metadata">

**Author:** ![fatema\_begum](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/fatema_begum/32/2593_2.png) [@fatema\_begum](https://help.galaxyproject.org/u/fatema_begum)\
**Post date:** [June 30, 2021, 9:33pm UTC](https://help.galaxyproject.org/t/troubleshooting-problems-with-deseq2/6290/8 "2021-06-30T21:33:33Z")

</div>

hi,  
anyone can help on that?

---

<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:** [June 30, 2021, 10:09pm UTC](https://help.galaxyproject.org/t/troubleshooting-problems-with-deseq2/6290/9 "2021-06-30T22:09:58Z")

</div>

Hi @fatema_begum

Please submit the problem from the error dataset and we can help with a closer review. How to: click on the “bug” icon from the red error dataset, fill out the form adding comments, and submit.

Please be sure to:

1. Leave all upstream steps/datasets in the history as undeleted.
2. Capture the URL from this topic/conversation and paste that into the comments, so we can link the two together.

Thanks!

---

<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:** [July 22, 2025, 9:57pm UTC](https://help.galaxyproject.org/t/troubleshooting-problems-with-deseq2/6290/10 "2025-07-22T21:57:42Z")

</div>


