0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

BandageNGをmacでコンパイルしてみた

Posted at

はじめに

ゲノムグラフの可視化には、Bandageというソフトウェアが古くから用いられているようです。オリジナルのBandageはオーストラリアのメルボルン大学のRyan Wickさんによって開発されましたが、2018年頃から開発が停滞しています。それにかわってBandageNGがサンクトペテルブルク州立大学のAnton Korobeynikovさんによって開発されています。

ビルドとインストール

GUIのソフトウェアですが、非常に簡単にビルドすることができました。macOS, WSL, Linuxのいずれであっても問題なくビルドすることができます。Qtが必要なので、homebrewやAPTなどのパッケージマネージャーでインストールする必要があります。その後は

git clone https://github.com/asl/BandageNG
cd BandageNG
mkdir build
cd build
cmake ..
make # -j8

とするだけで簡単にビルドできます。面白いのは、上記のコマンドを押すだけで、macOS用のアプリケーションができあがることですね。

build.png

macOSの場合は、これをアプリケーションディレクトリに移動すればインストール完了です。

ファイルを開いてみる

ここでは minigraphによってPre-buildされたパンゲノムのグラフを閲覧してみることにしましょう。データはこちらからダウンロードできます。

余談ですが、Zenodoからのデータのダウンロードが遅くて多くの人が困っているという問題がありますが、Zenodo側で日本からのアクセスを制限しているわけではないそうです。

  • chm13-90c.r518.gfa.gz

ダウンロードしたファイルを File > Load graph で開き、Draw graph ボタンを押して、ZoomNode width を調節すると次のような図が表示されます。

BandageNG

この記事は以上です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?