Circos perl installation

From Hematology
Jump to: navigation, search

Contents

Why do we need to install Perl?

* Perl modules are third-party code that adds functionality to the core language of circos. It is required to make Circos figures in HATSEQ.

What do we need to install?

* Your installation of Perl will include core modules.                             
* In addition to these, you'll need to install the following modules to run Circos.
* http://circos.ca/tutorials/lessons/configuration/perl_and_modules/                
* http://circos.ca/software/installation/

The following packages are obligatory and need to be installed:

Config::General (v2.50 or later)
List::MoreUtils
Math::Bezier
Math::Round
Math::VecStat
Params::Validate
Readonly
Regexp::Common
Set::IntSpan (v1.16 or later)
Text::Format
GD
GD::Polyline

Note that many users have troubles installing GD and GD::Polyine on MacOSx.
If so, use instructions on:  http://zientzilaria.herokuapp.com/blog/2012/06/03/installing-circos-on-os-x/

Some other packages that may be required:

Data-Dumper
File-Basename
Getopt-Long
IO-File
List-Util
Math-BigFloat
Memoize
Pod-Usage
Time-HiRes

Windows x86-64 platform

Download the windows installation package and check during the installation:  
"ActivePerl-5.14.2.1402-MSWin32-x64-295342" to install Perl.
Use the "Perl package manager" to install the above packages.

Unix and Mac OSx platform

Navigate to the website of circos and follow the instructions: http://circos.ca/software/installation/ http://circos.ca/tutorials/lessons/configuration/perl_and_modules/

To help you a bit, open a terminal and check whether you already installed Perl:
 > which perl

/usr/bin/perl
 If you see this, you have perl. On the other hand, if 'which' does not return anything 

Use the perl CPAN shell. At the terminal do the following,

> sudo su
> perl -MCPAN -e shell

Install the modules by using the install command with the different modules:

> install Math::Bezier

After installing all modules, you exit with:

cpan[2]> exit

For Mac OSx, many users have problems installing GD. Try the instructions on this website:

http://zientzilaria.herokuapp.com/blog/2012/06/03/installing-circos-on-os-x/
Personal tools
Namespaces
Variants
Actions
Navigation
Developed software
Groups
Toolbox