Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • SanderEST
    Junior Member
    • Jun 2012
    • 4

    GOSeq analysis problem with geneLenDataBase

    Hi!

    I am doing analysis on my RNA-Seq data. When I reached to the GOSeq I encountered a problem as there is no support for the genome and gene references I need. The error message:

    > pwf=nullp(genes,"mm10","refGene")
    Error in getlength(names(DEgenes), genome, id) :
    Length information for genome mm10 and gene ID refGene is not in the geneLenDataBase database. You will have to specify bias.data manually.

    Is it even possible to manually add length data or how should I proceed? I could easily get the lengths from the reference files, but how can I import the gene lengths to GOSeq? Or maybe my only option is to wait for the upgrade of geneLenDataBase?

    Thanks in advance!
  • dariober
    Senior Member
    • May 2010
    • 311

    #2
    Hi,

    If you can get gene length data, you can pass it as a vector to the argument bias.data of nullp. The length data format is (from http://www.bioconductor.org/packages.../doc/goseq.pdf)

    5.1 Length data format
    The length data must be formatted as a numeric vector, of the same length as the main named vector specifying gene names/DE genes. Each entry should give the length of the corresponding gene in bp. If length data is unavailable for some genes, that entry should be set to NA.
    Good luck!
    Dario

    Comment

    • SanderEST
      Junior Member
      • Jun 2012
      • 4

      #3
      Thank you a lot! I should have read the manual more carefully. Actually the manual resolves my current issues clearly, but thank you for pointing that out!

      Sander

      Comment

      • jfrias
        Junior Member
        • Aug 2012
        • 1

        #4
        Dear Dario,

        I was having the same problems Sander had and even following the format suggested in the manual I could not get rid of them. I really do not know what I am doing wrong.
        I created a mock set of results to test the procedure. This is the code I am using:

        > de.genes <- scan("de_genes.txt", what=character() )
        Read 27 items
        > assayed.genes <- scan("all_genes.txt", what=character() )
        Read 37 items
        > gene.length=scan("gene_lengths.txt", what=numeric() )
        Read 27 items
        > names(gene.vector) = assayed.genes
        > pwf=nullp(gene.vector,bias.data=gene.length)
        Error in nullp(gene.vector, bias.data = gene.length) :
        bias.data vector must have the same length as DEgenes vector!

        R is telling me the size of de.genes and gene.length is the same but it stills sends me the error message. If would really appreciate if someone could help me with this problem.

        Thanks

        Jorge

        Comment

        • thanhhoang
          Member
          • Jul 2013
          • 16

          #5
          Hi guys,
          I have a similar problem as well when working with GOSeq. There is support for mm10 genome but not Gene ID ( I am using geneSymbol).
          I am trying to get length information by following the Goseq manual but I still dont understand. So, could you please show me how to get the length information for mm10 genome and geneID geneSymbol ?

          >genes = as.integer(all.genes %in% F.genes)
          > names(genes) = all.genes
          > head(genes)
          Cryba1 Cryba4 Cryga Crygb Crygc Crygd
          1 1 1 1 1 1
          > pwf=nullp(genes,"mm10", "geneSymbol")
          Can't find mm10/geneSymbol length data in genLenDataBase... Trying to download from UCSC. This might take a couple of minutes.
          Error in value[[3L]](cond) :
          Length information for genome mm10 and gene ID geneSymbol is not available. You will have to specify bias.data manually.

          Thank you so much

          Comment

          Latest Articles

          Collapse

          • mylaser
            Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
            by mylaser
            Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
            If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
            This guide explains everything you need to know about...
            Yesterday, 01:13 AM
          • SEQadmin2
            Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
            by SEQadmin2



            Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
            ...
            07-09-2026, 11:10 AM
          • SEQadmin2
            Cancer Drug Resistance: The Lingering Barrier to Rising Survival
            by SEQadmin2



            Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

            There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
            07-08-2026, 05:17 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 07-09-2026, 10:04 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-08-2026, 10:08 AM
          0 responses
          11 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-07-2026, 11:05 AM
          0 responses
          28 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-02-2026, 11:08 AM
          0 responses
          31 views
          0 reactions
          Last Post SEQadmin2  
          Working...