# How to get specific genes to show up - Mapping or replacing gene identifiers

**URL:** <https://help.galaxyproject.org/t/how-to-get-specific-genes-to-show-up-mapping-or-replacing-gene-identifiers/558>\
**Category:** usegalaxy.org support\
**Tags:** text-manipulation\
**Created:** [February 2, 2019, 3:12pm UTC](https://help.galaxyproject.org/t/how-to-get-specific-genes-to-show-up-mapping-or-replacing-gene-identifiers/558 "2019-02-02T15:12:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandonkarbs34](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@brandonkarbs34](https://help.galaxyproject.org/u/brandonkarbs34)\
**Post date:** [February 2, 2019, 3:12pm UTC](https://help.galaxyproject.org/t/how-to-get-specific-genes-to-show-up-mapping-or-replacing-gene-identifiers/558/1 "2019-02-02T15:12:06Z")

</div>

Hey can anyone tell me how to get the specific gene to show up in the file. I have tried merging, joining, using Uniprot but can not seem to find a method that works. If anyone knows how to get it, please let me know?

 ![46%20AM](https://us1.discourse-cdn.com/flex020/uploads/galaxy/original/1X/1b6517b3e6425178d9924306b7b08fddb884dad0.jpeg)

---

<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:** [February 4, 2019, 3:52pm UTC](https://help.galaxyproject.org/t/how-to-get-specific-genes-to-show-up-mapping-or-replacing-gene-identifiers/558/2 "2019-02-04T15:52:06Z")

</div>

What you highlight is the Refseq gene identifier ~~symbol~~ for the gene, presumably provided by the reference annotation database used.

From the highlighted example:

- [https://www.genome.jp/dbget-bin/www\_bget?refseq+NC\_013967](https://www.genome.jp/dbget-bin/www_bget?refseq+NC_013967)
- [https://www.ncbi.nlm.nih.gov/gene/8923901](https://www.ncbi.nlm.nih.gov/gene/8923901)
- [https://halo.umbc.edu/cgi-bin/haloweb/hvo.pl?operation=gene\_table](https://halo.umbc.edu/cgi-bin/haloweb/hvo.pl?operation=gene_table)

What gene label/name do you what to convert it to?

---

<div class="post-metadata">

**Author:** ![brandonkarbs34](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@brandonkarbs34](https://help.galaxyproject.org/u/brandonkarbs34)\
**Post date:** [February 4, 2019, 5:48pm UTC](https://help.galaxyproject.org/t/how-to-get-specific-genes-to-show-up-mapping-or-replacing-gene-identifiers/558/3 "2019-02-04T17:48:37Z")

</div>

Hello Jennaj!

I am so sorry for not being specific. I want to convert the gene symbol to the functional protein that corresponds to it.

---

<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:** [February 4, 2019, 8:31pm UTC](https://help.galaxyproject.org/t/how-to-get-specific-genes-to-show-up-mapping-or-replacing-gene-identifiers/558/4 "2019-02-04T20:31:57Z")

</div>

Thanks for the clarification. The method below will work for any organism/identifier format. The `Uniprot` API tool will work with many, but not all.

To replace the value in the dataset, first, find a data source or file that provides the annotation for both the gene value you have and the gene value you want. This data might be your original annotation GTF/GFF, or available at NCBI, or from some other source (like the one I linked above - it requires a login so I didn’t check it fully).

Wherever you source this, reformat the annotation so that it is in a two column tabular dataset. The first value should be the same as is currently in the dataset and the second value is what you want to replace it with. Then use the tool `Text Manipulation > Replace column by values which are defined in a convert file`.

The UCSC Microbial genome browser’s Table Browser [http://microbes.ucsc.edu/](http://microbes.ucsc.edu/) does have RefSeq Gene annotation for this genome. In the primary table, `name` is the RefSeq transcript identifier and `name2` is the gene symbol. You could use that instead as the annotation input for the Cuff\* tools but you’ll need to construct your own GTF file from the primary table as the Table browser will output GTF files with the same value (transcript) populated for both the _transcript\_id_ and _gene\_id_ attributes.

---

<div class="post-metadata">

**Author:** ![brandonkarbs34](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@brandonkarbs34](https://help.galaxyproject.org/u/brandonkarbs34)\
**Post date:** [February 5, 2019, 4:38pm UTC](https://help.galaxyproject.org/t/how-to-get-specific-genes-to-show-up-mapping-or-replacing-gene-identifiers/558/5 "2019-02-05T16:38:43Z")

</div>

Hello Jennaj!

I fairly new to Bioinformatics, could you please elaborate what you mean by the first value and second value in my dataset. Are you talking about in my GTF file? Also, would by chance have any examples of what it should look like?

---

<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:** [February 5, 2019, 4:46pm UTC](https://help.galaxyproject.org/t/how-to-get-specific-genes-to-show-up-mapping-or-replacing-gene-identifiers/558/6 "2019-02-05T16:46:06Z")

</div>

> [@brandonkarbs34](#):
>
> please elaborate what you mean by the first value and second value in my dataset

A plain text file with two columns separated by a “tab” character, no extra whitespace.

```
first_value <hidden_tab> second_value

```

See “Tabular” in these FAQs:

- [Format help for Tabular/BED/Interval Datasets](https://galaxyproject.org/support/tabular/)
- [Common datatypes explained](https://galaxyproject.org/learn/datatypes/)

---

<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:** [April 8, 2026, 2:01am UTC](https://help.galaxyproject.org/t/how-to-get-specific-genes-to-show-up-mapping-or-replacing-gene-identifiers/558/7 "2026-04-08T02:01:17Z")

</div>


