Closed Thomieh73 closed 5 years ago
Hi Stephan,
Apparently the profiles (.profile.out) were generated just fine as you checked. Looks like MetaMeta failed to generate the database profiles (`/work/users/thhaverk/MM_databases/fungi_database/.dbprofile.out`). Can you check if those files were created or have any information?
If possible, please send me the following log files:
/work/users/thhaverk/MM_databases/fungi_database/log/*_db_custom_profile.log
/work/users/thhaverk/MM_databases/fungi_database/log/*_database_profile.log
Best, Vitor
Dear Vitor,
I'm getting the same exception with my dataset as Thomieh73 (using the archaea_bacteria_201503 database).
dbprofile.out are present
~/work/01_meta_meta_db/archaea_bacteria_201503$ ls -l
total 318
drwxr-xr-x 3 stephan stephan 4 Jun 27 2017 clark_db
-rw-rw-r-- 1 stephan stephan 0 Feb 15 14:40 clark_db_check.done
-rwxr-xr-x 1 stephan stephan 57901 Feb 15 14:40 clark.dbprofile.out
drwxr-xr-x 2 stephan stephan 9 Jun 27 2017 dudes_db
-rw-rw-r-- 1 stephan stephan 0 Feb 14 09:40 dudes_db_check.done
-rwxr-xr-x 1 stephan stephan 60361 Feb 14 09:40 dudes.dbprofile.out
drwxr-xr-x 2 stephan stephan 18 Jun 8 2017 gottcha_db
-rw-rw-r-- 1 stephan stephan 0 Feb 14 09:01 gottcha_db_check.done
-rwxr-xr-x 1 stephan stephan 58584 Feb 14 09:01 gottcha.dbprofile.out
drwxr-xr-x 2 stephan stephan 5 Jun 8 2017 kaiju_db
-rw-rw-r-- 1 stephan stephan 0 Feb 14 09:01 kaiju_db_check.done
-rwxr-xr-x 1 stephan stephan 85115 Feb 14 09:01 kaiju.dbprofile.out
drwxr-xr-x 3 stephan stephan 5 Jun 8 2017 kraken_db
-rw-rw-r-- 1 stephan stephan 0 Feb 15 11:55 kraken_db_check.done
-rwxr-xr-x 1 stephan stephan 60361 Feb 15 11:54 kraken.dbprofile.out
drwxrwxr-x 2 stephan stephan 37 Feb 15 14:40 log
drwxr-xr-x 2 stephan stephan 2 Jun 8 2017 motus_db
-rw-rw-r-- 1 stephan stephan 0 Feb 13 15:22 motus_db_check.done
-rwxr-xr-x 1 stephan stephan 89199 Feb 13 15:22 motus.dbprofile.out
output/sample1/log/archaea_bacteria_201503/metametamerge.log
MetaMetaMerge 1.1
Input files: kraken (p) sample1/profiles/archaea_bacteria_201503/kraken.profile.out /home/stephan/work/01_meta_meta_db/archaea_bacteria_201503/kraken.dbprofile.out clark (p) sample1/profiles/archaea_bacteria_201503/clark.profile.out /home/stephan/work/01_meta_meta_db/archaea_bacteria_201503/clark.dbprofile.out kaiju (p) sample1/profiles/archaea_bacteria_201503/kaiju.profile.out /home/stephan/work/01_meta_meta_db/archaea_bacteria_201503/kaiju.dbprofile.out Taxonomy: /home/stephan/work/01_meta_meta_db/taxonomy/names.dmp, /home/stephan/work/01_meta_meta_db/taxonomy/nodes.dmp, /home/stephan/work/01_meta_meta_db/taxonomy/merged.dmp Bins: 4 Cutoff: 0.0001 Mode: linear Ranks: species Output file (type): sample1/metametamerge/archaea_bacteria_201503/final.metametamerge.profile.out (bioboxes) Verbose: False Detailed: False
Parsing taxonomy (names, nodes, merged) ...
Reading database profiles ...
Reading profiles ...
Is this the reason for the error?
species - 0 entries (0 ignored) (WARNING) no valid entries found [species]
Thanks in advance,
Stephan
Hi Stephan,
The previous error was related to the custom dabases profiles, which is due to a dependency on NCBI e-utils web-services. This step is failing for some people and a fix using local files is being developed.
The new error is different, since your database profiles look fine and were loaded correctly. What is actually happening is that there were no identifications for this dataset with kraken and metametamerge fails to load it. There's also a planned fix for that. What you can do for now is to disable kraken for this run. But once you have some identifications from kraken this should not happen.
Best, Vitor
Hi Vitor, Since I am no longer working on this issue, I think it is good to close it.
Best Thomas
Hi Vitor,
I have made custom database following your example using only fungi sequences. Next I classified my sequences with this database and this ran until almost the end. So databases were created for the different tools and the classification for each tool was run.
I then ran into a problem with the metametamerge.sm script.
This is the rule that was created for the step:
This is the error that I get:
So next I look at the clusterlog for this job file: metametamerge.18496961.out
So with this I am not sure what is happening here, so I also checked the metametamerge.log file:
The output mentions that no valied entries were found. But the dudes.profile.out file contains a tabular output of classifications. I changed the ranks in the yaml file to genus, but that gave the same error. Next I tried to not use the output from dudes to see if there was the problem, but then clark gave the same error. So I think it is not depending on the tool but on the parsing of the profile files.
So the error has to do with the last line from the metametamerge.log. Any idea on what is causing the error and how to solve it?