# No Reference GFF file available in ClosestBed tool

**URL:** <https://help.galaxyproject.org/t/no-reference-gff-file-available-in-closestbed-tool/766>\
**Category:** usegalaxy.org support\
**Tags:** macs2, bedtools, reference-annotation\
**Created:** [March 8, 2019, 11:11am UTC](https://help.galaxyproject.org/t/no-reference-gff-file-available-in-closestbed-tool/766 "2019-03-08T11:11:26Z")\
**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 8, 2019, 4:33pm UTC](https://help.galaxyproject.org/t/no-reference-gff-file-available-in-closestbed-tool/766/2 "2019-03-08T16:33:53Z")

</div>

Hi,

At least for the near term, there will be no built-in reference annotation added to this tool. Instead, locate and upload a annotation source and use it “from the history”.

Mouse GTFs can be obtained from Gencode and iGenomes. These versions of the annotation will have the most utility across tools.

This prior Q&A is about human (hg38 + hg19) but the same sources/formatting advice applies for mouse (mm10 + mm9):

> [@RNA-STAR and hg38 GTF reference annotation](https://help.galaxyproject.org/t/rna-star-and-hg38-gtf-reference-annotation/749/2):
>
> - For **Gencode** , copy the link to the GTF and paste it into the _Upload_ tool: [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: [iGenomes](https://support.illumina.com/sequencing/sequencing_software/igenome.html)

---

_[View the full topic](https://help.galaxyproject.org/t/no-reference-gff-file-available-in-closestbed-tool/766)._
