# edgeR Error Message

**URL:** <https://help.galaxyproject.org/t/edger-error-message/8789>\
**Category:** Uncategorized\
**Tags:** transcriptomics, edger\
**Created:** [October 5, 2022, 6:38pm UTC](https://help.galaxyproject.org/t/edger-error-message/8789 "2022-10-05T18:38:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lordyiffles](https://avatars.discourse-cdn.com/v4/letter/l/49beb7/32.png) [@lordyiffles](https://help.galaxyproject.org/u/lordyiffles)\
**Post date:** [October 5, 2022, 6:38pm UTC](https://help.galaxyproject.org/t/edger-error-message/8789/1 "2022-10-05T18:38:16Z")

</div>

I received the following error message while running edgeR, please address this issue, thanks!

Warning message:  
In Sys.setlocale(“LC\_MESSAGES”, “en\_US.UTF-8”) :  
OS reports request to set locale to “en\_US.UTF-8” cannot be honored  
Error in glmFit.default(sely, design, offset = seloffset, dispersion = 0.05, :  
nrow(design) disagrees with ncol(y)  
Calls: estimateDisp … estimateDisp → estimateDisp.default → glmFit → glmFit.default

---

<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 6, 2022, 1:27am UTC](https://help.galaxyproject.org/t/edger-error-message/8789/2 "2022-10-06T01:27:52Z")

</div>

Hi @lordyiffles

I replied to your bug report already but for others reading:

This type of error message from any `Bioconductor` or `R` tool means that there is a labeling problem or design problem. The details usually have some clues – this message is stating that the tool ran into a mismatch between the rows and columns of the inputs.

> [@lordyiffles](#):
>
> **nrow(design) disagrees with ncol(y)**

Click into the ℹ icon for a dataset to see what was used to produce that data (error or success). This is an easier view to review tool inputs and parameters in a summary format. Often, this alone reveals what the job problems were, along with the content of the logs on that same view (`stderr`, `stdout`). And, this is the same information to share when asking a question here.

For your data, it looks like there is an extra column in the count matrix that is not associated with a sample name in the factor matrix. The tool `Cut` can be used to remove that column.

Examples of these data are on the tool form, plus at the resources below. You might also need to:

1. adjust headers in the factor matrix
2. remove Geneid rows from the count matrix if all sample counts are 0
3. find out why the “database” metadata is set to `hg38Patch11` instead of just `hg38` for both of these inputs. Only `hg38` is indexed at the usegalaxy.\* servers. Avoid assigning native metadata keys unless you are certain they apply. Mixups can lead to content problems that are very hard to detect.

**FAQs**

- [analysis](https://training.galaxyproject.org/training-material/faqs/galaxy/#analysis)
- [understanding-input-error-messages](https://training.galaxyproject.org/training-material/faqs/galaxy/#understanding-input-error-messages)
- [mismatched-chromosome-identifiers-and-how-to-avoid-them](https://training.galaxyproject.org/training-material/faqs/galaxy/#mismatched-chromosome-identifiers-and-how-to-avoid-them)

**Galaxy Tutorials**

> **[Galaxy Training: Transcriptomics](https://training.galaxyproject.org/training-material/topics/transcriptomics/)**
>
> Training material for all kinds of transcriptomics analysis.

**Related Q&A at this Galaxy Forum**

- [Search results for 'bioconductor' - Galaxy Community Help](https://help.galaxyproject.org/search?q=bioconductor)
- [Topics tagged edger](https://help.galaxyproject.org/tag/edger)

**Other Forums** – many existing public solutions will also apply to the Galaxy wrapped versions of tools. Searching with error codes is usually enough. If you can’t find a solution, or need help translating a command-line function to a Galaxy tool form’s options, please come back and ask your question here.

- [https://www.biostars.org/](https://www.biostars.org/)
- [https://support.bioconductor.org/](https://support.bioconductor.org/)

Thanks! 🚀
