Closed LiZhihua1982 closed 1 year ago
I have downloaded the cplex from cplex_entserv128.linux-x86-64.bin and install
Choose a destination folder for this installation.
Where would you like to install?
Default Install Folder: /opt/ibm/ILOG/CPLEX_Enterprise_Server128
ENTER AN ABSOLUTE PATH, OR PRESS
INSTALL FOLDER IS: /media/lizhihua/software/me IS THIS CORRECT? (Y/N): N
ENTER AN ABSOLUTE PATH, OR PRESS
INSTALL FOLDER IS: /media/lizhihua/software/metaGEM/envs/metagem/bin IS THIS CORRECT? (Y/N): y
Please Review the Following Before Continuing:
Product Name: IBM ILOG CPLEX Enterprise Server 12.8.0
Install Folder: /media/lizhihua/software/metaGEM/envs/metagem/bin
Disk Space Information (for Installation Target): Required: 1,890.6 MegaBytes Available: 397,812.63 MegaBytes
PRESS
[==================|==================|==================|==================] [------------------|------------------|------------------|------------------]
The installation of IBM ILOG CPLEX Enterprise Server 12.8.0 is complete, but
some errors occurred during the install.
Please see the installation log for details in:
/media/lizhihua/software/metaGEM/envs/metagem/bin/Uninstall/Logs/.
Press "ENTER" to quit the installer.
Installation: Successful null
/media/lizhihua/software/metaGEM/envs/metagem/bin/Uninstall/Logs/.
223 Successes
1 Warnings
0 NonFatalErrors
0 FatalErrors
So I think it is successes
Hi Li,
Sorry to hear you are having problems with the installation.
Failed to connect to conda.anaconda.org port 443 after 7059 ms: Couldn't connect to server
Based on this repeated error message it appears that you are having some connection issues. Have a look on google/github issues, I think this is a problem with windows. Make sure your connection is working and that you are able to download/install conda packages as expected.
Regarding CPLEX, also make sure you set up the python API as detailed here.
Best, Francisco
Hi, Francisco,
Thank you very much! Another issue:
(base) lizhihua@lizhihua-T640:/media/lizhihua/software/metaGEM$ snakemake -s Snakefile --use-conda --rerun-incomplete --cores 28 -p
NameError in line 395 of /media/lizhihua/software/metaGEM/Snakefile:
name 'directory' is not defined
File "/media/lizhihua/software/metaGEM/Snakefile", line 395, in
rule crossMapSeries: input: contigs = rules.megahit.output, reads = f'{config["path"]["root"]}/{config["folder"]["qfiltered"]}' output: concoct = directory(f'{config["path"]["root"]}/{config["folder"]["concoct"]}/{{IDs}}/cov'), metabat = directory(f'{config["path"]["root"]}/{config["folder"]["metabat"]}/{{IDs}}/cov'), maxbin = directory(f'{config["path"]["root"]}/{config["folder"]["maxbin"]}/{{IDs}}/cov') benchmark:
Hi Li,
I have not seen that issue either, but a quick google search of your error message suggests that the error is because there are folders missing.
Try running the createFolders
rule to generate them, e.g.
bash metaGEM.sh --task createFolders
In the future if you have unrelated issues please open a new one 👍
Best, Francisco
(mamba) lizhihua@lizhihua-T640:/media/lizhihua/software/metaGEM$ mamba env create --prefix ./envs/metagem -f envs/metaGEM_env.yml && source activate envs/metagem && pip install --user memote carveme smetana && echo conda-forge/linux-64 ??.?MB @ ??.?MB/s 0 failed 7.1s
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
$ /home/lizhihua/miniconda3/envs/mamba/bin/mamba create --prefix ./envs/metagem -f envs/metaGEM_env.yml
environment variables: CIO_TEST=
CONDA_AUTO_UPDATE_CONDA=false
CONDA_DEFAULT_ENV=mamba
CONDA_EXE=/home/lizhihua/miniconda3/bin/conda
CONDA_PREFIX=/home/lizhihua/miniconda3/envs/mamba
CONDA_PREFIX_1=/home/lizhihua/miniconda3
CONDA_PROMPT_MODIFIER=(mamba)
CONDA_PYTHON_EXE=/home/lizhihua/miniconda3/bin/python
CONDA_ROOT=/home/lizhihua/miniconda3/envs/mamba
CONDA_SHLVL=2
CURL_CA_BUNDLE=
PATH=/home/lizhihua/miniconda3/envs/mamba/bin:/home/lizhihua/miniconda3/con
dabin:/usr/local/bin:/usr/local/bin:yes:yes:yes:yes:/usr/local/bin:/ho
me/lizhihua/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/b
in:/sbin:/bin:/usr/games:/usr/local/games:/media/lizhihua/software/gen
e_annotation/GeneMark-EX/V4.46/gm_et_linux_64:/snap/bin
REQUESTS_CA_BUNDLE=
SSL_CERT_FILE=
WINDOWPATH=2
populated config files : /home/lizhihua/.condarc conda version : 22.9.0 conda-build version : not installed python version : 3.11.0.final.0 virtual packages : linux=4.15.0=0 glibc=2.27=0 unix=0=0 archspec=1=x86_64 base environment : /home/lizhihua/miniconda3/envs/mamba (writable) conda av data dir : /home/lizhihua/miniconda3/envs/mamba/etc/conda conda av metadata url : None channel URLs : https://conda.anaconda.org/imp/linux-64 https://conda.anaconda.org/imp/noarch https://conda.anaconda.org/bioconda/linux-64 https://conda.anaconda.org/bioconda/noarch https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64 https://mirrors.ustc.edu.cn/anaconda/pkgs/free/noarch https://conda.anaconda.org/r/linux-64 https://conda.anaconda.org/r/noarch package cache : /home/lizhihua/miniconda3/envs/mamba/pkgs /home/lizhihua/.conda/pkgs envs directories : /home/lizhihua/miniconda3/envs/mamba/envs /home/lizhihua/.conda/envs platform : linux-64 user-agent : conda/22.9.0 requests/2.28.1 CPython/3.11.0 Linux/4.15.0-197-generic ubuntu/18.04 glibc/2.27 UID:GID : 1000:1000 netrc file : None offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
(mamba) lizhihua@lizhihua-T640:/media/lizhihua/software/metaGEM$ mamba env create --prefix ./envs/metawrap -f envs/metaWRAP_env.yml ursky/linux-64 ??.?MB @ ??.?MB/s 0 failed 7.1s
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
$ /home/lizhihua/miniconda3/envs/mamba/bin/mamba create --prefix ./envs/metawrap -f envs/metaWRAP_env.yml
environment variables: CIO_TEST=
CONDA_AUTO_UPDATE_CONDA=false
CONDA_DEFAULT_ENV=mamba
CONDA_EXE=/home/lizhihua/miniconda3/bin/conda
CONDA_PREFIX=/home/lizhihua/miniconda3/envs/mamba
CONDA_PREFIX_1=/home/lizhihua/miniconda3
CONDA_PROMPT_MODIFIER=(mamba)
CONDA_PYTHON_EXE=/home/lizhihua/miniconda3/bin/python
CONDA_ROOT=/home/lizhihua/miniconda3/envs/mamba
CONDA_SHLVL=2
CURL_CA_BUNDLE=
PATH=/home/lizhihua/miniconda3/envs/mamba/bin:/home/lizhihua/miniconda3/con
dabin:/usr/local/bin:/usr/local/bin:yes:yes:yes:yes:/usr/local/bin:/ho
me/lizhihua/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/b
in:/sbin:/bin:/usr/games:/usr/local/games:/media/lizhihua/software/gen
e_annotation/GeneMark-EX/V4.46/gm_et_linux_64:/snap/bin
REQUESTS_CA_BUNDLE=
SSL_CERT_FILE=
WINDOWPATH=2
populated config files : /home/lizhihua/.condarc conda version : 22.9.0 conda-build version : not installed python version : 3.11.0.final.0 virtual packages : linux=4.15.0=0 glibc=2.27=0 unix=0=0 archspec=1=x86_64 base environment : /home/lizhihua/miniconda3/envs/mamba (writable) conda av data dir : /home/lizhihua/miniconda3/envs/mamba/etc/conda conda av metadata url : None channel URLs : https://conda.anaconda.org/imp/linux-64 https://conda.anaconda.org/imp/noarch https://conda.anaconda.org/bioconda/linux-64 https://conda.anaconda.org/bioconda/noarch https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64 https://mirrors.ustc.edu.cn/anaconda/pkgs/free/noarch https://conda.anaconda.org/r/linux-64 https://conda.anaconda.org/r/noarch package cache : /home/lizhihua/miniconda3/envs/mamba/pkgs /home/lizhihua/.conda/pkgs envs directories : /home/lizhihua/miniconda3/envs/mamba/envs /home/lizhihua/.conda/envs platform : linux-64 user-agent : conda/22.9.0 requests/2.28.1 CPython/3.11.0 Linux/4.15.0-197-generic ubuntu/18.04 glibc/2.27 UID:GID : 1000:1000 netrc file : None offline mode : False
An unexpected error has occurred. Conda has prepared the above report.