Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • loading custom annotation on topgo

    Hi,

    I'm stuck on loading my customize annotation on topgo using R. I have a .txt file containing list of genes and their GO Ids.

    Genes Gene ontology IDs
    c10020_g1 GO:0047021; GO:0019369; GO:0004090; GO:0019371; GO:0005829; GO:0017144; GO:0030855; GO:0070062; GO:0055114; GO:0016655; GO:0050221; GO:0044281; GO:0042373
    c10035_g1 GO:0005524; GO:0016887; GO:0005929; GO:0005737; GO:0030286; GO:0005874; GO:0003777; GO:0007018; GO:0005515
    c10052_g1 GO:0005737; GO:0016021; GO:0008168

    When I tried to upload this to topgo, here's the error message:

    > geneID2GO <- readMappings(file = ".../Htub_gene_list_complete_annots.txt", sep="\t")

    Error in `[.data.frame`(a, , 2) : undefined columns selected
    In addition: Warning messages:
    1: In read.table(file = file, header = header, sep = sep, quote = quote, :
    line 1 appears to contain embedded nulls
    2: In read.table(file = file, header = header, sep = sep, quote = quote, :
    line 3 appears to contain embedded nulls
    3: In read.table(file = file, header = header, sep = sep, quote = quote, :
    line 4 appears to contain embedded nulls
    4: In read.table(file = file, header = header, sep = sep, quote = quote, :
    line 5 appears to contain embedded nulls
    5: In scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
    embedded nul(s) found in input


    I can't figure out what is wrong? Can somebody help me. thanks!


    Best,
    Christine

  • #2
    Hi again,

    I loaded the custom annotation successfully, however when I tried to load my list of DEGs with Pvalues, I again encountered an error


    DEGs PValue
    c33534_g1 2.61E-239
    c52364_g1 3.60E-211
    c57190_g1 2.24E-178
    c56306_g1 2.17E-175
    c52707_g1 7.61E-182
    c49291_g10 3.08E-154
    c53016_g2 1.03E-169

    > AvsB <- read.csv("/Users/mmbl/Desktop/Htub_edgeR_filtered_AvsB.csv", header = TRUE)
    Error in read.table(file = file, header = header, sep = sep, quote = quote, :
    duplicate 'row.names' are not allowed
    In addition: Warning messages:
    1: In read.table(file = file, header = header, sep = sep, quote = quote, :
    line 1 appears to contain embedded nulls
    2: In read.table(file = file, header = header, sep = sep, quote = quote, :
    line 2 appears to contain embedded nulls
    3: In read.table(file = file, header = header, sep = sep, quote = quote, :
    line 4 appears to contain embedded nulls
    4: In read.table(file = file, header = header, sep = sep, quote = quote, :
    line 5 appears to contain embedded nulls
    5: In scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
    embedded nul(s) found in input

    It says that i have duplicates in row.names, but Im sure that the genes are all unique.

    thanks,
    christine

    Comment


    • #3
      Help solve problems for the next ones

      Hello tinguzman
      Since you figured out by yourself how to fix the first problem would you mind sharing
      your solution ? I just encountered the same issue and was a little bit disappointing that
      you managed to fix it but you don't tell us how.
      cheers

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM
      • seqadmin
        Strategies for Sequencing Challenging Samples
        by seqadmin


        Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
        03-22-2024, 06:39 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      24 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      25 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      23 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      52 views
      0 likes
      Last Post seqadmin  
      Working...
      X