Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neokao
    Member
    • Mar 2015
    • 30

    #1

    gene level analysis (lincRNA, pseudogenes) ?

    Hey, there,

    I used STAR and featurecounts on 20 mouse samples from RNAseq.
    With many helps from the forums, now I got lists of DEGs.

    I realized that there are quite some lincRNA pseudogenes in my DEG lists.
    I was planing to exclude them from the following network, enrichment analysis, etc (using X2K package, and DAVID...any other suggestions?). I plan to deal with lincRNA separately from the rest protein coding genes and discard the pseudogenes. What do people usually do with these kind genes in the RNAseq field?


    On the other hand, I do have lists of DEGs from BWA/DESeq2 analysis. These lists of DEG use RefSeq ID as the primary keys. I have used Biomart in Bioconductor to do the annotation to add MGI symbol and description. I found that with Biomart there are still some RefSeq IDs mapped to "NA" in the SYMBOL columns. I manually searched a particular RefSEqID with NA symbol in MGI and I did find a gene name associated with it. So it seems that Biomart/ENSEMBL is not very updated. How could I do more update on these missing symbols?

    I was following the instruction of http://www.bioconductor.org/help/wor...Gene/#annotate to update the annotation in my DEG files. I used the code they designed:


    convertIDs <- function( ids, from, to, db, ifMultiple=c("putNA", "useFirst")) {
    stopifnot( inherits( db, "AnnotationDb" ) )
    ifMultiple <- match.arg( ifMultiple )
    suppressWarnings( selRes <- AnnotationDbi::select(
    db, keys=ids, keytype=from, columns=c(from,to) ) )
    if ( ifMultiple == "putNA" ) {
    duplicatedIds <- selRes[ duplicated( selRes[,1] ), 1 ]
    selRes <- selRes[ ! selRes[,1] %in% duplicatedIds, ]
    }
    return( selRes[ match( ids, selRes[,1] ), 2 ] )
    }

    I loaded my DEG csv file to deg_01 first. The id column has all the refseq ids.

    Then

    > deg_01$newMGI_symbol <- convertIDs("deg_01$id", "REFSEQ", "SYMBOL", org.Mm.eg.db)

    Error in .testForValidKeys(x, keys, keytype) :
    None of the keys entered are valid keys for 'REFSEQ'. Please use the keys method to see a listing of valid arguments.

    I checked and the deg_01$id are all refseq ids.

    > deg_01$id
    [1] NM_026268 NM_025777 NM_013478 NR_015524 NM_001099297 NM_177610 NM_001122954
    [8] NM_144834 NM_011110 NM_016668 NM_013820 NM_001145874 NM_001081060 NM_080457


    Any suggestions? Thanks.
    Last edited by neokao; 04-05-2015, 04:43 PM.
  • Michael Love
    Senior Member
    • Jul 2013
    • 333

    #2
    if you look at how convertIDs() is used in that guide, the first argument should be the actual id's vector.

    "deg_01$id" is a character string

    deg_01$id is a vector

    We're working on finding a way to get this function into a package somewhere...

    Comment

    • neokao
      Member
      • Mar 2015
      • 30

      #3
      I actually did this first:

      > deg_01$newMGI_symbol <- convertIDs(deg_01$id, "REFSEQ", "SYMBOL", org.Mm.eg.db)

      Error in .testForValidKeys(x, keys, keytype) :
      'keys' must be a character vector

      Did I misunderstand anything? Any suggestions?

      Comment

      • Michael Love
        Senior Member
        • Jul 2013
        • 333

        #4
        Try investigating the problem with class():

        class(deg_01$id)
        head(deg_01$id)

        Comment

        • neokao
          Member
          • Mar 2015
          • 30

          #5
          > class(deg_01$id)
          [1] "factor"
          > head(deg_01$id)
          [1] NM_026268 NM_025777 NM_013478 NR_015524 NM_001099297 NM_177610
          142 Levels: NM_001004140 NM_001005423 NM_001014976 NM_001024139 NM_001033484 ... NR_073167

          Originally posted by Michael Love View Post
          Try investigating the problem with class():

          class(deg_01$id)
          head(deg_01$id)

          Comment

          • neokao
            Member
            • Mar 2015
            • 30

            #6
            It turned out the issue is on the "factor".

            I followed the Bioconductor's suggestion and did:

            > deg_01$newMGI_symbol <- convertIDs(as.character(deg_01$id), "REFSEQ", "SYMBOL", org.Mm.eg.db)

            It worked. I did not know that factor vs character makes such a difference because the same input works well with biomaRt .

            Comment

            Latest Articles

            Collapse

            • SEQadmin2
              Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
              by SEQadmin2



              Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

              Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
              ...
              10-14-2026, 09:55 AM
            • SEQadmin2
              New Genomics Technologies Take Aim at Long-Standing Limits
              by SEQadmin2


              Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

              We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
              ...
              09-28-2026, 10:25 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 10-22-2026, 11:13 AM
            0 responses
            25 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-22-2026, 10:48 AM
            0 responses
            20 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-15-2026, 10:52 AM
            0 responses
            36 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            42 views
            0 reactions
            Last Post SEQadmin2  
            Working...