merenlab / anvio

An analysis and visualization platform for 'omics data
http://merenlab.org/software/anvio
GNU General Public License v3.0
439 stars 145 forks source link

Self test mini and pangenome failing, latter says some packages aren't installed when they are #1297

Closed VibrantStarling closed 4 years ago

VibrantStarling commented 4 years ago

THIS IS A TECHNICAL ISSUE

Hello,

I'm having trouble installing anvio-6.1 on a debian 7 remote server.

I followed the instructions here: https://github.com/merenlab/anvio/issues/1258 because I was having an issue with quite a few of the packages not being included, or in the wrong version from your conda download. I had to run separate downloads for pandas, pyani, cherrypy, django, tidyverse, bioconductor-qvalue, hy5py and r-optparse.

When I run the mini self test it spits out the config error -2, but completes the test (I think) and runs through to the interactive in terminal pages.

When I run the pangenomics self test it spits out config error 255 and this:

Config Error: The following R packages are required in order to run this program, but are
missing: tidyverse, qvalue. You can install these packages using conda by
running the following commands: "conda install -c r r-tidyverse", "conda install -c bioconda bioconductor-qvalue"

HOWEVER both r-tidyverse and bioconductor-qvalue are installed (see the list of packages below)

I've attached the output for both the tests and highlighted stuff that could be important in a pdf at the bottom of this (otherwise this message would be WAY too long)

Send help

Thanks

(anvio-6) helend@euler01:~$ anvi-self-test --version
Anvi'o version ...............................: esther (v6.1)
Profile DB version ...........................: 31
Contigs DB version ...........................: 14
Pan DB version ...............................: 13
Genome data storage version ..................: 6
Auxiliary data storage version ...............: 2
Structure DB version .........................: 1

packages list

(anvio-6) helend@euler01:~$ conda list
# packages in environment at /pub28/helend/miniconda3/envs/anvio-6:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main  
_r-mutex                  1.0.1               anacondar_1    conda-forge
anvio                     6.1                           1    bioconda
anvio-minimal             6.1                        py_0    bioconda
appdirs                   1.4.3                      py_1    conda-forge
attrs                     19.3.0                     py_0    conda-forge
bcftools                  1.9                  h68d8f2e_8    bioconda
binutils_impl_linux-64    2.31.1               h7fc9f1b_2    conda-forge
binutils_linux-64         2.31.1              h6176602_12    conda-forge
bioconductor-qvalue       2.18.0                    r36_0    bioconda
biopython                 1.74             py36h516909a_0    conda-forge
blast                     2.9.0           pl526h3066fca_4    bioconda
blast-legacy              2.2.26                        2    bioconda
bottle                    0.12.13                    py_1    conda-forge
bowtie2                   2.3.5            py36he860b03_0    bioconda
bwa                       0.7.17               hed695b0_6    bioconda
bwidget                   1.9.13                        0    conda-forge
bzip2                     1.0.8                h516909a_1    conda-forge
ca-certificates           2019.9.11            hecc5488_0    conda-forge
cairo                     1.16.0            h18b612c_1001    conda-forge
centrifuge                1.0.4_beta      py36pl526he941832_2    bioconda
certifi                   2019.9.11                py36_0    conda-forge
cffi                      1.13.2           py36h8022711_0    conda-forge
chardet                   3.0.4                 py36_1003    conda-forge
cherrypy                  8.9.1                    pypi_0    pypi
colored                   1.3.93                     py_0    conda-forge
configargparse            0.13.0                     py_1    conda-forge
cryptography              2.8              py36h72c5cf5_0    conda-forge
curl                      7.65.3               hf8cf82a_0    conda-forge
cycler                    0.10.0                     py_2    conda-forge
cython                    0.29.14          py36he1b5a44_0    conda-forge
datrie                    0.8              py36h516909a_0    conda-forge
dbus                      1.13.6               he372182_0    conda-forge
diamond                   0.9.14               hd28b015_2    bioconda
django                    2.0.10                   pypi_0    pypi
docutils                  0.15.2                   py36_0    conda-forge
entrez-direct             11.0                    pl526_1    bioconda
ete3                      3.1.1                    py36_0    bioconda
expat                     2.2.5             he1b5a44_1004    conda-forge
fontconfig                2.13.1            he4413a7_1000    conda-forge
freetype                  2.10.0               he983fc9_1    conda-forge
gcc_impl_linux-64         7.3.0                habb00fd_2    conda-forge
gcc_linux-64              7.3.0               h553295d_12    conda-forge
gettext                   0.19.8.1          hc5be6a0_1002    conda-forge
gfortran_impl_linux-64    7.3.0                hdf63c60_2    conda-forge
gfortran_linux-64         7.3.0               h553295d_12    conda-forge
glib                      2.58.3          py36h6f030ca_1002    conda-forge
graphite2                 1.3.13            hf484d3e_1000    conda-forge
gsl                       2.5                  h294904e_1    conda-forge
gst-plugins-base          1.14.5               h0935bb2_0    conda-forge
gstreamer                 1.14.5               h36ae1b5_0    conda-forge
gxx_impl_linux-64         7.3.0                hdf63c60_2    conda-forge
gxx_linux-64              7.3.0               h553295d_12    conda-forge
h5py                      2.8.0                    pypi_0    pypi
harfbuzz                  2.4.0                h37c48d4_1    conda-forge
hmmer                     3.2.1                he1b5a44_2    bioconda
htslib                    1.9                  ha228f0b_7    bioconda
icu                       58.2              hf484d3e_1000    conda-forge
idna                      2.7                   py36_1002    conda-forge
illumina-utils            2.6                        py_0    bioconda
importlib_metadata        0.23                     py36_0    conda-forge
iqtree                    1.6.12               he513fc3_0    bioconda
joblib                    0.14.0                     py_0    conda-forge
jpeg                      9c                h14c3975_1001    conda-forge
jsonschema                3.1.1                    py36_0    conda-forge
kiwisolver                1.1.0            py36hc9558a2_0    conda-forge
krb5                      1.16.3            h05b26f9_1001    conda-forge
libblas                   3.8.0               14_openblas    conda-forge
libcblas                  3.8.0               14_openblas    conda-forge
libcurl                   7.65.3               hda55be3_0    conda-forge
libdeflate                1.0                  h14c3975_1    bioconda
libedit                   3.1.20170329      hf8c457e_1001    conda-forge
libffi                    3.2.1             he1b5a44_1006    conda-forge
libgcc                    7.2.0                h69d50b8_2    conda-forge
libgcc-ng                 9.1.0                hdf63c60_0  
libgfortran-ng            7.3.0                hdf63c60_2    conda-forge
libiconv                  1.15              h516909a_1005    conda-forge
liblapack                 3.8.0               14_openblas    conda-forge
libopenblas               0.3.7                h6e990d7_3    conda-forge
libpng                    1.6.37               hed695b0_0    conda-forge
libssh2                   1.8.2                h22169c7_2    conda-forge
libstdcxx-ng              9.1.0                hdf63c60_0  
libtiff                   4.1.0                hfc65ed5_0    conda-forge
libuuid                   2.32.1            h14c3975_1000    conda-forge
libxcb                    1.13              h14c3975_1002    conda-forge
libxml2                   2.9.9                h13577e0_2    conda-forge
libxslt                   1.1.32            hae48121_1003    conda-forge
lxml                      4.4.1            py36h7ec2d77_0    conda-forge
lz4-c                     1.8.3             he1b5a44_1001    conda-forge
make                      4.2.1             h14c3975_2004    conda-forge
matplotlib                2.2.3            py36hb69df0a_0  
mcl                       14.137          pl526h516909a_5    bioconda
megahit                   1.2.9                h8b12597_0    bioconda
mistune                   0.8.1            py36h3d5977c_0  
more-itertools            7.2.0                      py_0    conda-forge
mummer                    3.23                    pl526_8    bioconda
muscle                    3.8.1551             hc9558a2_5    bioconda
ncurses                   6.1               hf484d3e_1002    conda-forge
nose                      1.3.7                 py36_1003    conda-forge
numpy                     1.17.3           py36h95a1406_0    conda-forge
openssl                   1.1.1d               h516909a_0    conda-forge
pandas                    0.23.1                   pypi_0    pypi
pango                     1.40.14           he7ab937_1005    conda-forge
patsy                     0.5.1                      py_0    conda-forge
pcre                      8.43                 he1b5a44_0    conda-forge
perl                      5.26.2            h516909a_1006    conda-forge
perl-app-cpanminus        1.7044                  pl526_1    bioconda
perl-archive-tar          2.32                    pl526_0    bioconda
perl-base                 2.23                    pl526_1    bioconda
perl-business-isbn        3.004                   pl526_0    bioconda
perl-business-isbn-data   20140910.003            pl526_0    bioconda
perl-carp                 1.38                    pl526_3    bioconda
perl-common-sense         3.74                    pl526_2    bioconda
perl-compress-raw-bzip2   2.087           pl526he1b5a44_0    bioconda
perl-compress-raw-zlib    2.087           pl526hc9558a2_0    bioconda
perl-constant             1.33                    pl526_1    bioconda
perl-data-dumper          2.173                   pl526_0    bioconda
perl-digest-hmac          1.03                    pl526_3    bioconda
perl-digest-md5           2.55                    pl526_0    bioconda
perl-encode               2.88                    pl526_1    bioconda
perl-encode-locale        1.05                    pl526_6    bioconda
perl-exporter             5.72                    pl526_1    bioconda
perl-exporter-tiny        1.002001                pl526_0    bioconda
perl-extutils-makemaker   7.36                    pl526_1    bioconda
perl-file-listing         6.04                    pl526_1    bioconda
perl-file-path            2.16                    pl526_0    bioconda
perl-file-temp            0.2304                  pl526_2    bioconda
perl-html-parser          3.72            pl526h6bb024c_5    bioconda
perl-html-tagset          3.20                    pl526_3    bioconda
perl-html-tree            5.07                    pl526_1    bioconda
perl-http-cookies         6.04                    pl526_0    bioconda
perl-http-daemon          6.01                    pl526_1    bioconda
perl-http-date            6.02                    pl526_3    bioconda
perl-http-message         6.18                    pl526_0    bioconda
perl-http-negotiate       6.01                    pl526_3    bioconda
perl-io-compress          2.087           pl526he1b5a44_0    bioconda
perl-io-html              1.001                   pl526_2    bioconda
perl-io-socket-ssl        2.066                   pl526_0    bioconda
perl-io-zlib              1.10                    pl526_2    bioconda
perl-json                 4.02                    pl526_0    bioconda
perl-json-xs              2.34            pl526h6bb024c_3    bioconda
perl-libwww-perl          6.39                    pl526_0    bioconda
perl-list-moreutils       0.428                   pl526_1    bioconda
perl-list-moreutils-xs    0.428                   pl526_0    bioconda
perl-lwp-mediatypes       6.04                    pl526_0    bioconda
perl-lwp-protocol-https   6.07                    pl526_4    bioconda
perl-mime-base64          3.15                    pl526_1    bioconda
perl-mozilla-ca           20180117                pl526_1    bioconda
perl-net-http             6.19                    pl526_0    bioconda
perl-net-ssleay           1.88            pl526h90d6eec_0    bioconda
perl-ntlm                 1.09                    pl526_4    bioconda
perl-parent               0.236                   pl526_1    bioconda
perl-pathtools            3.75            pl526h14c3975_1    bioconda
perl-scalar-list-utils    1.52            pl526h516909a_0    bioconda
perl-socket               2.027                   pl526_1    bioconda
perl-storable             3.15            pl526h14c3975_0    bioconda
perl-test-requiresinternet 0.05                    pl526_0    bioconda
perl-time-local           1.28                    pl526_1    bioconda
perl-try-tiny             0.30                    pl526_1    bioconda
perl-types-serialiser     1.0                     pl526_2    bioconda
perl-uri                  1.76                    pl526_0    bioconda
perl-www-robotrules       6.02                    pl526_3    bioconda
perl-xml-namespacesupport 1.12                    pl526_0    bioconda
perl-xml-parser           2.44            pl526h4e0c4b3_7    bioconda
perl-xml-sax              1.02                    pl526_0    bioconda
perl-xml-sax-base         1.09                    pl526_0    bioconda
perl-xml-sax-expat        0.51                    pl526_3    bioconda
perl-xml-simple           2.25                    pl526_1    bioconda
perl-xsloader             0.24                    pl526_0    bioconda
pip                       19.3.1                   py36_0    conda-forge
pixman                    0.38.0            h516909a_1003    conda-forge
prodigal                  2.6.3                h516909a_2    bioconda
psutil                    5.4.3                    py36_0    conda-forge
pthread-stubs             0.4               h14c3975_1001    conda-forge
pyani                     0.2.9                    pypi_0    pypi
pycparser                 2.19                     py36_1    conda-forge
pyopenssl                 19.0.0                   py36_0    conda-forge
pyparsing                 2.4.5                      py_0    conda-forge
pyqt                      5.9.2            py36hcca6a23_4    conda-forge
pyrsistent                0.15.5           py36h516909a_0    conda-forge
pysam                     0.15.2           py36h4b7d16d_3    bioconda
pysocks                   1.7.1                    py36_0    conda-forge
python                    3.6.7             h357f687_1006    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python-levenshtein        0.12.0                   pypi_0    pypi
pytz                      2019.3                     py_0    conda-forge
pyyaml                    5.1.2            py36h516909a_0    conda-forge
qt                        5.9.7                h52cfd70_2    conda-forge
r-askpass                 1.0               r36h14c3975_0    r
r-assertthat              0.2.1             r36h6115d3f_1    conda-forge
r-backports               1.1.5             r36hcdcec82_0    conda-forge
r-base                    3.6.1                h8900bf8_2    conda-forge
r-base64enc               0.1_3             r36h96ca727_4    r
r-bh                      1.69.0_1          r36h6115d3f_0    r
r-broom                   0.5.2             r36h6115d3f_0    r
r-callr                   3.2.0             r36h6115d3f_0    r
r-cellranger              1.1.0             r36h6115d3f_0    r
r-cli                     1.1.0             r36h6115d3f_2    conda-forge
r-clipr                   0.6.0             r36h6115d3f_0    r
r-colorspace              1.4_1             r36hcdcec82_1    conda-forge
r-crayon                  1.3.4           r36h6115d3f_1002    conda-forge
r-curl                    3.3               r36h96ca727_0    r
r-dbi                     1.0.0             r36h6115d3f_0    r
r-dbplyr                  1.4.0             r36h6115d3f_0    r
r-digest                  0.6.22            r36h0357c0b_0    conda-forge
r-dplyr                   0.8.0.1           r36h29659fb_0    r
r-ellipsis                0.3.0             r36hcdcec82_0    conda-forge
r-evaluate                0.13              r36h6115d3f_0    r
r-fansi                   0.4.0           r36hcdcec82_1001    conda-forge
r-forcats                 0.4.0             r36h6115d3f_0    r
r-fs                      1.2.7             r36h29659fb_0    r
r-generics                0.0.2             r36h6115d3f_0    r
r-getopt                  1.20.3                    r36_1    conda-forge
r-ggplot2                 3.2.1             r36h6115d3f_0    conda-forge
r-glue                    1.3.1             r36hcdcec82_1    conda-forge
r-gtable                  0.3.0             r36h6115d3f_2    conda-forge
r-haven                   2.1.0             r36h29659fb_0    r
r-highr                   0.8               r36h6115d3f_0    r
r-hms                     0.4.2             r36h6115d3f_0    r
r-htmltools               0.3.6             r36h29659fb_0    r
r-httr                    1.4.0             r36h6115d3f_0    r
r-jsonlite                1.6               r36h96ca727_0    r
r-knitr                   1.22              r36h6115d3f_0    r
r-labeling                0.3             r36h6115d3f_1002    conda-forge
r-lattice                 0.20_38         r36hcdcec82_1002    conda-forge
r-lazyeval                0.2.2             r36hcdcec82_1    conda-forge
r-lubridate               1.7.4             r36h29659fb_0    r
r-magrittr                1.5             r36h6115d3f_1002    conda-forge
r-markdown                0.9               r36h96ca727_0    r
r-mass                    7.3_51.4          r36hcdcec82_1    conda-forge
r-matrix                  1.2_17            r36hcdcec82_1    conda-forge
r-mgcv                    1.8_29            r36hcdcec82_0    conda-forge
r-mime                    0.6               r36h96ca727_0    r
r-modelr                  0.1.4             r36h6115d3f_0    r
r-munsell                 0.5.0           r36h6115d3f_1002    conda-forge
r-nlme                    3.1_141           r36h9bbef5b_1    conda-forge
r-openssl                 1.3               r36h96ca727_0    r
r-optparse                1.6.4             r36h6115d3f_0    conda-forge
r-pillar                  1.4.2             r36h6115d3f_2    conda-forge
r-pkgconfig               2.0.3             r36h6115d3f_0    conda-forge
r-plogr                   0.2.0             r36h6115d3f_0    r
r-plyr                    1.8.4           r36h0357c0b_1003    conda-forge
r-prettyunits             1.0.2             r36h6115d3f_0    r
r-processx                3.3.0             r36h96ca727_0    r
r-progress                1.2.0             r36h6115d3f_0    r
r-ps                      1.3.0             r36h96ca727_0    r
r-purrr                   0.3.2             r36h96ca727_0    r
r-r6                      2.4.0             r36h6115d3f_2    conda-forge
r-rcolorbrewer            1.1_2           r36h6115d3f_1002    conda-forge
r-rcpp                    1.0.3             r36h0357c0b_0    conda-forge
r-readr                   1.3.1             r36h29659fb_0    r
r-readxl                  1.3.1             r36h29659fb_0    r
r-rematch                 1.0.1             r36h6115d3f_0    r
r-reprex                  0.2.1             r36h6115d3f_0    r
r-reshape2                1.4.3           r36h0357c0b_1004    conda-forge
r-rlang                   0.4.1             r36hcdcec82_0    conda-forge
r-rmarkdown               1.12              r36h6115d3f_0    r
r-rstudioapi              0.10              r36h6115d3f_0    r
r-rvest                   0.3.3             r36h6115d3f_0    r
r-scales                  1.0.0           r36h0357c0b_1002    conda-forge
r-selectr                 0.4_1             r36h6115d3f_0    r
r-stringi                 1.4.3             r36h0357c0b_2    conda-forge
r-stringr                 1.4.0             r36h6115d3f_1    conda-forge
r-sys                     3.2               r36h96ca727_0    r
r-tibble                  2.1.3             r36hcdcec82_1    conda-forge
r-tidyr                   0.8.3             r36h29659fb_0    r
r-tidyselect              0.2.5             r36h29659fb_0    r
r-tidyverse               1.2.1             r36h6115d3f_0    r
r-tinytex                 0.12              r36h6115d3f_0    r
r-utf8                    1.1.4           r36hcdcec82_1001    conda-forge
r-vctrs                   0.2.0             r36hcdcec82_1    conda-forge
r-viridislite             0.3.0           r36h6115d3f_1002    conda-forge
r-whisker                 0.3_2             r36h6115d3f_4    r
r-withr                   2.1.2           r36h6115d3f_1001    conda-forge
r-xfun                    0.6               r36h6115d3f_0    r
r-xml2                    1.2.0             r36h29659fb_0    r
r-yaml                    2.2.0             r36h96ca727_0    r
r-zeallot                 0.1.0           r36h6115d3f_1001    conda-forge
ratelimiter               1.2.0                 py36_1000    conda-forge
readline                  8.0                  hf8c457e_0    conda-forge
requests                  2.20.0                py36_1000    conda-forge
samtools                  1.9                 h10a08f8_12    bioconda
scikit-learn              0.21.2           py36hcdab131_1    conda-forge
scipy                     1.3.1            py36h921218d_2    conda-forge
seaborn                   0.9.0                      py_0    conda-forge
sed                       4.7               h1bed415_1000    conda-forge
setuptools                41.6.0                   py36_1    conda-forge
sip                       4.19.8          py36hf484d3e_1000    conda-forge
six                       1.11.0                py36_1001    conda-forge
snakemake-minimal         5.2.4                    py36_0    bioconda
sqlite                    3.30.1               hcee41ef_0    conda-forge
statsmodels               0.9.0           py36h3010b51_1000    conda-forge
tabulate                  0.8.3                      py_0    conda-forge
tbb                       2019.9               hc9558a2_0    conda-forge
tk                        8.6.9             hed695b0_1003    conda-forge
tktable                   2.10                 h555a92e_3    conda-forge
tornado                   6.0.3            py36h516909a_0    conda-forge
trimal                    1.4.1                h6bb024c_3    bioconda
urllib3                   1.23                  py36_1001    conda-forge
wheel                     0.33.6                   py36_0    conda-forge
wrapt                     1.11.2           py36h516909a_0    conda-forge
xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
xorg-libice               1.0.10               h516909a_0    conda-forge
xorg-libsm                1.2.3             h84519dc_1000    conda-forge
xorg-libx11               1.6.9                h516909a_0    conda-forge
xorg-libxau               1.0.9                h14c3975_0    conda-forge
xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
xorg-libxext              1.3.4                h516909a_0    conda-forge
xorg-libxrender           0.9.10            h516909a_1002    conda-forge
xorg-renderproto          0.11.1            h14c3975_1002    conda-forge
xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
xorg-xproto               7.0.31            h14c3975_1007    conda-forge
xz                        5.2.4             h14c3975_1001    conda-forge
yaml                      0.1.7             h14c3975_1001    conda-forge
zipp                      0.6.0                      py_0    conda-forge
zlib                      1.2.11            h516909a_1006    conda-forge
zstd                      1.4.3                h3b9ef0a_0    conda-forge`

anvio-self-self-test-errors.pdf

meren commented 4 years ago

Hi,

Can you open an R terminal and then type library(tidyverse)? Probably there is an error and it can't be properly loaded.

This happened to me, and then I was able to solve it by installing r-stringi through conda.

Please try and let me know.

Best,

VibrantStarling commented 4 years ago

Thanks meren,

I downlaoded r-stringi and now the tidyverse and qvalue errors are gone, but now I'm back to pyANI giving me a non zero sum and the mini test still gives me the same error as before...

library(tidyverse) gives me this:

Running tidy verse

> library(tidyverse)
Registered S3 method overwritten by 'rvest':
  method            from
  read_xml.response xml2
── Attaching packages ─────────────────────────────────────── tidyverse 1.2.1 ──
✔ ggplot2 3.2.1       ✔ purrr   0.3.2  
✔ tibble  2.1.3       ✔ dplyr   0.8.0.1
✔ tidyr   0.8.3       ✔ stringr 1.4.0  
✔ readr   1.3.1       ✔ forcats 0.4.0  
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag()    masks stats::lag()

pangenomic suite errors

Config Error: PyANI returned with non-zero exit code, there may be some errors. please check
              the log file for details.                                                     

Config Error: According to the exit code ('255'), anvi'o suspects that something may have gone
              wrong while running your tests :/ We hope that the reason is clear to you from  
              the lines above. But if you don't see anything obvious, and especially if the   
              test ended up running until the end with reasonable looking final results, you  
              shouldn't worry too much about this error. Life is short and we all can worry   
              just a bit less.       

mini suite errors

Config Error: According to the exit code ('-2'), anvi'o suspects that something may have gone
              wrong while running your tests :/ We hope that the reason is clear to you from 
              the lines above. But if you don't see anything obvious, and especially if the  
              test ended up running until the end with reasonable looking final results, you 
              shouldn't worry too much about this error. Life is short and we all can worry  
              just a bit less.       
VibrantStarling commented 4 years ago

Couple of extra bits, I don't know if they will help. Here is what the pangenomic test and the out put during the pyANI run and what's in the ANI_LOG.txt file for it

Anvi'o will use 'PyANI' by Pritchard et al. (DOI: 10.1039/C5AY02550H) to compute
ANI. If you publish your findings, please do not forget to properly credit their
work.

[PyANI] Num threads to use ...................: 1
[PyANI] Alignment method .....................: ANIb
[PyANI] Log file path ........................: /tmp/tmpy5mx_ket/test-output/pan_test/ANI_LOG.txt

                                                            [12 Nov 19 18:59:29 PyANI] Running ...                                                                                                                                              
✖ anvi-compute-genome-similarity encountered an error after 0:00:04.195145
GNU nano 2.2.6       File: ANI_LOG.txt                    

 DATE: 12 Nov 19 18:59:29
 CMD LINE: average_nucleotide_identity.py --outdir output $
Traceback (most recent call last):
  File "/pub28/helend/miniconda3/envs/anvio-6/bin/average_n$
    results = methods[args.method][0](infiles, org_lengths)
  File "/pub28/helend/miniconda3/envs/anvio-6/bin/average_n$
    fraglengths=fraglengths, mode=args.method)
  File "/pub28/helend/miniconda3/envs/anvio-6/lib/python3.6$
    resultvals = parse_blast_tab(blastfile, fraglengths, mo$
  File "/pub28/helend/miniconda3/envs/anvio-6/lib/python3.6$
    data = pd.DataFrame.from_csv(filename, header=None, sep$
AttributeError: type object 'DataFrame' has no attribute 'f$
meren commented 4 years ago

You have the wrong version of pyANI.

Please make sure it is 0.2.9 and pandas is 0.23.1. you can enforce them to be like that by running

pip install pandas==0.23.1
pip install pyani==0.2.9
VibrantStarling commented 4 years ago

Ah, thanks for spotting that!

Updated it and I'm still getting the -2 error for both tests now, but the 255 errors have gone away. Thanks!

Do you know what the -2 error refers to and do I need to worry about it?

meren commented 4 years ago

@VibrantStarling,

Do you know what the -2 error refers to and do I need to worry about it?

I am not sure really :) Do things seem to work when you actually create a pangenome?

vinisalazar commented 4 years ago

I would just like to report that I went through the same problems and installing the correct versions for pandas, pyani, cherrypy, django and h5py (referred in #1258 ) solved it. Would be great to have the fix in the next conda release!

VibrantStarling commented 4 years ago

yes things seem to work now! Thanks meren