Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • #16
    Hi jtamames,

    I hate to say it, but that is probably the topic of a new thread. If you have exhausted your trouble-shooting, I'd open a new thread and detail the error and what you've attempted. Then, contact Dr. Daniel Huson and include a link to your thread so that Dr. Huson's response may be of benefit to the community.

    Thanks!

    Comment


    • #17
      How to save functional counts using command line MEGAN

      [QUOTE=jtamames;150694]
      To save functional counts using MEGAN in command line requires that the corresponding functional viewer is opened, using the command
      show window=KeggViewer; (or CogViewer or SeedViewer).

      The following script opens a file, shows the KeggViewer, sets the command "context" to the KeggViewer, uncollapses the tree, selects all the leaves and then exports counts for KEGG paths.

      open file='/Users/huson/tmp/data.rma';
      show window=KeggViewer;
      set context=KeggViewer;
      update;
      uncollapse nodes=all;
      select nodes=leaves;
      export what=CSV format=keggpath_count separator=tab file='/Users/huson/tmp/counts.txt';
      quit;

      Comment


      • #18
        Can not export KEGG annotations

        Hi Daniel,

        I tried to use example to export but it doesn't work. My command file contains this:

        Code:
        open file='all_samples.CARD.daa.m8.reduced.contigs_names.fasta.daa.m8.with_filename.rma';
        show window=KeggViewer;
        set context=KeggViewer;
        update;
        uncollapse nodes=all;
        select nodes=leaves;
        export what=CSV format=keggpath_count separator=tab file='all_samples.CARD.daa.m8.reduced.contigs_names.fasta.daa.m8.with_filename.rma.out_kegg';
        quit;
        The output was this:

        Code:
        Command: set context=KeggViewer;
        Executing: set context=KeggViewer;
        Context set to: KeggViewer
        Command: update;
        Executing: update;
        updating Kegg viewer
        kegg2data: 0
        Induce KEGG tree, keeping 0 of 30787 nodes for 0 classes
        No KEGG data available
        Command: uncollapse nodes=all;
        Executing: uncollapse nodes=all;
        kegg2data: 0
        Induce KEGG tree, keeping 0 of 30787 nodes for 0 classes
        No KEGG data available
        Command: select nodes=all;
        Executing: select nodes=all;
        Number of nodes selected: 1
        Command: export what=CSV format=keggpath_count separator=tab file='out_kegg';
        Executing: export what=CSV format=keggpath_count separator=tab file='out_kegg';
        Export in CSV format: Initializing
        KEGG to counts
        done 1
        Message - Wrote 1 line(s) to file: out_kegg
        Command: quit;
        Executing: quit;
        And the content of my output file was a single line like this: "KEGG;"

        Comment


        • #19
          It looks like you are using MEGAN5, please consider using MEGAN6.
          Unfortunately, don't have time to fix MEGAN5 issues, but are you sure that your file has KEGG assignments? That might be the problem.

          Comment


          • #20
            MEGAN5 instead of MEGAN6

            Hi Daniel,
            I am using MEGAN5 with the most actual mapping file. Using it at the interactive mode I can determine the KEGG annotation. The problem is when I use it by command line. I will try to use MEGAN6 by command line.

            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...
              Yesterday, 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, Today, 06:57 AM
            0 responses
            9 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, Yesterday, 07:17 AM
            0 responses
            13 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-02-2024, 08:06 AM
            0 responses
            19 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-30-2024, 12:17 PM
            0 responses
            22 views
            0 likes
            Last Post seqadmin  
            Working...
            X