I created a Homebrew formula to install Circos. Due to the trickiness of installing GD, it's not as simple as brew install circos
, but hopefully we'll get there. Here's the instructions:
Install Homebrew on Mac OS or Linuxbrew on Linux.
Run the following commands to install GD and Circos.
brew tap homebrew/science brew remove gd brew install gd --with-freetype brew install cpanminus sudo chown "$USER":admin /Library/Perl/5.16 # on Mac OS cpanm Config::General Font::TTF::Font Math::Bezier Math::VecStat Readonly Set::IntSpan Text::Format cpanm --force GD::Polyline brew install circos brew test circos
Cheers,
Shaun
--
You received this message because you are subscribed to the Google Groups "Circos" group.
To unsubscribe from this group and stop receiving emails from it, send an email to circos-data-visual...@googlegroups.com.
To post to this group, send email to circos-data-...@googlegroups.com.
Visit this group at http://groups.google.com/group/circos-data-visualization.
For more options, visit https://groups.google.com/groups/opt_out.
--> Working on GD::Polyline
Fetching http://www.cpan.org/authors/id/L/LD/LDS/GD-2.52.tar.gz ... OK
Configuring GD-2.52 ... OK
Building and testing GD-2.52 ... FAIL
! Testing GD-2.52 failed but installing it anyway.
Successfully reinstalled GD-2.52
1 distribution installed
Jons-MacBook-Pro:~ Jon$ brew install circos
circos: Unsatisfied dependency: GD::Polyline
Homebrew does not provide Perl dependencies; install with:
cpan -i GD::Polyline
Error: An unsatisfied requirement failed this build.
Error: You must `brew link libpng freetype' before gd can be installed
And when I try to brew link libpng freetype I get another error telling me that the target already exists. However when I try and overwrite it I get a permission denied response. How can I get around this?
Thanks,
Daisy
ERROR: Can't create '/Users/austingarner/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/darwin-2level/auto/GD'mkdir /Users/austingarner/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/darwin-2level/auto/GD: Permission denied at /Users/austingarner/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/ExtUtils/Install.pm line 494.
I am fairly green at this and am at a loss as to what to do, any suggestions would be much appreciated.
Thanks,
AG
--
You received this message because you are subscribed to the Google Groups "Circos" group.
To unsubscribe from this group and stop receiving emails from it, send an email to circos-data-visual...@googlegroups.com.
To post to this group, send email to circos-data-...@googlegroups.com.
Visit this group at http://groups.google.com/group/circos-data-visualization.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Circos" group.
To unsubscribe from this group and stop receiving emails from it, send an email to circos-data-visual...@googlegroups.com.
To post to this group, send email to circos-data-...@googlegroups.com.
Visit this group at http://groups.google.com/group/circos-data-visualization.
For more options, visit https://groups.google.com/d/optout.
You must `brew link libpng freetype' before cairo can be installed
Could you please tell me how to solve this problem? any suggestion is appreciated. Thanks.
Vikrams-MBP:example k$ ./run
Creating image circos.png and writing report to run.out.
Example takes ~45-60 seconds to generate.
Vikrams-MBP:example k$ ls
README circos.svg etc run.out
circos.png data run
Vikrams-MBP:example k$ pwd
/Users/k/Desktop/downloads/circos-0.69/example
Vikrams-MBP:example k$ /Users/k/Desktop/downloads/circos-0.69/bin/circos -conf etc/circos.conf
*** REQUIRED MODULE(S) MISSING OR OUT-OF-DATE ***
You are missing one or more Perl modules, require newer versions, or some modules failed to load. Use CPAN to install it as described in this tutorial
http://www.circos.ca/documentation/tutorials/configuration/perl_and_modules
missing GD
error Can't locate GD.pm in @INC (you may need to install the GD module) (@INC contains: /Users/k/Desktop/downloads/circos-0.69/bin/lib /Users/k/Desktop/downloads/circos-0.69/bin/../lib /Users/k/Desktop/downloads/circos-0.69/bin /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2/darwin-thread-multi-2level /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at (eval 29) line 1.
missing GD::Polyline
error Can't locate GD/Polyline.pm in @INC (you may need to install the GD::Polyline module) (@INC contains: /Users/k/Desktop/downloads/circos-0.69/bin/lib /Users/k/Desktop/downloads/circos-0.69/bin/../lib /Users/k/Desktop/downloads/circos-0.69/bin /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2/darwin-thread-multi-2level /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at (eval 30) line 1.
Vikrams-MBP:example k$
----
One more point: when i type these commands:
Vikrams-MBP:etc k$ cd
Vikrams-MBP:~ k$ vi .bash_profile
now, in the .bash_profile file i see this:
# Setting PATH for Python 2.7
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
export PATH
--
You received this message because you are subscribed to the Google Groups "Circos" group.
To unsubscribe from this group and stop receiving emails from it, send an email to circos-data-visualization+unsub...@googlegroups.com.
To post to this group, send email to circos-data-visualization@googlegroups.com.
Visit this group at https://groups.google.com/group/circos-data-visualization.
VPN-18-101-8-109:Applications $ brew test circos
Testing homebrew/science/circos
==> /usr/local/Cellar/circos/0.67-7/bin/circos -conf /usr/local/Cellar/circos/0.
Last 15 lines from /Users/-/Library/Logs/Homebrew/circos/test.01.circos:
2017-12-04 18:13:44 -0500
/usr/local/Cellar/circos/0.67-7/bin/circos
-conf
/usr/local/Cellar/circos/0.67-7/libexec/example/etc/circos.conf
-debug_group
summary,timer
Error: homebrew/science/circos: failed
Failed executing: /usr/local/Cellar/circos/0.67-7/bin/circos -conf /usr/local/Cellar/circos/0.67-7/libexec/example/etc/circos.conf -debug_group summary,timer
/usr/local/Homebrew/Library/Homebrew/formula.rb:1796:in `block in system'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1734:in `open'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1734:in `system'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-science/circos.rb:87:in `block in <class:Circos>'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1640:in `block (3 levels) in run_test'
/usr/local/Homebrew/Library/Homebrew/utils.rb:554:in `with_env'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1639:in `block (2 levels) in run_test'
/usr/local/Homebrew/Library/Homebrew/formula.rb:834:in `with_logging'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1638:in `block in run_test'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:14:in `block in mktemp'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:74:in `block in run'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:74:in `chdir'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:74:in `run'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:13:in `mktemp'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1632:in `run_test'
/usr/local/Homebrew/Library/Homebrew/test.rb:28:in `block in <main>'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/timeout.rb:33:in `block in catch'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/timeout.rb:33:in `catch'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/timeout.rb:33:in `catch'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/timeout.rb:106:in `timeout'
/usr/local/Homebrew/Library/Homebrew/test.rb:27:in `<main>'
brew tap homebrew/science brew remove gd brew install gd --with-freetype brew install cpanminus sudo chown "$USER":admin /Library/Perl/5.16 # on Mac OS cpanm Config::General Font::TTF::Font Math::Bezier Math::VecStat Readonly Set::IntSpan Text::Format cpanm --force GD::Polyline brew install circos brew test circos
sudo chown "$USER":admin /Library/Perl/5.16
Cannot find path
I put my username instead of "USER" and I put the path to the perl5 module installed on my computer but I'm sure I'm doing something wrong.
This is what I type in terminal: sudo chown "$myusername":admin myusername/perl5
cpanm --force GD::Polyline
#BELOW IS THE ERROR I GET FROM RUNNING THE ABOVE COMMAND
--
You received this message because you are subscribed to a topic in the Google Groups "Circos" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/circos-data-visualization/qOIjmy4_wnM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to circos-data-visual...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to circos-data-visualization+unsub...@googlegroups.com.
To post to this group, send email to circos-data-visualization@googlegroups.com.
Visit this group at https://groups.google.com/group/circos-data-visualization.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Circos" group.
To unsubscribe from this group and stop receiving emails from it, send an email to circos-data-visualization+unsub...@googlegroups.com.
To post to this group, send email to circos-data-visualization@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to circos-data-visualization+unsubsc...@googlegroups.com.
To post to this group, send email to circos-data-visualization@googlegroups.com.
Visit this group at https://groups.google.com/group/circos-data-visualization.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Circos" group.
To unsubscribe from this group and stop receiving emails from it, send an email to circos-data-visualization+unsubsc...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to circos-data-visual...@googlegroups.com.
To post to this group, send email to circos-data-...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to circos-data-visualization+unsub...@googlegroups.com.
Stack trace:
at /usr/local/Cellar/circos/0.69-6_1/libexec/bin/../lib/Circos/Error.pm line 425.
Circos::Error::fatal_error('configuration', 'missing') called at /usr/local/Cellar/circos/0.69-6_1/libexec/bin/../lib/Circos.pm line 146
Circos::run('Circos', '_cwd', '/usr/local/Cellar/circos/0.69-6_1/bin', '_argv', '') called at /usr/local/Cellar/circos/0.69-6_1/libexec/bin/circos line 536
To unsubscribe from this group and all its topics, send an email to circos-data-visualization+unsub...@googlegroups.com.
To post to this group, send email to circos-data-...@googlegroups.com.
Visit this group at https://groups.google.com/group/circos-data-visualization.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Circos" group.
To unsubscribe from this group and stop receiving emails from it, send an email to circos-data-visualization+unsub...@googlegroups.com.
To post to this group, send email to circos-data-...@googlegroups.com.
Visit this group at https://groups.google.com/group/circos-data-visualization.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Circos" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/circos-data-visualization/qOIjmy4_wnM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to circos-data-visualization+unsub...@googlegroups.com.
brew tap brewsci/bio
I created a Homebrew formula to install Circos. Due to the trickiness of installing GD, it's not as simple as
brew install circos
, but hopefully we'll get there. Here's the instructions:Install Homebrew on Mac OS or Linuxbrew on Linux.
Run the following commands to install GD and Circos.
brew tap homebrew/science brew remove gd brew install gd --with-freetype brew install cpanminus sudo chown "$USER":admin /Library/Perl/5.16 # on Mac OS
cpanm Config::General Font::TTF::Font Math::Bezier Math::VecStat Readonly Set::IntSpan Text::Format cpanm --force GD::Polyline brew install circos brew test circos
Cheers,
Shaun
--
You received this message because you are subscribed to a topic in the Google Groups "Circos" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/circos-data-visualization/qOIjmy4_wnM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to circos-data-visual...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "Circos" group.
To unsubscribe from this group and stop receiving emails from it, send an email to circos-data-visual...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/circos-data-visualization/f0d68219-e6db-4f3f-bb54-f8e3b7b4d0b5%40Spark.
Hello everyone,
I am new to Circos and I am trying to install it on my Mac OS Ventura v 13.6.3. I am currently working with Perl v 5.38.2.
I have followed both these guides to install Circos:
I have run these commands:
I ran 'circos -modules' and the GD and GD::Polyline are missing
circos -modules
ok 1.50 Carp
ok 0.45 Clone
ok 2.65 Config::General
ok 3.78 Cwd
ok 2.174 Data::Dumper
ok 2.55 Digest::MD5
ok 2.85 File::Basename
ok 3.78 File::Spec::Functions
ok 0.2309 File::Temp
ok 1.51 FindBin
ok 0.39 Font::TTF::Font
missing GD
missing GD::Polyline
ok 2.5 Getopt::Long
ok 1.40 IO::File
ok 0.428 List::MoreUtils
ok 1.5 List::Util
ok 0.01 Math::Bezier
ok 1.999816 Math::BigFloat
ok 0.07 Math::Round
ok 0.08 Math::VecStat
ok 1.03_01 Memoize
ok 1.88 POSIX
ok 1.29 Params::Validate
ok 1.69 Pod::Usage
ok 2.05 Readonly
ok 2017060201 Regexp::Common
ok 2.87 SVG
ok 1.19 Set::IntSpan
ok 1.6611 Statistics::Basic
ok 3.15 Storable
ok 1.22 Sys::Hostname
ok 2.03 Text::Balanced
ok 0.62 Text::Format
ok 1.976 Time::HiRes
Trying to install them I end up with this message:
Building and testing ExtUtils-PkgConfig-1.16 ... FAIL
! Installing ExtUtils::PkgConfig failed. See /Users/beazita/.cpanm/work/1712564244.48608/build.log for details. Retry with --force to force install it.
! Installing the dependencies failed: Module 'ExtUtils::PkgConfig' is not installed
! Bailing out the installation for GD-2.78.
I have tried to run:
And
To see if I could solve the problem but it also return
--> Working on ExtUtils::PkgConfig
Fetching http://www.cpan.org/authors/id/X/XA/XAOC/ExtUtils-PkgConfig-1.16.tar.gz ... OK
Configuring ExtUtils-PkgConfig-1.16 ... OK
Building and testing ExtUtils-PkgConfig-1.16 ... FAIL
! Installing ExtUtils::PkgConfig failed. See /Users/beazita/.cpanm/work/1712564610.51061/build.log for details. Retry with --force to force install it.
I don’t know how to solve this problem. Has anyone had these kind of problems?
Any tips, links or suggestions would be helpful. Thank you.
P.S: I don’t know if this is important, but I have download GD-2.50, because I cannot decompress GD-2.78 using the command in the tutorial (2)