-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failing tests with t/test_pipeline.pl #7
Comments
Hello Zaid, When you ran the initial script to setup the OrthoMCL database did you first run the For the failing test, by default the test script cleans up temporary files after execution. To turn this off please remote the orthomcl-pipeline/t/test_pipeline.pl Line 208 in 4877cce
orthomcl-pipeline/t/test_pipeline.pl Line 252 in 4877cce
orthomcl-pipeline.pWOWqc/output/log/ (first directory name different for each run) will have any of the produced log files when can be inspected to see what went wrong.
Let me know if you have any more questions, Aaron |
Hello Aaron, Thanks for the fast response. I had created the user, the database, and granted the privileges directly in mysql. I thought it may have been the perl module DBD::mysql, but I tried to test that with some sample database queries it worked fine so I don't think that is the problem. Obtaining the log files I see directly in the orthomcl-pipeline.err.log file for each of the test temp directories a few instances of
I have attached one of the temp log folders. if you take a look and give me some suggestions, it would be greatly appreciated. Zaid |
Hello Zaid, Thanks for attaching the error logs. It helps me out for trying to diagnose the problem. However, I'm not really sure what the exact cause of the issue you are having is. The message The main difference I noticed between our two runs are that you are using BLAST version |
Hello Aaron, I figured that |
Hello Zaid, Can you try out again with blast 2.2.26? Please make sure that the correct paths to blastall and formatdb are set in Based on the blast files you sent me, it appears to be an issue with the blast results. Here is a line from one of my blast results:
Compared to an equivalent line from your results:
That is, all your Let me know how this works, Aaron |
Hello Aaron, It worked! t/test_pipeline.pl returned no errors! Thanks! Zaid |
Awesome. I've updated the documentation to reflect this. I'm closing this issue. Let me know if you have any more questions. |
Dear Aaron, I was able to successfuly install orthomcl-pipeline on my Mac laptop (OSX Mavericks). While trying to install it on a different Mac desktop, I'm running into this similar problem to the original referred here even after I give permissions to user orthomcl on mysql. I copied the .conf file I generated in the laptop:
I'm using mysql5.7.18. After reading several forums on this it seems that there's a new way to give permissions to users and the one in the instructions is no longer a valid syntax. I gave permissions like this at the mysql> promtp:
As you can see my permissions seem correct but for whatever reason it is still not working:
Any ideas as to what could be happening? Like I mentioned, I was already succesful in installing everything on a mac laptop. Thanks! - Hernán |
Hello Hernán, Are you able to log into mysql directly using the orthomcl user. E.g., The new permission you are referring to is Also, note that you don't have to run orthomcl with the user Aaron |
Hello, I speak from Brazil and my English is terrible. So I'm sorry for any mistake. I'm trying to install the orthomcl pipeline, but when I run the "orthomcl-pipeline-setup.pl" script I get the following error message: "Checking for formatdb ... error: formatdb could not be found on PATH". What would be the BLAST + database? My installation is with the following setting: Thanks for listening! |
Hello, You are going to want to use an older version of blast (legacy blast) which you can download from ftp://ftp.ncbi.nlm.nih.gov/blast/executables/legacy/2.2.26/. You will want to add the directory Also, for any new issues you have with the software could you create a new issue in github instead of replying to a closed issue? This makes it easier to keep issues organized. Thank you and I hope you have a nice day. Aaron |
Thank you very much! It worked, I was able to run the first analysis. |
Dear Aaron,
I create the orthomcl database manually in mysql and grant access. I'm using mysql5.7.31 and I'm able to log into mysql directly using the orthomcl user.
My installation is with the following setting:
Here is my orthomcl.conf,
Thanks for listening, I'm looking forward to your reply! |
Hello @rillaxy , Try changing the That is in orthomcl.conf:
I hope this will work for you. |
Hello Aaron, |
Hello @rillaxy, I'm not really sure what else it could be. You can try directly calling the Perl code to connect to the database: perl -MDBI -e 'DBI->connect("dbi:mysql:orthomcl:localhost:mysql_local_infile=1","orthomcl","orthomcl");' And you could try switching |
Hi, I am trying to install orthomcl-pipeline. I have successfully set up the orthomcl orthomcl-setup-database.pl, but was unable to create the database with this file, I recieved the error message as follows
$ perl orthomcl-setup-database.pl --user orthomcl --password password --host localhost --database orthomcl --outfile orthomcl.conf
Warning: file orthomcl.conf already exists ... overwrite? (Y/N) Y
Config file, orthomcl.conf will be overwritten
Connecting to mysql and creating database orthomcl on host localhost with user orthomcl ...
DBI connect('mysql:localhost:mysql_local_infile=1','orthomcl',...) failed: Access denied for user 'orthomcl'@'localhost' to database 'mysql' at orthomcl-setup-database.pl line 89.
error connecting to database at orthomcl-setup-database.pl line 93, line 1..
I was able to create the orthomcl database manually in mysql and grant access. I can access mysql from the command line with the user 'orthomcl' that i created, but it seems like execution form with orthomcl-pipeline is having trouble.
I passed the orthomcl-pipeline-setup.pl script successfully, but when I try the test run
$ perl t/test_pipeline.pl -m orthomcl.conf -s fork -t /tmp
Test using scheduler fork
TESTING NON-COMPLIANT INPUT
TESTING FULL PIPELINE RUN 5
README:
Tests case of one gene (in 1.fasta) not present in any other files but with a paralog in 1.fasta.
/Path_to_programs/orthomcl-pipeline/t/data/basic/5/groups/groups.txt contains entries (1|a 2|a 3|b 1|b 2|b 3|c 1|c 2|c 3|d 1|d 2|d 3|e 1|e 2|e 3|a 1|f 1|g) not in /tmp/orthomcl-pipeline.dD7Xqn/output/groups/groups.txt
not ok 1 - Expected matched returned groups file
Failed test 'Expected matched returned groups file'
at t/test_pipeline.pl line 204.
TESTING FULL PIPELINE RUN 3
README:
Tests case of one gene (in 1.fasta and 2.fasta) not present in other files.
/Path_to_programs/orthomcl-pipeline/t/data/basic/3/groups/groups.txt contains entries (1|a 2|a 3|b 1|b 2|b 3|c 1|c 2|c 3|d 1|d 2|d 3|e 1|e 2|e 3|a 1|f 2|f) not in /tmp/orthomcl-pipeline.oJnvbO/output/groups/groups.txt
not ok 2 - Expected matched returned groups file
Failed test 'Expected matched returned groups file'
at t/test_pipeline.pl line 204.
And it continues to fail 7 out of 8 tests. However, I cannot locate a err file to see what is going wrong. I have gathered that it is not generating files in the -t directory (i.e /tmp/orthomcl-pipeline.dD7Xqn/output/groups/groups.txt doesn't exist in the above error message). Is this a problem related to the mysql configuration? Any advice would be greatly appreciated.
Thanks
Zaid
The text was updated successfully, but these errors were encountered: