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

Segmentation Fault at Partition #267

Open
seajane opened this issue Aug 20, 2024 · 2 comments
Open

Segmentation Fault at Partition #267

seajane opened this issue Aug 20, 2024 · 2 comments
Labels

Comments

@seajane
Copy link

seajane commented Aug 20, 2024

I was running through an analysis of 174 genbank files and have this error at the partitioning step:

zsh: segmentation fault ppanggolin partition -p pangenome.h5 --draw_ICL

/opt/homebrew/anaconda3/lib/python3.12/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 2 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '

My version of ppanggolin is 2.1.0 and my laptop is Apple M3 Max with MacOS 14.6.1

@jpjarnoux
Copy link
Member

Hi!
I guess the problem comes from the processor and MacOS 14.6.1 (thank you for sharing these info, by the way). We did not test this version on our GitHub action. Why? Because Bioconda does not work correctly with Apple processors, and for a few months, GitHub has not used an Intel processor anymore but an Apple M processor for the recent MacOS version. So we are stuck to version MacOS 13 (see PR #220)
Now, what I suggest is to do a manual installation to not use bioconda (be careful of the Python version).
At the same time, could you share your genomes? That way, we could test it on Linux OS (Ubuntu, Fedora, etc.).
Unfortunately, I don't have a recent Mac available to test PPanGGOLiN, but I will try to find one if what I suggest does not work.
Regards

@seajane
Copy link
Author

seajane commented Aug 21, 2024

I should have mentioned that I did have to install manually without conda and was unable to install the Aragorn dependency, but hoped it wouldn't matter. The genomes I used can be mostly downloaded from NCBI with the exception of some proprietary sequences. https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?id=2701

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