# RSEM prepare reference tool does not produce valid reference files

**URL:** <https://help.galaxyproject.org/t/rsem-prepare-reference-tool-does-not-produce-valid-reference-files/8109>\
**Category:** usegalaxy.eu support\
**Created:** [May 26, 2022, 8:16am UTC](https://help.galaxyproject.org/t/rsem-prepare-reference-tool-does-not-produce-valid-reference-files/8109 "2022-05-26T08:16:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![epavlinek](https://avatars.discourse-cdn.com/v4/letter/e/e9bcb4/32.png) [@epavlinek](https://help.galaxyproject.org/u/epavlinek)\
**Post date:** [May 26, 2022, 8:16am UTC](https://help.galaxyproject.org/t/rsem-prepare-reference-tool-does-not-produce-valid-reference-files/8109/1 "2022-05-26T08:16:29Z")

</div>

Hello, I’m doing some differential expression analysis on RNA-Seq data. All steps have been previously (successfully) run in command line and now I’m trying to create a workflow on Galaxy for the same procedure.

I got stuck on using the RSEM tool. When I try to run _RSEM prepare reference_, it does not produce the “red error”, but it does not produce a valid RSEM reference file either. When I try to use the created reference file in the next step, the _RSEM calculate expression_, the tool does not recognise any valid reference files in my history. I downloaded and inspected the file and it contains only the name of the file in it and nothing else.

When using _RSEM prepare reference_, I have tried creating the reference in 3 different ways, using the:

1. previously assembled transcriptome
2. newly assembled transcriptome that I have assembled on Galaxy
3. reference genome and a gtf file  
and none of it creates the “red error” or the valid file.

When I do it independently of Galaxy in command line with the same data, it all works fine so it doesn’t seem like the problem lies in the data. Can someone please tell me if I’m doing something wrong or there’s a bug in the tool?

Thank you!

---

<div class="post-metadata">

**Author:** ![prao123](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/prao123/32/2456_2.png) [@prao123](https://help.galaxyproject.org/u/prao123)\
**Post date:** [December 7, 2022, 6:24pm UTC](https://help.galaxyproject.org/t/rsem-prepare-reference-tool-does-not-produce-valid-reference-files/8109/2 "2022-12-07T18:24:48Z")

</div>

Hello epavlinek, I was wondering if you resolved this error?  
I am facing the same issue where RSEM calculate expression does not recognize the reference files prepared by RSEM prepare reference tool. The command line tool works great. One thing I have noticed is that the command line version is different than the Galaxy version.

Thanks
