Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

circos missing modules #9830

Closed
mcornwell1957 opened this issue Jul 9, 2018 · 19 comments
Closed

circos missing modules #9830

mcornwell1957 opened this issue Jul 9, 2018 · 19 comments

Comments

@mcornwell1957
Copy link
Member

Hi all - I have been trying to load up the circos package (which I know is notorious for its problems) and am running into some problems that I can't fix.

Simply enough - after doing a standard conda install circos it installs everything it needs to, but the installed version of circos can't find the GD package:

macintoshs-mbp:~ tosh$ circos -modules
ok       1.38 Carp
ok       0.38 Clone
ok       2.61 Config::General
ok       3.73 Cwd
ok      2.158 Data::Dumper
ok       2.54 Digest::MD5
ok       2.85 File::Basename
ok       3.73 File::Spec::Functions
ok     0.2304 File::Temp
ok       1.51 FindBin
ok       0.39 Font::TTF::Font
missing            GD
missing            GD::Polyline
ok       2.45 Getopt::Long
ok       1.16 IO::File
ok      0.428 List::MoreUtils
ok       1.45 List::Util
ok       0.01 Math::Bezier
ok     1.9997 Math::BigFloat
ok       0.07 Math::Round
ok       0.08 Math::VecStat
ok       1.03 Memoize
ok       1.53 POSIX
ok       1.26 Params::Validate
ok       1.64 Pod::Usage
ok       1.04 Readonly
ok 2016060801 Regexp::Common
ok       2.64 SVG
ok       1.19 Set::IntSpan
ok     1.6611 Statistics::Basic
ok       2.53 Storable
ok       1.20 Sys::Hostname
ok       2.03 Text::Balanced
ok       0.59 Text::Format
ok     1.9728 Time::HiRes

If you just run circos to see what the problem is - you get the following

macintoshs-mbp:~ tosh$ circos

*** 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 load '/Users/tosh/miniconda3/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level/auto/GD/GD.bundle' for module GD: dlopen(/Users/tosh/miniconda3/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level/auto/GD/GD.bundle, 1): Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib  Referenced from: /Users/tosh/miniconda3/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level/auto/GD/GD.bundle  Reason: image not found at /Users/tosh/miniconda3/lib/perl5/5.22.0/darwin-thread-multi-2level/DynaLoader.pm line 197. at (eval 25) line 1.Compilation failed in require at (eval 25) line 1.
missing GD::Polyline
  error Attempt to reload GD.pm aborted.Compilation failed in require at /Users/tosh/miniconda3/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level/GD/Polyline.pm line 45.

I believe the issue occurs due to the fact that there is a line in there that still tries to search for a global element (/usr/local/opt/libpng/lib/libpng16.16.dylib) that is (correctly) not there.

Bioconda has been such a good tool - and I'm sure I could install circos from scratch and go from there, but it would be great if I could continue to have all of my packages in this pipeline come from bioconda.

Any ideas of how to fix this? Thanks a lot for your help

@bgruening
Copy link
Member

@mcornwell1957 can you install circos into its own env and provide us with the detailed log, especially which packages gets installed from which channel. Thanks!

@mcornwell1957
Copy link
Member Author

Hi @bgruening thanks for getting back to me, and I very much appreciate your help.
Find below the output of what gets downloaded, and the continued error:
Please let me know if there is anything else that I can provide.

macintoshs-mbp:~ tosh$ conda create -n circos circos
Solving environment: done

## Package Plan ##

  environment location: /Users/tosh/miniconda3/envs/circos

  added / updated specs: 
    - circos


The following NEW packages will be INSTALLED:

    ca-certificates:            2018.4.16-0         conda-forge
    circos:                     0.69.6-1            bioconda   
    expat:                      2.2.5-hfc679d8_1    conda-forge
    fontconfig:                 2.12.6-0            conda-forge
    freetype:                   2.8.1-0             conda-forge
    giflib:                     5.1.4-h470a237_0    conda-forge
    icu:                        58.2-hfc679d8_0     conda-forge
    jpeg:                       9c-h470a237_0       conda-forge
    libgcc:                     4.8.5-hdbeacc1_10              
    libgd:                      2.2.5-3             conda-forge
    libgfortran:                3.0.1-h93005f0_2               
    libiconv:                   1.15-h470a237_1     conda-forge
    libpng:                     1.6.34-ha92aebf_1   conda-forge
    libtiff:                    4.0.9-he6b73bb_1    conda-forge
    libwebp:                    0.5.2-7             conda-forge
    libxml2:                    2.9.8-h422b904_2    conda-forge
    openssl:                    1.0.2o-0            conda-forge
    perl:                       5.22.0.1-0          conda-forge
    perl-app-cpanminus:         1.7043-pl5.22.0_0   bioconda   
    perl-carp:                  1.38-pl5.22.0_0     bioconda   
    perl-clone:                 0.38-0              bioconda   
    perl-config-general:        2.61-0              bioconda   
    perl-digest-hmac:           1.03-pl5.22.0_1     bioconda   
    perl-digest-perl-md5:       1.9-0               bioconda   
    perl-encode-locale:         1.05-pl5.22.0_4     bioconda   
    perl-exporter:              5.72-pl5.22.0_0     bioconda   
    perl-exporter-tiny:         0.042-1             bioconda   
    perl-extutils-makemaker:    6.66-pl5.22.0_2     bioconda   
    perl-file-listing:          6.04-0              bioconda   
    perl-font-ttf:              1.05-0              bioconda   
    perl-gd:                    2.56-3              bioconda   
    perl-html-parser:           3.72-pl5.22.0_1     bioconda   
    perl-html-tagset:           3.20-pl5.22.0_1     bioconda   
    perl-http-cookies:          6.01-0              bioconda   
    perl-http-daemon:           6.01-0              bioconda   
    perl-http-date:             6.02-pl5.22.0_1     bioconda   
    perl-http-message:          6.11-0              bioconda   
    perl-http-negotiate:        6.01-0              bioconda   
    perl-io-html:               1.001-pl5.22.0_1    bioconda   
    perl-io-socket-ssl:         2.024-0             bioconda   
    perl-io-string:             1.08-pl5.22.0_1     bioconda   
    perl-libwww-perl:           6.15-0              bioconda   
    perl-list-moreutils:        0.428-pl5.22.0_0    bioconda   
    perl-lwp-mediatypes:        6.02-pl5.22.0_1     bioconda   
    perl-math-bezier:           0.01-0              bioconda   
    perl-math-round:            0.07-0              bioconda   
    perl-math-vecstat:          0.08-0              bioconda   
    perl-mime-base64:           3.15-pl5.22.0_0     bioconda   
    perl-module-implementation: 0.09-0              bioconda   
    perl-module-runtime:        0.014-1             bioconda   
    perl-net-http:              6.09-0              bioconda   
    perl-net-ssleay:            1.84-pl5.22.0_0     bioconda   
    perl-ntlm:                  1.09-1              bioconda   
    perl-number-format:         1.75-pl5.22.0_0     bioconda   
    perl-params-validate:       1.26-pl5.22.0_0     bioconda   
    perl-pathtools:             3.73-pl522_1        bioconda   
    perl-readonly:              1.04-pl5.22.0_0     bioconda   
    perl-regexp-common:         2016060801-0        bioconda   
    perl-scalar-list-utils:     1.45-2              bioconda   
    perl-set-intspan:           1.19-0              bioconda   
    perl-statistics-basic:      1.6611-0            bioconda   
    perl-svg:                   2.64-0              bioconda   
    perl-test-more:             1.001002-pl5.22.0_0 bioconda   
    perl-text-format:           0.59-0              bioconda   
    perl-threaded:              5.22.0-13           bioconda   
    perl-time-hires:            1.9728-pl5.22.0_4   bioconda   
    perl-try-tiny:              0.24-pl5.22.0_2     bioconda   
    perl-uri:                   1.71-pl5.22.0_1     bioconda   
    perl-www-robotrules:        6.02-0              bioconda   
    perl-xml-parser:            2.44-4              bioconda   
    perl-xsloader:              0.22-pl5.22.0_0     bioconda   
    xz:                         5.2.3-0             conda-forge
    zlib:                       1.2.11-h470a237_3   conda-forge

Proceed ([y]/n)? 




macintoshs-mbp:~ tosh$ source activate circos
(circos) macintoshs-mbp:~ tosh$ circos -modules
ok       1.38 Carp
ok       0.38 Clone
ok       2.61 Config::General
ok       3.73 Cwd
ok      2.158 Data::Dumper
ok       2.54 Digest::MD5
ok       2.85 File::Basename
ok       3.73 File::Spec::Functions
ok     0.2304 File::Temp
ok       1.51 FindBin
ok       0.39 Font::TTF::Font
missing            GD
missing            GD::Polyline
ok       2.45 Getopt::Long
ok       1.16 IO::File
ok      0.428 List::MoreUtils
ok       1.45 List::Util
ok       0.01 Math::Bezier
ok     1.9997 Math::BigFloat
ok       0.07 Math::Round
ok       0.08 Math::VecStat
ok       1.03 Memoize
ok       1.53 POSIX
ok       1.26 Params::Validate
ok       1.64 Pod::Usage
ok       1.04 Readonly
ok 2016060801 Regexp::Common
ok       2.64 SVG
ok       1.19 Set::IntSpan
ok     1.6611 Statistics::Basic
ok       2.53 Storable
ok       1.20 Sys::Hostname
ok       2.03 Text::Balanced
ok       0.59 Text::Format
ok     1.9728 Time::HiRes

@mcornwell1957
Copy link
Member Author

Hi @bgruening - is there anything else you want me to provide to help solve this problem? Thanks for your help!

@rvalieris
Copy link
Member

its working on linux, I am guess you are on osx. osx builds of perl-gd are currently set to skip, so I am guessing the need to be re-built to pick up the new libs.

@mcornwell1957
Copy link
Member Author

Hi @rvalieris - thank you very much for your input. And it looks like you are already doing the rebuild! I will try again when the rebuild is done, thanks again!

@rvalieris rvalieris mentioned this issue Jul 16, 2018
5 tasks
@rvalieris
Copy link
Member

new package is up, please test it on osx !

@mcornwell1957
Copy link
Member Author

Tested and working - thank you so much!! (hope it wasnt too much trouble)

@vladsavelyev
Copy link
Member

vladsavelyev commented Nov 13, 2018

I'm having the same issue on Linux systems too.

On one of the systems, I fixed it by changing into $CONDA_PREFIX/lib and linking libwebp as follows:

ln -s libwebp.so.6 libwebp.so.7

For some reason libgd was expecting version 7 if this lib instead of 6.


Another linux system with this issue is Travis: https://travis-ci.org/umccr/umccrise/builds/453904242
Getting the same error output there:

circos -modules 
ok       1.38 Carp
ok       0.41 Clone
ok       2.61 Config::General
ok       3.73 Cwd
ok      2.167 Data::Dumper
ok       2.55 Digest::MD5
ok       2.85 File::Basename
ok       3.67 File::Spec::Functions
ok     0.2304 File::Temp
ok       1.51 FindBin
ok       0.39 Font::TTF::Font
missing            GD
missing            GD::Polyline
ok       2.49 Getopt::Long
ok       1.16 IO::File
ok      0.428 List::MoreUtils
ok     1.4602 List::Util
ok       0.01 Math::Bezier
ok   1.999806 Math::BigFloat
ok       0.07 Math::Round
ok       0.08 Math::VecStat
ok    1.03_01 Memoize
ok       1.76 POSIX
ok       1.26 Params::Validate
ok       1.69 Pod::Usage
ok       1.04 Readonly
ok 2017060201 Regexp::Common
ok       2.84 SVG
ok       1.19 Set::IntSpan
ok     1.6611 Statistics::Basic
ok       2.62 Storable
ok       1.20 Sys::Hostname
ok       2.03 Text::Balanced
ok       0.59 Text::Format
ok     1.9741 Time::HiRes

circos -v
*** 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 load '/home/travis/miniconda/envs/umccrise_purple/lib/site_perl/5.26.2/x86_64-linux-thread-multi/auto/GD/GD.so' for module GD: libwebp.so.7: cannot open shared object file: No such file or directory at /home/travis/miniconda/envs/umccrise_purple/bin/../lib/5.26.2/x86_64-linux-thread-multi/DynaLoader.pm line 193. at (eval 27) line 1.Compilation failed in require at (eval 27) line 1.
missing GD::Polyline
  error Attempt to reload GD.pm aborted.Compilation failed in require at /home/travis/miniconda/envs/umccrise_purple/lib/site_perl/5.26.2/x86_64-linux-thread-multi/GD/Polyline.pm line 45.

The environment on Travis:

circos-0.69.6        | 25.9 MB   | ########## | 100% 
perl-dynaloader-1.25 | 3 KB      | ########## | 100% 
perl-try-tiny-0.30   | 16 KB     | ########## | 100% 
perl-set-intspan-1.1 | 22 KB     | ########## | 100% 
samtools-1.9         | 483 KB    | ########## | 100% 
perl-xml-parser-2.44 | 163 KB    | ########## | 100% 
r-base-3.4.1         | 23.0 MB   | ########## | 100% 
perl-exporter-tiny-1 | 21 KB     | ########## | 100% 
perl-carp-1.38       | 14 KB     | ########## | 100% 
perl-gd-2.69         | 112 KB    | ########## | 100% 
fontconfig-2.12.6    | 943 KB    | ########## | 100% 
perl-math-round-0.07 | 9 KB      | ########## | 100% 
xorg-libxfixes-5.0.3 | 16 KB     | ########## | 100% 
cairo-1.14.12        | 1.3 MB    | ########## | 100% 
perl-module-implemen | 9 KB      | ########## | 100% 
perl-config-general- | 39 KB     | ########## | 100% 
xorg-inputproto-2.3. | 18 KB     | ########## | 100% 
ldc-1.11.0           | 32.3 MB   | ########## | 100% 
perl-params-validate | 44 KB     | ########## | 100% 
perl-digest-perl-md5 | 11 KB     | ########## | 100% 
libgd-2.2.5          | 871 KB    | ########## | 100% 
libgcc-ng-7.2.0      | 6.1 MB    | ########## | 100% 
giflib-5.1.4         | 74 KB     | ########## | 100% 
perl-time-hires-1.97 | 24 KB     | ########## | 100% 
pcre-8.41            | 243 KB    | ########## | 100% 
perl-regexp-common-2 | 93 KB     | ########## | 100% 
perl-test-more-1.001 | 3 KB      | ########## | 100% 
xorg-recordproto-1.1 | 7 KB      | ########## | 100% 
perl-extutils-makema | 151 KB    | ########## | 100% 
gsl-2.2.1            | 2.6 MB    | ########## | 100% 
java-jdk-8.0.112     | 4 KB      | ########## | 100% 
openjdk-8.0.112      | 47.7 MB   | ########## | 100% 
perl-list-moreutils- | 43 KB     | ########## | 100% 
xorg-libxtst-1.2.3   | 30 KB     | ########## | 100% 
perl-exporter-5.72   | 13 KB     | ########## | 100% 
bioconductor-copynum | 1.7 MB    | ########## | 100% 
perl-module-runtime- | 14 KB     | ########## | 100% 
libpng-1.6.34        | 304 KB    | ########## | 100% 
perl-parent-0.236    | 5 KB      | ########## | 100% 
perl-font-ttf-1.06   | 200 KB    | ########## | 100% 
perl-scalar-list-uti | 36 KB     | ########## | 100% 
perl-data-dumper-2.1 | 34 KB     | ########## | 100% 
perl-io-string-1.08  | 10 KB     | ########## | 100% 
r-rcurl-1.95_4.11    | 765 KB    | ########## | 100% 
perl-autoloader-5.74 | 4 KB      | ########## | 100% 
readline-7.0         | 381 KB    | ########## | 100% 
perl-clone-0.41      | 14 KB     | ########## | 100% 
perl-math-vecstat-0. | 9 KB      | ########## | 100% 
perl-pathtools-3.73  | 49 KB     | ########## | 100% 
tk-8.6.8             | 3.1 MB    | ########## | 100% 
harfbuzz-1.7.6       | 807 KB    | ########## | 100% 
glib-2.56.2          | 4.6 MB    | ########## | 100% 
perl-number-format-1 | 20 KB     | ########## | 100% 
sambamba-0.6.8       | 4.1 MB    | ########## | 100% 
perl-math-bezier-0.0 | 8 KB      | ########## | 100% 
perl-encode-2.88     | 2.1 MB    | ########## | 100% 
perl-list-moreutils- | 28 KB     | ########## | 100% 
xorg-libxi-1.7.9     | 44 KB     | ########## | 100% 
perl-statistics-basi | 32 KB     | ########## | 100% 
perl-svg-2.84        | 37 KB     | ########## | 100% 
perl-xsloader-0.24   | 8 KB      | ########## | 100% 
hmftools-purple-2.16 | 27.4 MB   | ########## | 100% 
libtiff-4.0.9        | 521 KB    | ########## | 100% 
hmftools-cobalt-1.5  | 13.9 MB   | ########## | 100% 
libwebp-0.5.2        | 688 KB    | ########## | 100% 
xorg-libxt-1.1.5     | 352 KB    | ########## | 100% 
pango-1.40.14        | 1012 KB   | ########## | 100% 
xorg-fixesproto-5.0  | 8 KB      | ########## | 100% 
perl-text-format-0.5 | 15 KB     | ########## | 100% 
ncurses-6.1          | 1.2 MB    | ########## | 100% 
perl-readonly-1.04   | 15 KB     | ########## | 100% 
freetype-2.8.1       | 789 KB    | ########## | 100% 

Vlad

@vladsavelyev vladsavelyev reopened this Nov 13, 2018
@bartosz-kozak
Copy link

I had the same problem on Ubuntu 18.04 LTS. The solution gave by @vladsaveliev with linking libwebp.so.6 and libwebp.so.7 solved the problem. What is interesting on my other system (Ubuntu Mate 18.04 LTS) circos works just fine.
Env on my Ubuntu Mate:

# Name                    Version                   Build  Channel
argtable2                 2.13                          1    conda-forge
asn1crypto                0.24.0                   py27_0  
bioawk                    1.0                           2    bioconda
biopython                 1.70                np112py27_1    bioconda
blas                      1.0                         mkl  
bwa                       0.7.17               pl5.22.0_2    bioconda
bz2file                   0.98                     py27_0  
bzip2                     1.0.6                         1    conda-forge
ca-certificates           2018.10.15           ha4d7672_0    conda-forge
certifi                   2018.10.15            py27_1000    conda-forge
cffi                      1.11.5           py27h9745a5d_0  
chardet                   3.0.4            py27hfa10054_1  
circos                    0.69.6                        3    bioconda
clustalo                  1.2.4                         1    bioconda
conda                     4.5.11                py27_1000    conda-forge
conda-env                 2.6.0                h36134e3_1  
cryptography              2.2.2            py27h14c3975_0  
cufflinks                 2.2.1                    py27_1    bioconda
curl                      7.60.0                        0    conda-forge
cutadapt                  1.16                     py27_1    bioconda
entrez-direct             7.70                 pl5.22.0_0    bioconda
enum34                    1.1.6            py27h99a27e9_1  
expat                     2.2.5                hfc679d8_2    conda-forge
fastqc                    0.11.7               pl5.22.0_1    bioconda
fontconfig                2.12.1                        4    conda-forge
freetype                  2.7                           1    conda-forge
futures                   3.2.0            py27h7b459c0_0  
giflib                    5.1.4                h470a237_1    conda-forge
hdf5                      1.8.17                       11    conda-forge
hisat2                    2.1.0            py27pl5.22.0_0    bioconda
icu                       58.2                 hfc679d8_0    conda-forge
idna                      2.6              py27h5722d68_1  
intel-openmp              2018.0.3                      0  
ipaddress                 1.0.22                   py27_0  
jpeg                      9b                            2    conda-forge
kallisto                  0.44.0             hdf51.8.17_1    bioconda
krb5                      1.14.6                        0    conda-forge
libdeflate                0.8                           0    bioconda
libedit                   3.1.20170329                  0    conda-forge
libffi                    3.2.1                hd88cf55_4  
libgcc                    7.2.0                h69d50b8_2  
libgcc-ng                 7.2.0                hdf63c60_3  
libgd                     2.2.4                         2    conda-forge
libgfortran               3.0.0                         1  
libgfortran-ng            7.2.0                hdf63c60_3  
libiconv                  1.15                 h470a237_3    conda-forge
libpng                    1.6.34                        0    conda-forge
libssh2                   1.8.0                         2    conda-forge
libstdcxx-ng              7.2.0                hdf63c60_3  
libtiff                   4.0.9                         0    conda-forge
libwebp                   0.5.2                         7    conda-forge
libxml2                   2.9.8                h422b904_2    conda-forge
mkl                       2018.0.3                      1  
mkl_fft                   1.0.2                    py27_0    conda-forge
mkl_random                1.0.1                    py27_0    conda-forge
mmtf-python               1.0.2                    py27_0    bioconda
msgpack-python            0.5.6            py27h2d50403_2    conda-forge
ncurses                   5.9                          10    conda-forge
numpy                     1.12.1           py27h9378851_1  
numpy-base                1.14.5           py27hdbf6ddf_0  
olefile                   0.45.1                   py27_0    conda-forge
openblas                  0.2.20                        8    conda-forge
openjdk                   8.0.121                       1  
openssl                   1.0.2p               h470a237_1    conda-forge
pandas                    0.23.1                   py27_0    conda-forge
perl                      5.22.0.1                      0    conda-forge
perl-app-cpanminus        1.7043               pl5.22.0_0    bioconda
perl-carp                 1.38                 pl5.22.0_0    bioconda
perl-clone                0.38                          0    bioconda
perl-config-general       2.61                          0    bioconda
perl-data-dumper          2.161                pl5.22.0_0    bioconda
perl-digest-perl-md5      1.9                           0    bioconda
perl-encode-locale        1.05                 pl5.22.0_4    bioconda
perl-exporter             5.72                 pl5.22.0_0    bioconda
perl-exporter-tiny        0.042                         1    bioconda
perl-extutils-makemaker   7.24                 pl5.22.0_1    bioconda
perl-font-ttf             1.05                          0    bioconda
perl-gd                   2.56            pl522h470a237_9    bioconda
perl-io-string            1.08                 pl5.22.0_1    bioconda
perl-list-moreutils       0.428                pl5.22.0_0    bioconda
perl-lwp-protocol-https   6.06                          2    bioconda
perl-lwp-simple           6.15                          3    bioconda
perl-math-bezier          0.01                          0    bioconda
perl-math-round           0.07                          0    bioconda
perl-math-vecstat         0.08                          0    bioconda
perl-module-implementation 0.09                          0    bioconda
perl-module-runtime       0.014                         1    bioconda
perl-number-format        1.75                          1    bioconda
perl-params-validate      1.08                          0    bioconda
perl-pathtools            3.73                 h470a237_2    bioconda
perl-readonly             1.04                 pl5.22.0_0    bioconda
perl-regexp-common        2016060801                    0    bioconda
perl-scalar-list-utils    1.45                          2    bioconda
perl-set-intspan          1.19                          0    bioconda
perl-statistics-basic     1.6611                        1    bioconda
perl-svg                  2.64                          0    bioconda
perl-test-more            1.001002             pl5.22.0_0    bioconda
perl-text-format          0.59                          0    bioconda
perl-threaded             5.22.0              pl5.22.0_12    bioconda
perl-time-hires           1.9728               pl5.22.0_4    bioconda
perl-try-tiny             0.24                 pl5.22.0_2    bioconda
perl-xml-parser           2.44                          3    bioconda
pigz                      2.3.4                         0    conda-forge
pillow                    4.2.1                    py27_0    conda-forge
pip                       10.0.1                   py27_0  
pycosat                   0.6.3            py27ha4109ae_0  
pycparser                 2.18             py27hefa08c5_1  
pyopenssl                 18.0.0                   py27_0  
pysocks                   1.6.8                    py27_0  
python                    2.7.14              ha6fc286_23  
python-dateutil           2.7.3                      py_0    conda-forge
pytz                      2018.4                     py_0    conda-forge
readline                  7.0                           0    conda-forge
reportlab                 3.4.0                    py27_0    conda-forge
requests                  2.18.4           py27hc5b0589_1  
ruamel_yaml               0.15.37          py27h14c3975_2  
samtools                  1.8                           4    bioconda
seqtk                     1.2                           1    bioconda
setuptools                39.2.0                   py27_0  
six                       1.11.0           py27h5f960f1_1  
sqlite                    3.23.1               he433501_0  
sra-tools                 2.8.2                         0    bioconda
subread                   1.6.1                         0    bioconda
tk                        8.6.7                hc745277_3  
trimmomatic               0.36                          5    bioconda
urllib3                   1.22             py27ha55213b_0  
wheel                     0.31.1                   py27_0  
xlwt                      1.3.0                     <pip>
xopen                     0.3.2                    py27_0    bioconda
xz                        5.2.3                         0    conda-forge
yaml                      0.1.7                had09818_2  
zlib                      1.2.11               ha838bed_2  

@telatin
Copy link
Member

telatin commented Nov 29, 2018

I had the same issue under several Ubuntu installations. I also tested in a docker image made with the following Dockerfile:

FROM debian:latest 

ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
ENV PATH /opt/conda/bin:$PATH

RUN apt-get update --fix-missing && apt-get install -y wget bzip2 ca-certificates \
    libglib2.0-0 libxext6 libsm6 libxrender1 \
    git mercurial subversion

RUN wget --quiet https://repo.anaconda.com/archive/Anaconda3-5.3.0-Linux-x86_64.sh -O ~/anaconda.sh && \
    /bin/bash ~/anaconda.sh -b -p /opt/conda && \
    rm ~/anaconda.sh && \
    ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
    echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
    echo "conda activate base" >> ~/.bashrc

RUN apt-get install -y curl grep sed dpkg && \
    TINI_VERSION=`curl https://github.com/krallin/tini/releases/latest | grep -o "/v.*\"" | sed 's:^..\(.*\).$:\1:'` && \
    curl -L "https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini_${TINI_VERSION}.deb" > tini.deb && \
    dpkg -i tini.deb && \
    rm tini.deb && \
    apt-get clean

RUN conda config --add channels bioconda
RUN conda config --add channels conda-forge
RUN conda config --add channels r
RUN conda config --add channels defaults

RUN conda create -n circos circos

ENTRYPOINT [ "/usr/bin/tini", "--" ]
CMD [ "/bin/bash" ]

When running a container using this image, and issuing the commands:

conda activate circos
circos -modules

I obtain the same problem with GD:

ok       1.38 Carp
ok       0.41 Clone
ok       2.61 Config::General
ok       3.73 Cwd
ok      2.167 Data::Dumper
ok       2.55 Digest::MD5
ok       2.85 File::Basename
ok       3.67 File::Spec::Functions
ok     0.2304 File::Temp
ok       1.51 FindBin
ok       0.39 Font::TTF::Font
missing            GD
missing            GD::Polyline
ok       2.49 Getopt::Long
ok       1.16 IO::File
ok      0.428 List::MoreUtils
ok     1.4602 List::Util
ok       0.01 Math::Bezier
ok   1.999806 Math::BigFloat
ok       0.07 Math::Round
ok       0.08 Math::VecStat
ok    1.03_01 Memoize
ok       1.76 POSIX
ok       1.29 Params::Validate
ok       1.69 Pod::Usage
ok       1.04 Readonly
ok 2017060201 Regexp::Common
ok       2.84 SVG
ok       1.19 Set::IntSpan
ok     1.6611 Statistics::Basic
ok       2.62 Storable
ok       1.20 Sys::Hostname
ok       2.03 Text::Balanced
ok       0.59 Text::Format
ok     1.9741 Time::HiRes

@JihedC
Copy link

JihedC commented Nov 30, 2018

I have the same issue here, on osx Mojave 10.14

'''
conda install -c bioconda circos
Solving environment: done

Package Plan

environment location: /anaconda3/envs/circos

added / updated specs:
- circos

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
perl-regexp-common-2017060201|          pl526_0          93 KB  bioconda
perl-scalar-list-utils-1.45|  pl526h470a237_3          33 KB  bioconda
perl-exporter-5.72         |          pl526_1          13 KB  bioconda
libgd-2.2.5                |       h6553a0d_4         271 KB  conda-forge
perl-readonly-1.04         |          pl526_2          15 KB  bioconda
perl-encode-2.88           |          pl526_1         1.3 MB  bioconda
perl-try-tiny-0.30         |          pl526_0          16 KB  bioconda
perl-number-format-1.75    |          pl526_3          20 KB  bioconda
perl-config-general-2.61   |          pl526_1          40 KB  bioconda
perl-time-hires-1.9758     |          pl526_0          22 KB  bioconda
perl-carp-1.38             |          pl526_1          15 KB  bioconda
perl-math-round-0.07       |          pl526_1           9 KB  bioconda
perl-autoloader-5.74       |          pl526_1           4 KB  bioconda
perl-dynaloader-1.25       |          pl526_1           4 KB  bioconda
perl-xml-parser-2.44       |  pl526h3a4f0e9_6         161 KB  bioconda
perl-data-dumper-2.161     |          pl526_2          34 KB  bioconda
perl-params-validate-1.29  |  pl526h470a237_0          43 KB  bioconda
perl-clone-0.41            |  pl526h470a237_0          11 KB  bioconda
circos-0.69.6              |                3        25.9 MB  bioconda
perl-parent-0.236          |          pl526_1           6 KB  bioconda
perl-text-format-0.59      |          pl526_1          15 KB  bioconda
perl-font-ttf-1.06         |          pl526_0         200 KB  bioconda
perl-digest-perl-md5-1.9   |          pl526_1          11 KB  bioconda
perl-math-vecstat-0.08     |          pl526_1           9 KB  bioconda
perl-io-string-1.08        |          pl526_3          10 KB  bioconda
perl-svg-2.84              |          pl526_0          37 KB  bioconda
perl-module-runtime-0.016  |          pl526_0          14 KB  bioconda
perl-pathtools-3.73        |  pl526h470a237_2          47 KB  bioconda
perl-set-intspan-1.19      |          pl526_1          22 KB  bioconda
perl-module-implementation-0.09|          pl526_2           9 KB  bioconda
perl-extutils-makemaker-7.34|          pl526_2         151 KB  bioconda
perl-test-more-1.001002    |          pl526_1           3 KB  bioconda
perl-statistics-basic-1.6611|                0          27 KB  bioconda
perl-math-bezier-0.01      |          pl526_1           8 KB  bioconda
------------------------------------------------------------
                                       Total:        28.6 MB

The following NEW packages will be INSTALLED:

circos:                     0.69.6-3             bioconda
expat:                      2.2.5-hfc679d8_2     conda-forge
fontconfig:                 2.13.1-hce039c3_0    conda-forge
freetype:                   2.9.1-h6debe1e_4     conda-forge
giflib:                     5.1.4-h470a237_1     conda-forge
icu:                        58.2-hfc679d8_0      conda-forge
jpeg:                       9c-h470a237_1        conda-forge
libgd:                      2.2.5-h6553a0d_4     conda-forge
libiconv:                   1.15-h470a237_3      conda-forge
libpng:                     1.6.35-ha92aebf_2    conda-forge
libtiff:                    4.0.9-he6b73bb_2     conda-forge
libwebp:                    0.5.2-7              conda-forge
libxml2:                    2.9.8-h422b904_5     conda-forge
perl:                       5.26.2-h16c6ff1_0    conda-forge
perl-autoloader:            5.74-pl526_1         bioconda
perl-carp:                  1.38-pl526_1         bioconda
perl-clone:                 0.41-pl526h470a237_0 bioconda
perl-config-general:        2.61-pl526_1         bioconda
perl-data-dumper:           2.161-pl526_2        bioconda
perl-digest-perl-md5:       1.9-pl526_1          bioconda
perl-dynaloader:            1.25-pl526_1         bioconda
perl-encode:                2.88-pl526_1         bioconda
perl-exporter:              5.72-pl526_1         bioconda
perl-exporter-tiny:         1.000000-pl526_0     bioconda
perl-extutils-makemaker:    7.34-pl526_2         bioconda
perl-font-ttf:              1.06-pl526_0         bioconda
perl-gd:                    2.69-pl526he941832_0 bioconda
perl-io-string:             1.08-pl526_3         bioconda
perl-list-moreutils:        0.428-pl526_1        bioconda
perl-list-moreutils-xs:     0.428-pl526_0        bioconda
perl-math-bezier:           0.01-pl526_1         bioconda
perl-math-round:            0.07-pl526_1         bioconda
perl-math-vecstat:          0.08-pl526_1         bioconda
perl-module-implementation: 0.09-pl526_2         bioconda
perl-module-runtime:        0.016-pl526_0        bioconda
perl-number-format:         1.75-pl526_3         bioconda
perl-params-validate:       1.29-pl526h470a237_0 bioconda
perl-parent:                0.236-pl526_1        bioconda
perl-pathtools:             3.73-pl526h470a237_2 bioconda
perl-readonly:              1.04-pl526_2         bioconda
perl-regexp-common:         2017060201-pl526_0   bioconda
perl-scalar-list-utils:     1.45-pl526h470a237_3 bioconda
perl-set-intspan:           1.19-pl526_1         bioconda
perl-statistics-basic:      1.6611-0             bioconda
perl-svg:                   2.84-pl526_0         bioconda
perl-test-more:             1.001002-pl526_1     bioconda
perl-text-format:           0.59-pl526_1         bioconda
perl-threaded:              5.22.0-10            bioconda
perl-time-hires:            1.9758-pl526_0       bioconda
perl-try-tiny:              0.30-pl526_0         bioconda
perl-xml-parser:            2.44-pl526h3a4f0e9_6 bioconda
perl-xsloader:              0.24-pl526_0         bioconda
xz:                         5.2.4-h470a237_1     conda-forge
zlib:                       1.2.11-h470a237_3    conda-forge

I thought I could run circos directly but I got this : 

```*** 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 Readonly
  error Can't locate Readonly.pm in @INC (you may need to install the Readonly module) (@INC contains: /anaconda3/envs/circos/bin/lib /anaconda3/envs/circos/bin/../lib /anaconda3/envs/circos/bin /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0 /anaconda3/envs/circos/lib/perl5/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/5.22.0 .) at (eval 37) line 1.
missing Math::Round
  error Can't locate Math/Round.pm in @INC (you may need to install the Math::Round module) (@INC contains: /anaconda3/envs/circos/bin/lib /anaconda3/envs/circos/bin/../lib /anaconda3/envs/circos/bin /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0 /anaconda3/envs/circos/lib/perl5/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/5.22.0 .) at (eval 30) line 1.
missing Font::TTF::Font
  error Can't locate Font/TTF/Font.pm in @INC (you may need to install the Font::TTF::Font module) (@INC contains: /anaconda3/envs/circos/bin/lib /anaconda3/envs/circos/bin/../lib /anaconda3/envs/circos/bin /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0 /anaconda3/envs/circos/lib/perl5/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/5.22.0 .) at (eval 20) line 1.
missing Config::General
  error Can't locate Config/General.pm in @INC (you may need to install the Config::General module) (@INC contains: /anaconda3/envs/circos/bin/lib /anaconda3/envs/circos/bin/../lib /anaconda3/envs/circos/bin /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0 /anaconda3/envs/circos/lib/perl5/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/5.22.0 .) at (eval 6) line 1.
missing Clone
  error Can't locate Clone.pm in @INC (you may need to install the Clone module) (@INC contains: /anaconda3/envs/circos/bin/lib /anaconda3/envs/circos/bin/../lib /anaconda3/envs/circos/bin /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0 /anaconda3/envs/circos/lib/perl5/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/5.22.0 .) at (eval 5) line 1.
missing GD
  error Can't find 'boot_GD' symbol in /anaconda3/envs/circos/bin/../lib/libGD.dylib at (eval 21) line 1.Compilation failed in require at (eval 21) line 1.
missing Math::VecStat
  error Can't locate Math/VecStat.pm in @INC (you may need to install the Math::VecStat module) (@INC contains: /anaconda3/envs/circos/bin/lib /anaconda3/envs/circos/bin/../lib /anaconda3/envs/circos/bin /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0 /anaconda3/envs/circos/lib/perl5/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/5.22.0 .) at (eval 31) line 1.
missing List::MoreUtils
  error Can't locate List/MoreUtils.pm in @INC (you may need to install the List::MoreUtils module) (@INC contains: /anaconda3/envs/circos/bin/lib /anaconda3/envs/circos/bin/../lib /anaconda3/envs/circos/bin /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0 /anaconda3/envs/circos/lib/perl5/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/5.22.0 .) at (eval 25) line 1.
missing GD::Polyline
  error Attempt to reload GD.pm aborted.Compilation failed in require at GD/Polyline.pm line 45.
missing SVG
  error Can't locate SVG.pm in @INC (you may need to install the SVG module) (@INC contains: /anaconda3/envs/circos/bin/lib /anaconda3/envs/circos/bin/../lib /anaconda3/envs/circos/bin /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0 /anaconda3/envs/circos/lib/perl5/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/5.22.0 .) at (eval 42) line 1.
missing Params::Validate
  error Can't locate Params/Validate.pm in @INC (you may need to install the Params::Validate module) (@INC contains: /anaconda3/envs/circos/bin/lib /anaconda3/envs/circos/bin/../lib /anaconda3/envs/circos/bin /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0 /anaconda3/envs/circos/lib/perl5/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/5.22.0 .) at (eval 35) line 1.
missing Set::IntSpan
  error Can't locate Set/IntSpan.pm in @INC (you may need to install the Set::IntSpan module) (@INC contains: /anaconda3/envs/circos/bin/lib /anaconda3/envs/circos/bin/../lib /anaconda3/envs/circos/bin /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0 /anaconda3/envs/circos/lib/perl5/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/5.22.0 .) at (eval 39) line 1.
missing Math::Bezier
  error Can't locate Math/Bezier.pm in @INC (you may need to install the Math::Bezier module) (@INC contains: /anaconda3/envs/circos/bin/lib /anaconda3/envs/circos/bin/../lib /anaconda3/envs/circos/bin /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0 /anaconda3/envs/circos/lib/perl5/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/5.22.0 .) at (eval 27) line 1.
missing Statistics::Basic
  error Can't locate Number/Format.pm in @INC (you may need to install the Number::Format module) (@INC contains: /anaconda3/envs/circos/bin/lib /anaconda3/envs/circos/bin/../lib /anaconda3/envs/circos/bin /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0 /anaconda3/envs/circos/lib/perl5/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/5.22.0 .) at /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0/Statistics/Basic.pm line 8.
missing Text::Format
  error Can't locate Text/Format.pm in @INC (you may need to install the Text::Format module) (@INC contains: /anaconda3/envs/circos/bin/lib /anaconda3/envs/circos/bin/../lib /anaconda3/envs/circos/bin /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0 /anaconda3/envs/circos/lib/perl5/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/5.22.0 .) at (eval 46) line 1.
missing Regexp::Common
  error Can't locate Regexp/Common.pm in @INC (you may need to install the Regexp::Common module) (@INC contains: /anaconda3/envs/circos/bin/lib /anaconda3/envs/circos/bin/../lib /anaconda3/envs/circos/bin /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/site_perl/5.22.0 /anaconda3/envs/circos/lib/perl5/5.22.0/darwin-thread-multi-2level /anaconda3/envs/circos/lib/perl5/5.22.0 .) at (eval 38) line 1.

So I checked the modules, circos -modules gives:

missing            Clone
missing            Config::General
ok       3.56 Cwd
ok      2.158 Data::Dumper
ok       2.54 Digest::MD5
ok       2.85 File::Basename
ok       3.56 File::Spec::Functions
ok     0.2304 File::Temp
ok       1.51 FindBin
missing            Font::TTF::Font
missing            GD
missing            GD::Polyline
ok       2.45 Getopt::Long
ok       1.16 IO::File
missing            List::MoreUtils
ok       1.41 List::Util
missing            Math::Bezier
ok     1.9997 Math::BigFloat
missing            Math::Round
missing            Math::VecStat
ok       1.03 Memoize
ok       1.53 POSIX
missing            Params::Validate
ok       1.64 Pod::Usage
missing            Readonly
missing            Regexp::Common
missing            SVG
missing            Set::IntSpan
missing            Statistics::Basic
ok       2.53 Storable
ok       1.20 Sys::Hostname
ok       2.03 Text::Balanced
missing            Text::Format
ok     1.9726 Time::HiRes

Any help is welcome :)

@wabbas2
Copy link

wabbas2 commented Dec 3, 2018

I am having the same problem as described by JihedC.
Any help would be great.

@caspargross
Copy link

@telatin
I had the same issue in a similar docker container. Using the solution provided by @vladsaveliev solved the issue.

@mmiladi
Copy link
Contributor

mmiladi commented Feb 4, 2019

I confirm that the issue still exists and linking suggested by @vladsaveliev fixes it, Should/can we patch this in the recipe?

@vladsavelyev
Copy link
Member

Not sure what's changed, but it's no longer an issue for me since just recently. libwebp.so.7.0.4 is installed by default now if I create a fresh environment with conda create -n test_circos circos.

@mmiladi
Copy link
Contributor

mmiladi commented Feb 5, 2019

Thanks @bgruening the issue seems to be resolved now. This commit is reverted back, and with build-n2 the correct .so file is getting installed.

@mmiladi mmiladi mentioned this issue Feb 5, 2019
5 tasks
@summike
Copy link

summike commented Jun 11, 2019

Hi all,

Please note I have installed all the required modules,
./circos -modules

ok       1.42 Carp
ok       0.41 Clone
ok       2.63 Config::General
ok       3.67 Cwd
ok      2.167 Data::Dumper
ok       2.55 Digest::MD5
ok       2.85 File::Basename
ok       3.67 File::Spec::Functions
ok     0.2304 File::Temp
ok       1.51 FindBin
ok       0.39 Font::TTF::Font
ok       2.53 GD
ok        0.2 GD::Polyline
ok       2.49 Getopt::Long
ok       1.16 IO::File
ok      0.428 List::MoreUtils
ok     1.4602 List::Util
ok       0.01 Math::Bezier
ok   1.999806 Math::BigFloat
ok       0.07 Math::Round
ok       0.08 Math::VecStat
ok    1.03_01 Memoize
ok       1.76 POSIX
ok       1.29 Params::Validate
ok       1.69 Pod::Usage
ok       2.05 Readonly
ok 2017060201 Regexp::Common
ok       2.84 SVG
ok       1.19 Set::IntSpan
ok     1.6611 Statistics::Basic
ok       2.62 Storable
ok       1.20 Sys::Hostname
ok       2.03 Text::Balanced
ok       0.61 Text::Format
ok     1.9741 Time::HiRes

However, when I ran the given example, I still met error as following
./run

Creating image circos.png and writing report to run.out.
Example takes ~45-60 seconds to generate.
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/_{ <-- HERE ([^}]+)}/ at /Users/xiaojiang/Downloads/circos-0.68/bin/../lib/Circos/SVG.pm line 246.
Compilation failed in require at /Users/xiaojiang/Downloads/circos-0.68/bin/../lib/Circos.pm line 88.
BEGIN failed--compilation aborted at /Users/xiaojiang/Downloads/circos-0.68/bin/../lib/Circos.pm line 88.
Compilation failed in require at ../bin/circos line 340.
BEGIN failed--compilation aborted at ../bin/circos line 340.

Any advice is appreciated.

Thank you very much!

Xiao

@druvus
Copy link
Member

druvus commented Sep 30, 2019

Seems that original issue resolved so closing.

@Jiangjiangzhang6
Copy link

how to solve this error I INSTALL the software all afternoon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests