2009年9月14日星期一

Installation of a fancy network visualization tool: Circos

http://mkweb.bcgsc.ca/circos/

I just found this very nice visualization tool, but the installation is kinda tricky :-)

First, you have to have UNIX or Linux on your machine (long live open source!!)

sudo apt-get install libgd-gd2-perl

After downloading and extracting, install these perl modules by:

sudo perl -MCPAN -e 'install Class::Base'
sudo perl -MCPAN -e 'install Math::Random'
sudo perl -MCPAN -e 'install Graphics::ColorObject'
sudo perl -MCPAN -e 'install List::MoreUtils'
sudo perl -MCPAN -e 'install Clone'
sudo perl -MCPAN -e 'install Config::General'
sudo perl -MCPAN -e 'install Readonly'
sudo perl -MCPAN -e 'install GD::Polyline'
sudo perl -MCPAN -e 'install GD'
sudo perl -MCPAN -e 'install Math::Bezier'
sudo perl -MCPAN -e 'install Math::Round'
sudo perl -MCPAN -e 'install Math::VecStat'
sudo perl -MCPAN -e 'install Params::Validate'
sudo perl -MCPAN -e 'install Set::IntSpan'
sudo perl -MCPAN -e 'install Statistics::Descriptive'

Don't copy them to the terminal directly, execute them line by line.

Then, in the cricos-*.** directory, execute
./install-unix
and specify your path of perl (/usr/bin/perl)

Then,
perl ./Build.PL
./Build

In the same directory, try this:
./bin/circos -conf tutorials/2/2/circos.conf

It will create a PNG file in /tmp

I'll start to learn how to use it soon...

2009年9月1日星期二

Link to files in Excel

Just a little trick to remember.

Fill in the cell with this:

=HYPERLINK("c:\test\test.bmp","Click Me")