refresh-bio / agc

Assembled Genomes Compressor
MIT License
152 stars 13 forks source link

Support for M1/M2 mac #7

Closed kojix2 closed 5 months ago

kojix2 commented 1 year ago

Hi! Is there any way to run agc on a M1/M2 Mac? I tried the --platform linux/amd64 option in Docker but it didn't work.

aberthel commented 6 months ago

I've gotten it to work in Docker on an M1 Mac. The precompiled binary doesn't seem to work, but you can build it from source within the container. Use the --platform linux/amd64 option like you mentioned, and use the "noavx" makefile instead of the default one. You may also need to roll back your python version and associated python-dev-tools: 3.11 threw errors for me but 3.9 worked fine.

sebastiandeorowicz commented 6 months ago

Thanks! I've just started to prepare v.3.1 with support for M1/M2 as well as other ARM-based machines. I also hope to address other issues. I predict that about two weeks should be sufficient to publish this version.

sebastiandeorowicz commented 5 months ago

AGC 3.1 is ready. It adds support for M1/M2/... CPUs.

aberthel commented 5 months ago

Thank you! This and the other features of release 3.1 have already become a huge help to my workflow.