Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to convert UCSC gene names to gene symbol

    T have got a list of genes in UCSC ID, such as "uc001awt.1 uc002mbq.2 uc003etw.1". But what I want is gene in symbol, such as "CDC6 MCM2 MCM3 MCM4 CDC2".
    I tried the tool mentioned in http://seqanswers.com/forums/showthr...sc+gene+symbol
    But it doesn't work since that tool seems can not recognize UCSC ID.
    Is there any tool that can convert UCSC name to the symbol? Or I used that tool in the wrong way?
    Thanks!

  • #2
    There's a conversion tool at the David website: http://david.abcc.ncifcrf.gov/conversion.jsp

    Comment


    • #3
      Through the UCSC genome browser:

      Select 'Tables' in the top of the page -> genome -> assembly -> gene and gene prediction tracks -> known gene-> paste/upload the list of accessions-> output format: selected fields from primary and... -> give an output file name -> get output-> choose 'name: name of gene' and 'gene symbol' -> get output -> there you are !!!

      regards!

      Comment


      • #4
        Originally posted by osvaldo View Post
        Through the UCSC genome browser:

        Select 'Tables' in the top of the page -> genome -> assembly -> gene and gene prediction tracks -> known gene-> paste/upload the list of accessions-> output format: selected fields from primary and... -> give an output file name -> get output-> choose 'name: name of gene' and 'gene symbol' -> get output -> there you are !!!

        regards!
        my 2p...

        You can implement osvaldo's solution as a script, if more suitable to your needs, assuming you have mysql on your machine:

        Code:
        assembly='mm9'       ## Species and assembly you want to query
        ucsc_ids="'uc007aet.1', 'uc007aeu.1', 'uc007aev.1'" ## IDs to convert
        
        mysql --user=genome --host=genome-mysql.cse.ucsc.edu --disable-auto-rehash -e \
        "SELECT DISTINCT knownGene.name, kgXref.geneSymbol
        FROM $assembly.knownGene INNER JOIN $assembly.kgXref ON
            knownGene.name = kgXref.kgID
        WHERE knownGene.name IN ($ucsc_ids);" > ucsc2symbols.txt
        
        cat ucsc2symbols.txt
        name	         geneSymbol
        uc007aet.1       mKIAA1889
        uc007aeu.1       Xkr4
        uc007aev.1       AK149000
        Best,
        Dario

        Comment


        • #5
          Thanks to all above.
          I've solved it. Try as below:
          UCSC->Table->clade(Mammal)->genome(Human)->assembly(GRch37/hg19)->group(Genes and Gene Prediction Tracks)->track(RefSeq Genes)->table(kgXref)->output format(selected fields from primary and related tables)->get output->select "kgID" and "geneSymbol", than get output.
          You'll get a file contains UCSC gene ID vs. symbol. Use this file to replace the UCSC gene ID with symbol in your refgene file.
          Last edited by gigigou; 08-09-2012, 01:05 AM.

          Comment


          • #6
            thanks!! this works!

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Advanced Methods for the Detection of Infectious Disease
              by seqadmin




              The recent pandemic caused worldwide health, economic, and social disruptions with its reverberations still felt today. A key takeaway from this event is the need for accurate and accessible tools for detecting and tracking infectious diseases. Timely identification is essential for early intervention, managing outbreaks, and preventing their spread. This article reviews several valuable tools employed in the detection and surveillance of infectious diseases.
              ...
              Yesterday, 01:15 PM
            • seqadmin
              Strategies for Investigating the Microbiome
              by seqadmin




              Microbiome research has led to the discovery of important connections to human and environmental health. Sequencing has become a core investigational tool in microbiome research, a subject that we covered during a recent webinar. Our expert speakers shared a number of advancements including improved experimental workflows, research involving transmission dynamics, and invaluable analysis resources. This article recaps their informative presentations, offering insights...
              11-09-2023, 07:02 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 08:12 AM
            0 responses
            14 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 11-22-2023, 09:29 AM
            1 response
            46 views
            0 likes
            Last Post VilliamPast  
            Started by seqadmin, 11-22-2023, 08:53 AM
            0 responses
            30 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 11-21-2023, 08:24 AM
            0 responses
            23 views
            0 likes
            Last Post seqadmin  
            Working...
            X