Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • RDP classifier training issues

    I am unsuccessfully attempting to retrain the RDP classifier, version 2.7 on the UNITE fungal database. I have tried reformatting and generating a custom tax file with entries like this, following the examples in the sample files folder:
    Code:
    0*Root*-1*0*rootrank
    1*Fungi*0*1*domain
    2*Chytridiomycota*1*2*phylum
    3*Neocallimastigomycetes*2*3*class
    4*Neocallimastigales*3*4*order
    5*Neocallimastigaceae*4*5*family
    6*Piromyces*5*6*genus
    7*Piromyces_sp_I_GRL_10*6*7*species
    8*Piromyces_sp_D_GRL_5*6*7*species
    9*Piromyces_sp_AF_CTS_BTP1*6*7*species
    10*Orpinomyces*5*6*genus
    11*Orpinomyces_sp_NIANP60*10*7*species
    12*Orpinomyces_sp_AF_CTS_BTO1*10*7*species
    13*Orpinomyces_sp_AF_CTS_CHO3*10*7*species
    I reformatted the headers in the UNITE file to look like this:
    Code:
    >Phaeoacremonium_pallidum|EU128053|SH114132.06FU|refs|r__Root;d__Fungi;p__Ascomycota;c__Sordariomycetes;o__Diaporthales;f__Togniniaceae;g__Phaeoacremonium;s__Phaeoacremonium_pallidum;
    However, running the following command
    Code:
    java -jar rdp_classifier_2.7/dist/classifier.jar train --seq sh_
    input.fasta -t rdp_tax_file.txt -o ~/rdp_classifier/
    gives the following error:
    Code:
    Exception in thread "main" java.lang.NumberFormatException: For input string: ""
            at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
            at java.lang.Integer.parseInt(Integer.java:504)
            at java.lang.Integer.<init>(Integer.java:677)
            at edu.msu.cme.rdp.classifier.train.TreeFactory.addSequencewithTaxid(TreeFactory.java:157)
            at edu.msu.cme.rdp.classifier.train.TreeFactory.addSequence(TreeFactory.java:141)
            at edu.msu.cme.rdp.classifier.train.ClassifierTraineeMaker.<init>(ClassifierTraineeMaker.java:72)
            at edu.msu.cme.rdp.classifier.train.ClassifierTraineeMaker.main(ClassifierTraineeMaker.java:171)
            at edu.msu.cme.rdp.classifier.cli.ClassifierMain.main(ClassifierMain.java:60)
    Can anyone help me figure this out? Pretty sure I am missing something quite obvious, like for example changing the fasta headers to match the numbers in the tax file.

  • #2
    I am trying to use SILVA database to train RDP classifier to species level. I don't even know how the taxonomy file is generated. And in the RDP README file, it didn't say neither...I don't know how this retrain feature is useful

    Comment


    • #3
      Did you get any lead on this? I've similar query at this page.
      Bioinformaticscally calm

      Comment


      • #4
        I found this script useful to retrain SILVA.

        FROGS is a galaxy/CLI workflow designed to produce an OTUs count matrix from high depth sequencing amplicon data. - geraldinepascal/FROGS

        Comment


        • #5
          Still trying to figure out how to construct the taxonomy file

          Hi everyone,

          I am still trying to figure out how to construct the taxonomy file. What is the rule for putting the taxonomy ID and name together? Any leads will be appreciated.

          Thanks,

          Eddi

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Recent Advances in Sequencing Analysis Tools
            by seqadmin


            The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
            05-06-2024, 07:48 AM
          • seqadmin
            Essential Discoveries and Tools in Epitranscriptomics
            by seqadmin




            The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
            04-22-2024, 07:01 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 05-14-2024, 07:03 AM
          0 responses
          19 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-10-2024, 06:35 AM
          0 responses
          43 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-09-2024, 02:46 PM
          0 responses
          53 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-07-2024, 06:57 AM
          0 responses
          42 views
          0 likes
          Last Post seqadmin  
          Working...
          X