# RNA-STAR and hg38 GTF reference annotation

**URL:** <https://help.galaxyproject.org/t/rna-star-and-hg38-gtf-reference-annotation/749>\
**Category:** usegalaxy.org support\
**Tags:** troubleshooting, transcriptomics, reference-annotation, rna\_star\
**Created:** [March 6, 2019, 9:31pm UTC](https://help.galaxyproject.org/t/rna-star-and-hg38-gtf-reference-annotation/749 "2019-03-06T21:31:46Z")\
**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:** [March 6, 2019, 11:05pm UTC](https://help.galaxyproject.org/t/rna-star-and-hg38-gtf-reference-annotation/749/2 "2019-03-06T23:05:57Z")

</div>

Hello,

You need to supply a reference annotation GFT dataset from the history at runtime.

The GTF should be based on the UCSC “hg38” genome build. Some choices:

- For **Gencode** , copy the link to the GTF and paste it into the _Upload_ tool. Hg38 data is here [https://www.gencodegenes.org/](https://www.gencodegenes.org/). After it is loaded, remove the headers (lines that start with a “#”) with the _Select_ tool using the options “NOT Matching” with the regular expression `^#` . Once the formatting is fixed, change the datatype to be `gft` under Edit Attributes (pencil icon). The data will be given the datatype `gff` by default, which works fine with some tools and but not with others. Avoid the `gff3` version of this particular data (contains duplicated IDs and several RNA-seq tools do not work with annotation in that format anyway).
- For **iGenomes** , the archive corresponding to the target genome/build needs to be locally downloaded, the tar archive unpacked, and then just the `genes.gtf` data uploaded to Galaxy (browse the local file, or use FTP). Find all available genome/builds here: [https://support.illumina.com/sequencing/sequencing\_software/igenome.html](https://support.illumina.com/sequencing/sequencing_software/igenome.html)

---

_[View the full topic](https://help.galaxyproject.org/t/rna-star-and-hg38-gtf-reference-annotation/749)._
