Closed Huanle closed 6 years ago
Hi
I've seen this issue before, it's a problem in dlcpar when reading or processing the tree. I will report it to the owner of dlcpar and see if it can be fixed. In the meantime I think you should be able to fix it on your machine though:
A previous user who reported this was able to fix it by editing the dlcpar_search file (for me the file is here: "/usr/local/bin/dlcpar_search"). They added the line "sys.setrecursionlimit(1000000)" as shown in this screenshot:
Let me know if you have any problems with this.
All the best David
Hi
OrthoFinder now implements its own method for the reconciliation which is more accurate and many times faster and doesn't have these memory/recursion depth issues. You can try it in the latest version.
All the best David
Hi David,
I'm using conda version of Orthofinder v2.4.0, but I still face the same problem. It appears to be a tree reconstruction problem, but with different messages. I had no problem with ~30 species, but this run includes 218 genomes. I am trying to fix this with the solution you've posted above, by adding "sys.setrecursionlimit(1000000)" in /home/tkwon/miniconda3/envs/busco/bin/scripts_of/tree.py. However, I am not sure if this "ch.get_cached_content(store_attr=store_attr, _store=_store)" recursion is okay to ignore. Could you kindly help me to solve this issue?
Traceback (most recent call last):
File "/home/tkwon/miniconda3/envs/busco/bin/orthofinder", line 7, in
Thanks, Taehyung
I ran into this error during the tree construction stage. I guess It might be an issue due to too many species included in the analysis given that I did not have this issue with analyses including 5-10 species.
of.e611854.txt
[mcl] cut <6> instances of overlap Traceback (most recent call last): File "/home/h.liu/h.liu/Bin/OrthoFinder-1.1.4/dlcpar-1.0/bin/dlcpar_search", line 209, in
sys.exit(main())
File "/home/h.liu/h.liu/Bin/OrthoFinder-1.1.4/dlcpar-1.0/bin/dlcpar_search", line 179, in main
log=log_out)
File "/home/h.liu/h.liu/Bin/OrthoFinder-1.1.4/dlcpar-1.0/python/dlcpar/simplerecon.py", line 39, in dlc_recon
return reconer.recon(nsearch).get_dict()
File "/home/h.liu/h.liu/Bin/OrthoFinder-1.1.4/dlcpar-1.0/python/dlcpar/simplerecon.py", line 97, in recon
proposal = self.proposer.next_proposal()
File "/home/h.liu/h.liu/Bin/OrthoFinder-1.1.4/dlcpar-1.0/python/dlcpar/simplerecon.py", line 247, in next_proposal
newCopy=False)
File "/shares/common/users/h.liu/Bin/OrthoFinder-1.1.4/dlcpar-1.0/python/dlcpar/deps/compbio/phylo.py", line 707, in recon_root
walk(child)
File "/shares/common/users/h.liu/Bin/OrthoFinder-1.1.4/dlcpar-1.0/python/dlcpar/deps/compbio/phylo.py", line 704, in walk
node.recurse(walk)
File "/shares/common/users/h.liu/Bin/OrthoFinder-1.1.4/dlcpar-1.0/python/dlcpar/deps/rasmus/treelib.py", line 83, in recurse
func(child, *args)
File "/shares/common/users/h.liu/Bin/OrthoFinder-1.1.4/dlcpar-1.0/python/dlcpar/deps/compbio/phylo.py", line 704, in walk
node.recurse(walk)
.....
File "/shares/common/users/h.liu/Bin/OrthoFinder-1.1.4/dlcpar-1.0/python/dlcpar/deps/compbio/phylo.py", line 703, in walk
if not node.is_leaf():
RuntimeError: maximum recursion depth exceeded
Will you please help me figure out what could have caused this issue? Thanks a lot.