-
Notifications
You must be signed in to change notification settings - Fork 31
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
How to run on Mac #149
Comments
Clair3 runs on Apple Silicon. Clair3 uses the GPU on M1/M2, and it runs fast. 50x HG003 Guppy5 ONT data took around 80 minutes on a 8P2E24G Mac Studio M1 Max. But the installation is not as simple, and it subjects to updates in the future because brew and the conda apple channel both remove old packages from time to time. If you use Clair3 frequently on Mac, I think it is worth the time to configure it. The instructions are as follows: Run Clair3 on Mac M1 (MacOS Ventura 13.0.1)Install prerequisitionsInstall brew from https://brew.sh/
Get Clair3
Install pypy (in $HOME/Clair3)
Install samtools (in $HOME/Clair3)
build Clair3 (in $HOME/Clair3)
Install longphase (in $HOME/Clair3)
Download the models (in $HOME/Clair3)
Install whatshap
Clair3 should be ready on M1 by now, when running Clair3 using
|
I greatly appreciate your prompt and detailed reply! |
Recently, I successfully installed Clair3 on an M2 MacBook Pro/macOS 14.5 by following the instructions. During the installation process, I encountered several steps that required tweaks to work properly.
I don't know if my changes cause problems, but I hope this may helps others trying to install Clair3 on Mac. |
Use Mac Docker, enable virtualization, install via Docker. |
Hi, Thank you for reply. |
After that issue, I however, tried on my M2 Pro with a 30x human genome dataset and got only 20% slower than a powerful Linux server with the same number of cores. |
That sounds great. I might give Docker a try later. Thank you for the information. Edit: I tested the Docker version, and it took five times longer to process than the native version in my case. It may depend on how much GPU-dependent calculation is required for your data, because Docker doesn't support Metal Performance Shaders currently. |
Hello!
I want to install and run Clair3 on my Mac, but run_clair3.sh does not work.
If I want to run on a Mac, which do you recommend, the Intel version or the M1 version?
I am studying on a sequence with Nanopore long reads, but I am not yet familiar to scripts .
So, I would appreciate it if you could give me advice.
Many thanks!
The text was updated successfully, but these errors were encountered: