Dear @blaize,
Thank you for providing the file. I used it with my MEGAN installation, and it was recognized correctly. In the GUI, I went to Edit → Preferences → Add Classification, and selected the .tre
file, ensuring all files were in the same directory. After restarting MEGAN and running the daa-meganizer, the file was accessible.
If I want to use the MEGAN GUI for analysis after meganization, I just need to use the new option in the Taxonomy and Function bar.
There are also new options for meganization -a2ncbi_20240214...
etc
/Applications/MEGAN/tools/daa-meganizer
Loading additional classification NCBI_20240214 from: /Applications/MEGAN/files/ncbi_20240214.tre and /Applications/MEGAN/files/ncbi_20240214.map
Loading additional classification VFDB_WEBSITE from: /Applications/MEGAN/files/vfdb_website.tre and /Applications/MEGAN/files/vfdb_website.map
Loading additional classification VFDB from: /Applications/MEGAN/files/vfdb.tre and /Applications/MEGAN/files/vfdb.map
Loading additional classification BIOSURFDB from: /Applications/MEGAN//files/biosurfdb.tre and /Applications/MEGAN/files/biosurfdb.map
SYNOPSIS
Meganizer [options]
DESCRIPTION
Prepares ('meganizes') a DIAMOND .daa file for use with MEGAN
OPTIONS
Files
-i, --in [string(s)] Input DAA file(s). Each is meganized separately. Mandatory option.
-mdf, --metaDataFile [string(s)] Files containing metadata to be included in files.
Mode
-lg, --longReads Parse and analyse as long reads. Default value: false.
Parameters
-class, --classify Run classification algorithm. Default value: true.
-ms, --minScore [number] Min score. Default value: 50.0.
-me, --maxExpected [number] Max expected. Default value: 0.01.
-mpi, --minPercentIdentity [number] Min percent identity. Default value: 0.0.
-top, --topPercent [number] Top percent. Default value: 10.0.
-supp, --minSupportPercent [number] Min support as percent of assigned reads (0==off). Default value: 0.01.
-sup, --minSupport [number] Min support (0==off). Default value: 0.
-mrc, --minPercentReadCover [number] Min percent of read length to be covered by alignments. Default value: 0.0.
-mrefc, --minPercentReferenceCover [number] Min percent of reference length to be covered by alignments. Default value: 0.0.
-mrl, --minReadLength [number] Minimum read length. Default value: 0.
-alg, --lcaAlgorithm [string] Set the LCA algorithm to use for taxonomic assignment. Default value: naive Legal values: naive, weighted, longReads
-lcp, --lcaCoveragePercent [number] Set the percent for the LCA to cover. Default value: 100.0.
-ram, --readAssignmentMode [string] Set the read assignment mode. Default value: alignedBases in long read mode, readCount else
-cf, --conFile [string] File of contaminant taxa (one Id or name per line).
Classification support:
-mdb, --mapDB [string] MEGAN mapping db (file megan-map.db).
-on, --only [string(s)] Use only named classifications (if not set: use all).
Deprecated classification support:
-tn, --parseTaxonNames Parse taxon names. Default value: true.
-a2t, --acc2taxa [string] Accession-to-Taxonomy mapping file.
-s2t, --syn2taxa [string] Synonyms-to-Taxonomy mapping file.
-t4t, --tags4taxonomy [string] Tags for taxonomy id parsing (must set to activate id parsing).
-a2bacmet, --acc2bacmet [string] Accession-to-BACMET mapping file.
-s2bacmet, --syn2bacmet [string] Synonyms-to-BACMET mapping file.
-t4bacmet, --tags4bacmet [string] Tags for BACMET id parsing (must set to activate id parsing).
-a2biosurfdb, --acc2biosurfdb [string] Accession-to-BIOSURFDB mapping file.
-s2biosurfdb, --syn2biosurfdb [string] Synonyms-to-BIOSURFDB mapping file.
-t4biosurfdb, --tags4biosurfdb [string] Tags for BIOSURFDB id parsing (must set to activate id parsing).
-a2card, --acc2card [string] Accession-to-CARD mapping file.
-s2card, --syn2card [string] Synonyms-to-CARD mapping file.
-t4card, --tags4card [string] Tags for CARD id parsing (must set to activate id parsing).
-a2ec, --acc2ec [string] Accession-to-EC mapping file.
-s2ec, --syn2ec [string] Synonyms-to-EC mapping file.
-t4ec, --tags4ec [string] Tags for EC id parsing (must set to activate id parsing).
-a2eggnog, --acc2eggnog [string] Accession-to-EGGNOG mapping file.
-s2eggnog, --syn2eggnog [string] Synonyms-to-EGGNOG mapping file.
-t4eggnog, --tags4eggnog [string] Tags for EGGNOG id parsing (must set to activate id parsing).
-a2gtdb, --acc2gtdb [string] Accession-to-GTDB mapping file.
-s2gtdb, --syn2gtdb [string] Synonyms-to-GTDB mapping file.
-t4gtdb, --tags4gtdb [string] Tags for GTDB id parsing (must set to activate id parsing).
-a2interpro2go, --acc2interpro2go [string] Accession-to-INTERPRO2GO mapping file.
-s2interpro2go, --syn2interpro2go [string] Synonyms-to-INTERPRO2GO mapping file.
-t4interpro2go, --tags4interpro2go [string] Tags for INTERPRO2GO id parsing (must set to activate id parsing).
-a2kegg, --acc2kegg [string] Accession-to-KEGG mapping file.
-s2kegg, --syn2kegg [string] Synonyms-to-KEGG mapping file.
-t4kegg, --tags4kegg [string] Tags for KEGG id parsing (must set to activate id parsing).
-a2ncbi_20240214, --acc2ncbi_20240214 [string] Accession-to-NCBI_20240214 mapping file.
-s2ncbi_20240214, --syn2ncbi_20240214 [string] Synonyms-to-NCBI_20240214 mapping file.
-t4ncbi_20240214, --tags4ncbi_20240214 [string] Tags for NCBI_20240214 id parsing (must set to activate id parsing).
-a2seed, --acc2seed [string] Accession-to-SEED mapping file.
-s2seed, --syn2seed [string] Synonyms-to-SEED mapping file.
-t4seed, --tags4seed [string] Tags for SEED id parsing (must set to activate id parsing).
-a2vfdb, --acc2vfdb [string] Accession-to-VFDB mapping file.
-s2vfdb, --syn2vfdb [string] Synonyms-to-VFDB mapping file.
-t4vfdb, --tags4vfdb [string] Tags for VFDB id parsing (must set to activate id parsing).
-a2vfdb_website, --acc2vfdb_website [string] Accession-to-VFDB_WEBSITE mapping file.
-s2vfdb_website, --syn2vfdb_website [string] Synonyms-to-VFDB_WEBSITE mapping file.
-t4vfdb_website, --tags4vfdb_website [string] Tags for VFDB_WEBSITE id parsing (must set to activate id parsing).
-fwa, --firstWordIsAccession First word in reference header is accession number (set to 'true' for NCBI-nr downloaded Sep 2016 or later). Default value: true.
-atags, --accessionTags [string(s)] List of accession tags. Default value(s): 'gb|' 'ref|'.
Other:
-t, --threads [number] Number of threads. Default value: 8.
-tsm, --tempStoreInMemory Temporary storage in memory for SQLITE. Default value: false.
-tsd, --tempStoreDir [string] Temporary storage directory for SQLITE (if not in-memory).
-v, --verbose Echo commandline options and be verbose. Default value: false.
-h, --help Show program usage and quit.
AUTHOR(s)
Daniel H. Huson.
Further my .Megan.def file looks like this:
AdditionalClassifications=/Applications/MEGAN/files/ncbi_20240214.tre
The only thing that comes to mind is a possible permissions issue (on your system).
Best regards,
Anupam