Skip to content
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

RuntimeError: maximum recursion depth exceeded #952

Open
oddguyeee opened this issue Dec 15, 2024 · 1 comment
Open

RuntimeError: maximum recursion depth exceeded #952

oddguyeee opened this issue Dec 15, 2024 · 1 comment

Comments

@oddguyeee
Copy link

oddguyeee commented Dec 15, 2024

orthofinder_20241204.txt
Hi,
I encountered a problem while running this cmd:

for f in *faa ; 
  do
  python ../tools/primary_transcript.py $f 
  done
conda activate orthofinder
nohup orthofinder -f primary_transcripts/ -t 16 > orthofinder.20241204 2>&1 &

I am confused as to why an error occurred and the program did not stop. Additionally, how can I resolve this issue?

Best outgroup(s) for species tree
---------------------------------
Observed 2853 duplications. 2828 support the best root and 25 contradict it.
Best outgroup for species tree:
  Oryza_sativa

Reconciling gene trees and species tree
---------------------------------------
Outgroup: Oryza_sativa
Traceback (most recent call last):
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/bin/dlcpar_search", line 209, in <module>
    sys.exit(main())
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/bin/dlcpar_search", line 179, in main
    log=log_out)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/simplerecon.py", line 39, in dlc_recon
    return reconer.recon(nsearch).get_dict()
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/simplerecon.py", line 82, in recon
    proposal = self.proposer.init_proposal()
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/simplerecon.py", line 225, in init_proposal
    self._recon = self._recon_lca(self._locus_search.get_tree().copy())
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/simplerecon.py", line 259, in _recon_lca
    self._gene2species)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/compbio/phylo.py", line 130, in reconcile
    walk(gtree.root)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/compbio/phylo.py", line 124, in walk
    node.recurse(walk)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/rasmus/treelib.py", line 83, in recurse
    func(child, *args)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/compbio/phylo.py", line 124, in walk
    node.recurse(walk)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/rasmus/treelib.py", line 83, in recurse
...........................................................
File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/compbio/phylo.py", line 124, in walk
    node.recurse(walk)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/rasmus/treelib.py", line 83, in recurse
    func(child, *args)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/compbio/phylo.py", line 124, in walk
    node.recurse(walk)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/rasmus/treelib.py", line 83, in recurse
    func(child, *args)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/compbio/phylo.py", line 124, in walk
    node.recurse(walk)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/rasmus/treelib.py", line 83, in recurse
    func(child, *args)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/compbio/phylo.py", line 124, in walk
    node.recurse(walk)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/rasmus/treelib.py", line 83, in recurse
    func(child, *args)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/compbio/phylo.py", line 124, in walk
    node.recurse(walk)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/rasmus/treelib.py", line 83, in recurse
    func(child, *args)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/compbio/phylo.py", line 124, in walk
    node.recurse(walk)
  File "/nfs_fs/nfs1/sunwu/miniconda3/envs/orthofinder/lib/python2.7/site-packages/dlcpar/deps/rasmus/treelib.py", line 83, in recurse
    func(child, *args)
RuntimeError: maximum recursion depth exceeded

I attended std file below, thanks.

@lauriebelch
Copy link

Hi oddguyeee,

I would try upgrading to a newer version of orthofinder (I notice you are on version 1.1.8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants