mac os 내에 sambamba 설치 방법

 

1. Homebrew install

Users of Homebrew can also use the formula from homebrew-bio.

brew install brewsci/bio/sambamba 

 

 

==> Reinstalling brewsci/bio/sambamba 

==> Downloading https://linuxbrew.bintray.com/bottles-bio/sambamba-0.6.8.sierra.bottle.tar.gz

Already downloaded: ~/Library/Caches/Homebrew/downloads/3885c9be96b2dff181839892c5dc2a35398988abd60ab4138ee1ef234da496a9--sambamba-0.6.8.sierra.bottle.tar.gz

==> Pouring sambamba-0.6.8.sierra.bottle.tar.gz

🍺  /usr/local/Cellar/sambamba/0.6.8: 6 files, 19.7MB

==> `brew cleanup` has not been run in 30 days, running now...

 

다음과 같이 설치됨을 확인. 

 

 

 

2. Compiling for Mac OS X

Sambamba builds on MacOS. We have a Travis integration test as an example. It can be something like

brew install ldc git clone --recursive https://github.com/biod/sambamba.git 

cd sambamba make

brew install ldc git clone --recursive https://github.com/biod/sambamba.git 
cd sambamba make

그러나 해당 방법 시 다음과 같은 에러를 만날 수 있음. 

 

ldc2 -wi -I. -IBioD -g -J. -O0 -d-debug -link-debuglib -of=bin/sambamba-0.7.1 bin/sambamba-0.7.1.o  htslib/libhts.a lz4/lib/liblz4.a -L-L -L-lpthread -L-lm -L-lz

ld: warning: directory not found for option '-L-lpthread'

 

(이 에러는 라이브러리를 불러오는 데에서 발생하는 에러이나 해결법을 아직 찾지 못 함.)

 

 

 

 

반응형

'BI' 카테고리의 다른 글

bedGraph 파일의 index 생성하기  (0) 2020.03.20
특정 버전의 python 패키지 인스톨  (0) 2019.04.23
pip, 특정 버전의 pip 깔기  (0) 2019.04.23
convert file format from fa to bedGraph  (3) 2019.04.22

+ Recent posts