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

segment fault #430

Open
lingc31415 opened this issue Jul 10, 2024 · 1 comment
Open

segment fault #430

lingc31415 opened this issue Jul 10, 2024 · 1 comment

Comments

@lingc31415
Copy link

Summary:

pyani v0.2.12, processing over 2,000 genome sequences reached out segmentation fault

Description:

I have dataset containing over 5,000 sequences. When Using pyani for pairwise ANI analysis, a segmentation fault occurs if the input dataset contains more than 2,000 sequences. however, it works well if I subset the dataset to contain fewer than 1,900 sequences.

Reproducible Steps:

average_nucleotide_identity.py
-i input_dir
-o output_dir_2
-m ANIm
-g
--gformat pdf
--write_excel
--worker 10

Current Output:

pop out segmentation fault.
I guess it may be related to a deep or infinite recursion, where the stack space is exhausted.

Expected Output:

I wish it would work well with the entire dataset, but not just the subset dataset (>2,000 sequences).

pyani Version:

pyani v0.2.12

installed dependencies

If you are running a version of pyani v0.3 or later, then please run the command pyani listdeps at the command line, and enter the output below.

Python Version:

Python v3.12.2

Operating System:

Debian

@widdowquinn
Copy link
Owner

Hi @lingc31415 - thanks for using pyani.

Can you confirm that you are using multiprocessing to distribute jobs? And can you also provide the relevant section of the log file or error output, so we can see where in the analysis the failure happens?

Thanks,

L.

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