這個程序是基於 M1 Mac。
-
下載源代碼並解壓縮:
wget http://www.clustal.org/omega/clustal-omega-1.2.4.tar.gz && tar -xzvf clustal-omega-1.2.4.tar.gz && cd clustal-omega-1.2.4
-
使用 Homebrew 安裝 argtable:
# 如果你還沒有安裝 Homebrew,你需要先安裝它。 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew install argtable
-
編譯並安裝:
./configure CFLAGS='-I/opt/homebrew/Cellar/argtable/2.13/include' LDFLAGS='-L/opt/homebrew/Cellar/argtable/2.13/lib' make make install
-
檢查安裝情況:
which clustalo
-
然後你可以使用以下命令:
cd /path/to/your/sequence clustalo -i sequence.fasta -o output.fasta --seqtype=protein
此文由 Mix Space 同步更新至 xLog
原始連結為 https://xxu.do/posts/academic/Install-Clustal-Omega-from-source-code