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

epic2 installed but not working #71

Open
ltosti opened this issue Jun 9, 2023 · 0 comments
Open

epic2 installed but not working #71

ltosti opened this issue Jun 9, 2023 · 0 comments

Comments

@ltosti
Copy link

ltosti commented Jun 9, 2023

Hi there,

I installed epic 2 using conda:

# packages in environment at /miniconda3/envs/epic2:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f8727e_0    anaconda
ca-certificates           2023.5.7             hbcca054_0    conda-forge
epic2                     0.0.52          py310hf47bd5e_6    bioconda
htslib                    1.17                 h81da01d_2    bioconda
keyutils                  1.6.1                h166bdaf_0    conda-forge
krb5                      1.20.1               h81ceb04_0    conda-forge
ld_impl_linux-64          2.40                 h41732ed_0    conda-forge
libblas                   3.9.0           17_linux64_openblas    conda-forge
libcblas                  3.9.0           17_linux64_openblas    conda-forge
libcurl                   8.1.2                h409715c_0    conda-forge
libdeflate                1.18                 h0b41bf4_0    conda-forge
libedit                   3.1.20221030         h5eee18b_0    anaconda
libev                     4.33                 h7f8727e_1    anaconda
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-ng                 13.1.0               he5830b7_0    conda-forge
libgfortran-ng            13.1.0               h69a702a_0    conda-forge
libgfortran5              13.1.0               h15d22d2_0    conda-forge
libgomp                   13.1.0               he5830b7_0    conda-forge
liblapack                 3.9.0           17_linux64_openblas    conda-forge
libnghttp2                1.52.0               h61bc06f_0    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libopenblas               0.3.23          pthreads_h80387f5_0    conda-forge
libsqlite                 3.39.4               h753d276_0    conda-forge
libssh2                   1.11.0               h0841786_0    conda-forge
libstdcxx-ng              13.1.0               hfd8a6a1_0    conda-forge
libuuid                   2.38.1               h0b41bf4_0    conda-forge
libzlib                   1.2.13               h166bdaf_4    conda-forge
natsort                   8.3.1              pyhd8ed1ab_0    conda-forge
ncls                      0.0.68          py310h4b81fae_1    bioconda
ncurses                   6.4                  hcb278e6_0    conda-forge
numpy                     1.24.3          py310ha4c1d20_0    conda-forge
openssl                   3.1.1                hd590300_1    conda-forge
pandas                    2.0.2           py310h7cbd5c2_0    conda-forge
pip                       23.1.2             pyhd8ed1ab_0    conda-forge
pyranges                  0.0.127            pyh7cba7a3_0    bioconda
pyrle                     0.0.38          py310h4b81fae_3    bioconda
pysam                     0.21.0          py310h41dec4a_1    bioconda
python                    3.10.6          ha86cf86_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-tzdata             2023.3             pyhd8ed1ab_0    conda-forge
python_abi                3.10                    2_cp310    conda-forge
pytz                      2023.3             pyhd8ed1ab_0    conda-forge
readline                  8.2                  h8228510_1    conda-forge
scipy                     1.9.3           py310hdfbd76f_2    conda-forge
setuptools                67.7.2             pyhd8ed1ab_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
sorted_nearest            0.0.37          py310h4b81fae_2    bioconda
sqlite                    3.39.3               h5082296_0    anaconda
tabulate                  0.9.0              pyhd8ed1ab_1    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
tzdata                    2023c                h71feb2d_0    conda-forge
wheel                     0.40.0             pyhd8ed1ab_0    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge
zlib                      1.2.13               h166bdaf_4    conda-forge
zstd                      1.5.2                h3eb15da_6    conda-forge

but when I try epic2 --example or epic2 -version I get the following:

Traceback (most recent call last):
  File "/home/ubuntu/.local/bin/epic2", line 10, in <module>
    from epic2.main import _main
  File "/home/ubuntu/.local/lib/python2.7/site-packages/epic2/main.py", line 5, in <module>
    from epic2.src.reads_to_bins import files_to_bin_counts
  File "epic2/src/reads_to_bins.pyx", line 19, in init epic2.src.reads_to_bins
  File "/home/ubuntu/.local/lib/python2.7/site-packages/epic2/src/remove_out_of_bounds_bins.py", line 7
    print("Chromosome {} found in file, but not in the chromsizes dict for the genome.".format(chromosome), file=sys.stderr)
                                                                                                                ^
SyntaxError: invalid syntax

Any ideas about how to fix this? Thanks!

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

1 participant