Hello, I'm trying to simply convert an Ensembl ID to a uniprot gene symbol. I've been trying to find something for this but it's like finding a needle in a haystack. I think I should use $gene->external_name() from the BioMart API, but I'm not sure how to correctly incorporate this in my script (which modules to use, what elements are needed etc). I need this because I have hundreds of files with RNAseq data and for each file I remove the unexpressed genes. In the resulting list of expressed genes, there are a lot of pseudogenes, which I do not need. When I convert the Ensembl ID to gene name, the actual genes (with a gene symbol) can be easily extracted. I can do this conversion with biomart or some other tool but that's too much work for hunderds of files. That's why I need a simple function in my script to convert the ID in each line to gene symbol, and insert it in the next column. Does anyone have an idea how to do this? Thanks in advance.

In reply to Converting Ensembl ID to gene symbol by thomaster

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.