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
              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
            • 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Today, 11:49 AM
            0 responses
            13 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, Yesterday, 08:47 AM
            0 responses
            16 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            61 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            60 views
            0 likes
            Last Post seqadmin  
            Working...
            X