in Home

Installing Circos on OSX 10.8

Circos is a software package for visualizing data and information. It visualizes data in a circular layout — this makes Circos ideal for exploring relationships between objects or positions. There are other reasons why a circular layout is advantageous, not the least being the fact that it is attractive.

Circos is ideal for creating publication-quality infographics and illustrations with a high data-to-ink ratio, richly layered data and pleasant symmetries. You have fine control each element in the figure to tailor its focus points and detail to your audience.

The installation in OSX is some tricky, and well, after search and try a ton of options, this small recipe appear to works perfect. I assume you have installed brew and Command line tools from Xcode.

$ cd circos-0.64/
$ cd bin
$ vi circos
  --> change path to OSX "env" location (/usr/bin/env)
$ vi gddiag 
  --> change path to OSX "env" location (/usr/bin/env)
$ sudo perl -MCPAN -e shell
cpan> install Config::General
cpan> install Font::TTF::Font
cpan> install Math::VecStat
cpan> install Readonly
cpan> install Text::Format 
cpan> install Math::Bezier
cpan> install Set::IntSpan
$ brew install libpng
$ brew install freetype
$ brew install gd --with-freetype
$ cd $HOME/Downloads
$ curl -O http://www.cpan.org/authors/id/L/LD/LDS/GD-2.49.tar.gz
$ tar zxvf GD-2.49.tar.gz && cd GD-2.49
perl Makefile.PL 
sudo make install
cd ../circos-0.64/bin
circos-0.64/bin$ ./circos --conf ../example/etc/circos.conf
circos

circos

Write a Comment

Comment

 

  1. Friend, you are the best. Been beating my head against a wall trying to install GD and all of its GD dependencies on a Mac OSX 10.8 for a week now. This is the only thing that worked for me.

    Kudos.

  • Related Content by Tag