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

Maximum recursion depth #56

Open
AdmiralenOla opened this issue Mar 31, 2017 · 4 comments
Open

Maximum recursion depth #56

AdmiralenOla opened this issue Mar 31, 2017 · 4 comments
Assignees
Labels
Milestone

Comments

@AdmiralenOla
Copy link
Owner

As originally reported by @dutchscientist in #53 , Scoary currently throws a

RuntimeError: maximum recursion depth exceeded while calling a Python object

when attempting to perform pairwise comparisons on a too big dataset. The exact threshold is unknown to me. I have ran it with ~3500 isolates. This error was reported with ~5800.

Full message:

Storing results: ST45
Calculating max number of contrasting pairs for each nominally significant gene
100.00%Traceback (most recent call last):
File "/usr/local/bin/scoary", line 11, in 
load_entry_point('scoary==1.6.9', 'console_scripts', 'scoary')()
File "/usr/local/lib/python2.7/dist-packages/scoary-1.6.9-py2.7.egg/scoary/methods.py", line 244, in main
delimiter=args.delimiter)
File "/usr/local/lib/python2.7/dist-packages/scoary-1.6.9-py2.7.egg/scoary/methods.py", line 813, in StoreResults
num_threads, no_time, delimiter)
File "/usr/local/lib/python2.7/dist-packages/scoary-1.6.9-py2.7.egg/scoary/methods.py", line 920, in StoreTraitResult
Threadresults = list(Threadresults)
File "/usr/lib/python2.7/multiprocessing/pool.py", line 668, in next
raise value
RuntimeError: maximum recursion depth exceeded while calling a Python object
@snayfach
Copy link

snayfach commented Feb 9, 2022

Did you ever find a solution? I'm running into this issue using only 500 genomes.

@dutchscientist
Copy link

I never run it with pairwise comparisons; does it work with --no_pairwise? That should tell you whether it is a problem with your input files or with the pairwise comparisons.

@snayfach
Copy link

Yes it works with --no_pairwise. But that defeats the main purpose of Scoary, which is to control for the population structure, no?

@dutchscientist
Copy link

That depends on what you use it for. For my work the --no_pairwise is fine, but I am not hardcore population structure ;)

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

No branches or pull requests

3 participants