Install STAR on MacBook Pro M1
4
0
Entering edit mode
3 months ago
yklee2083 • 0

I am trying to install STAR aligner using MacBook Pro M1, but the following error appears and installation does not work.

g++-13: error: unrecognized command-line option '-mavx2'

How can I solve this?

If I cannot use STAR, please recommend another tool that is compatible with M1 pro.

STAR Genomics MacBookProM1 • 943 views
ADD COMMENT
1
Entering edit mode

Are you generally conversant compiling software on MacBook machines?

ADD REPLY
0
Entering edit mode

Let's download the source code directly and try compiling it for the m1 chip. thank you

ADD REPLY
0
Entering edit mode

I think there's an error in translation. What do you mean by "let's"?

ADD REPLY
0
Entering edit mode

Please provide more details of how you are trying to install

ADD REPLY
1
Entering edit mode
3 months ago
GenoMax 141k

Use conda (LINK). Once this is installed installing STAR is a matter of doing

$ conda create -n star star
$ conda activate star
ADD COMMENT
1
Entering edit mode
3 months ago
JC 13k

Also, you can use the Docker container biocontainers/star with Colima on Mac

ADD COMMENT
0
Entering edit mode
3 months ago
yklee2083 • 0

First, various problems occurred because STAR alinger and another tool with the same name, STAR, were installed on my MacBook computer, and I wasted a lot of time because I was not aware of this fact. Fortunately, I was able to solve the problem later by confirming that a different program with the same name was installed. Regarding the problem caused by the MacBook Pro M1 chipset, I was able to take a hint from the answer above and download the STAR source code directly, compile it, and successfully install the STAR aligner.

https://github.com/alexdobin/STAR/blob/master/doc/STARmanual.pdf

ADD COMMENT
0
Entering edit mode
3 months ago
jv ★ 1.8k

There's a whole section describing install on a Mac in the STAR github README https://github.com/alexdobin/STAR#compile-under-mac-os-x. I would try Homebrew or Docker for running STAR on your Mac. But my main concern/question is why are you going to run STAR on a mac? Do you have sufficient memory to support read alignment?

ADD COMMENT

Login before adding your answer.

Traffic: 1680 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6