Hi.
Firstly, thank you for the feedback. Sorry about the questions, but I am a newbie in this field, maybe I am doing a very basic mistake...
Yes, I have read the MEGAN manual. But unfortunately it is not so clear to me. According to it and the website, MEGAN is provided with built-in SEED and KEGG mapping files. However I cannot find them in any of the directories of the program, and none of them are available in the MEGAN website.
I also already have read the recommended posts, and as you can see, people are having the same problems as I am, and no solution is available.
Since my metagenome data have to be converted, I am testing the program with a testing sample (a tabular blast file with six sequences). The manual mentions that there are example files available for testing, but it is not true.
As I mentioned previously, the taxonomic classification works, meaning that MEGAN is identifying the gi number. But in respect to the SEED classification, no error occurs, the sequences are just "classified" as "not assigned". This is also true for KEGG classification.
My test file is this:
gi|313672642|ref|YP_004050753.1| gi|503216142|ref|WP_013450803.1| 100.00 436 0 0 1 436 1 436 0.0 882
gi|312939398|gb|ADR18590.1| gi|503216142|ref|WP_013450803.1| 100.00 436 0 0 1 436 1 436 0.0 882
gi|297146112|gb|ADI02869.1| gi|502941295|ref|WP_013176271.1| 100.00 493 0 0 1 493 1 493 0.0 1002
gi|307157605|gb|ADN36985.1| gi|503095346|ref|WP_013330162.1| 100.00 766 0 0 1 766 1 766 0.0 1574
gi|428678825|gb|AFZ57591.1| gi|505027134|ref|WP_015214236.1| 100.00 309 0 0 1 309 1 309 0.0 640
gi|335359244|gb|AEH44925.1| gi|503673591|ref|WP_013907667.1| 100.00 489 0 0 1 489 1 489 0.0 1008
In the LCA params, I have set Min support to 1.
The option "Analyse SEED content", "Use Built-in RefSeq Map", and "Use RefSeq Map" are on.
Any ideas?
Hello fhsantanna,
how did you solve the problem?
I did use your mapping file. However, I still end up with not assigned SEED hits. Which files do you import? What are your LCA parameters?
The weird thing is that I got it to work yesterday but I can't reconstruct how I got it to work.
I only set Min support to 1, since I am working with contigs. Take a look if your blast file is in the correct format. Here is a sample of the format of my files:
My file is in the exact same format.
This might sound stupid but could you also give me the other LCA parameters like Max Expected Top Percent ..
And what do you select on import -> I selected GI to Taxon mapping and Refseq to Seed mapping using your uploaded file.
Ok, now I am a bit more confused. In your first post you said your
subject_idis in this format:But now your format only has the RefseqID, eg:
Was this the problem? My Output has the first format you posted (GI-ID|Ref-ID)
Both work. The first one I utilized the taxon mapping using the gi numbers. In the second one it is not necessary, since there is an additional column with the taxon name.
LCA parameters: min score 50 max expected 0.01 top percent 10 min support percent 0.1 min support 1 lca percent 100 other options turned off
Today I have downloaded the last version of MEGAN. For Seed analysis I just have checked "use builtin refseq map".
I only set Min support to 1, since I am working with contigs. Take a look if your blast file is in the correct format. Here is a sample of the format of my files: