Drkcore

14 07 2024 chemoinformatics Tweet

MacにChEMBLを入れる

ちょっとChEMBLを使う必要ができたので、久しぶりに手元のMacbookにインストールしました。最新のバージョンは34です。

Postgresqlのインストール

バージョンが14と古かったので最新の16を入れた。

brew install postgresql@16
echo 'export PATH="/usr/local/opt/postgresql@16/bin:$PATH"' >> ~/.zshrc #psqlがない場合
source ~/.zshrc
brew services start postgresql@16
brew services list #動いているか確認

動いていたらChEMBLのデータを入れる

createdb chembl_34
pg_restore --no-owner -d chembl_34 chembl_34_postgresql.dmp #30分くらいかかる

これでOK

DBにアクセスするには

psql chembl_34

About

  • もう5年目(wishlistありマス♡)
  • 最近はPythonとDeepLearning
  • 日本酒自粛中
  • ドラムンベースからミニマルまで
  • ポケモンGOゆるめ

Tag

Python Deep Learning javascript chemoinformatics Emacs sake and more...

Ad

© kzfm 2003-2021