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
              Best Practices for Single-Cell Sequencing Analysis
              by seqadmin



              While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
              Yesterday, 07:15 AM
            • seqadmin
              Latest Developments in Precision Medicine
              by seqadmin



              Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

              Somatic Genomics
              “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
              05-24-2024, 01:16 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 08:18 AM
            0 responses
            13 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, Yesterday, 08:04 AM
            0 responses
            12 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 06-03-2024, 06:55 AM
            0 responses
            13 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-30-2024, 03:16 PM
            0 responses
            27 views
            0 likes
            Last Post seqadmin  
            Working...
            X