Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • MEGAN - how the heck?

    Hey All,

    For hours I have been trying to export the taxa chart from MEGAN (command line). Specifically, I wan't it to save this image:



    But instead, every time I get the main window:



    I have tried pretty much everything I terms of commands - including:

    Code:
    open file='/idi/sabetilab/kandersen/analysis/120104-meta_test/megan/G193_new6.rma'; update; select nodes=leaves; update; show chart=taxa; update; exportimage file='/idi/sabetilab/kandersen/analysis/120104-meta_test/megan/G193_7.png' replace=true format=png;
    Code:
    open file='/idi/sabetilab/kandersen/analysis/120104-meta_test/megan/G193_new6.rma'; select nodes=leaves; update; show chart=taxa; update; exportimage file='/idi/sabetilab/kandersen/analysis/120104-meta_test/megan/G193_7.png' replace=true format=png;
    Code:
    load gi2taxfile='/idi/sabetilab/kandersen/bin/megan/class/resources/files/gi_taxid_nucl.bin'; import blastfile='/idi/sabetilab/kandersen/analysis/120104-meta_test/megan/G193.blastn.txt' fastafile='/idi/sabetilab/kandersen/analysis/120104-meta_test/megan/G193_contigs.fasta' meganfile='/idi/sabetilab/kandersen/analysis/120104-meta_test/megan/G193_new6.rma' useseed=false usekegg=false; update; select nodes=leaves; show chart=taxa; update; exportimage file='/idi/sabetilab/kandersen/analysis/120104-meta_test/megan/G193_5.svg' replace=true format=svg;
    However, nothing works! Every time the program prints the main window. I know you are supposed to be able to 'set context=', but this only appears to be working with SEED and KEEG. I have tried to throw in the 'update;' in various places, but that also doesn't appear to be doing anything. I love MEGAN, but boy, is the documentation sketchy at times!

    Any thoughts on how I can get MEGAN to output my taxa charts?

    Thanks so much

  • #2
    If you only need 300dpi, then
    -maximise
    -take screenshot
    -load in gimp
    -trim
    -stretch with interpolation (amazingly, this seems to work well)
    -readjust print size
    -save as tif etc

    Comment

    Latest Articles

    Collapse

    • 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
    • seqadmin
      Techniques and Challenges in Conservation Genomics
      by seqadmin



      The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

      Avian Conservation
      Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
      03-08-2024, 10:41 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, Yesterday, 06:37 PM
    0 responses
    10 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, Yesterday, 06:07 PM
    0 responses
    9 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 03-22-2024, 10:03 AM
    0 responses
    49 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 03-21-2024, 07:32 AM
    0 responses
    67 views
    0 likes
    Last Post seqadmin  
    Working...
    X