-
Notifications
You must be signed in to change notification settings - Fork 189
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
WARNING: Unexpected error local variable 'iog' referenced before assignment #526
Comments
Hi Are you using an old version or OrthoFinder? I think this is an issue that was resolved a year or two ago. If you downlaod the new version then you can restart from you're previous results using "-ot PREVIOUS_RESULTS_DIR" (if the tree inference stage was completed" or "-og PREVIOUS_RESULTS_DIR" if not (this will restart from the groups). All the best |
I'm using the 2.5.2 version so that's odd! |
Ah, in that case you could post the full output from orthofinder and I will investigate what's causing the issue. |
Also, i should mention that the job is still running but it seems to be stuck because nothing has been written after this error showed up |
I've looked into this and it looks like the job won't complete now. I've submitted a fix for this so that it will continue running, the code is in the master branch so you'll need to download the OrthoFinder code using the green 'Code' button on the front page (https://github.com/davidemms/OrthoFinder) and run that. You can restart from your current analysis using
However, I'm still curious to know the errors that caused this problem. In the log you posted it said:
It should continue running this time but may print a new error message with more info, if it does could you post it here please. |
DIAMOND is also reporting an number of errors, e.g.
and then later because of this OrthoFinder says
Do you know why DIAMOND is having a problem with Species 6? You can look in "proteomes/OrthoFinder/Results_Mar19_2/WorkingDirectory/SpeciesIDs.txt" to see which species this is. I can't imagine why a species wouldn't produce any hits when searched against itself. Is "Results_Mar19_2/WorkingDirectory/Blast6_6.txt.gz" empty? What about "WorkingDirectory/Species6.fa"? The error messages also report problems with other species too. |
We've fixed the Diamond problem |
Thanks, that's great. The "WARNING: Unknown error" is because one of the worker processes is encountering an error at some point but recovering from it. It shouldn't impact the results but at the moment I'm not sure what's causing it. Was there any text after that message? |
Yes ! "Writing results files ...." "Results: path/to/results" "CITATION: |
Did it print an actual orthogroup number when is said "Current orthogoup ......"? If so it's likely the issue is in the tree for that orthogroup. If you could send me corresponding file in "WorkingDirectory/Trees_ids/" I can take a look. |
Yes it does print an orthogroup number ! |
This has been identified as an issue in the binary package of OrthoFinder and does not occur with the source code version (OrthoFinder_source.tar.gz) or conda. I'll try and track down what goes wrong with the binary package. |
Dear David, In my case, the error
|
Thanks, that's useful to know. |
The error should only occur with the OrthoFinder_glibc-2.15.tar.gz binary package. The problem looks like it's associated with a problem with too many processes/pipes occuring specifically with older versions. There's some discussion of the issue here: If you find this occurring with anything other than the OrthoFinder_glibc-2.15.tar.gz package please let me know. Fix: The version of GLIBC that was being supported by this package is now very old, from March 2013! Some users had requested this a couple of years ago but I will now retire it and replace it with a newer version, which means the error should never occur anyway. |
Dear David, I just ran into a similar error with the 2.5.4 version WARNING: Unknown error 2023-03-01 14:55:02 : Writing results files Results: CITATION: If you use the species tree in your work then please also cite: I initially ran into this other issue #624 Very first command : orthofinder -f OF -M msa -T iqtree -t 96 (4 species, 250 gb ram availiable) Any suggestion ? |
Hi ! I've conducted an orthofinder run on 36 algal species
The all-versus-all sequence search seems to be successfully completed
However, once it gets to the reconciliation of gene trees and species trees, an error keeps showing up :
"local variable 'iog' referenced before assignment
WARNING: Unexpected error"
Could you help me ? Thanks !
The text was updated successfully, but these errors were encountered: