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

mantis: command not found #1

Open
aiguoguo1 opened this issue Nov 4, 2022 · 1 comment
Open

mantis: command not found #1

aiguoguo1 opened this issue Nov 4, 2022 · 1 comment

Comments

@aiguoguo1
Copy link

What's wrong during installation?

"
Pressed and indexed 7834 HMMs (7834 names and 7834 accessions).
Models pressed into binary file: /mnt/d/linux/binny/database/hmms/checkm_pf/checkm_filtered_pf.hmm.h3m
SSI index for binary model file: /mnt/d/linux/binny/database/hmms/checkm_pf/checkm_filtered_pf.hmm.h3i
Profiles (MSV part) pressed into: /mnt/d/linux/binny/database/hmms/checkm_pf/checkm_filtered_pf.hmm.h3f
Profiles (remainder) pressed into: /mnt/d/linux/binny/database/hmms/checkm_pf/checkm_filtered_pf.hmm.h3p
mantis: command not found
"
there is no command called "mantis setup -mc ..."

Could you please tell me what software has this command "mantis"???

@ohickl
Copy link
Owner

ohickl commented Nov 4, 2022

Hi,
I was unable to reproduce this running the setup with:

git clone https://github.com/a-h-b/binny.git --branch v2.2.15
cd binny
./binny -i config/config.init.yaml 

Note that for the test run and subsequent runs you would need to to the following, as some things out ouf our hands broke. So after successful setup you will have to run:

# Set binny conda environment path
CONDA_SOURCE="/path/to/binny/conda/envs"
# Fix Snakemake
conda activate ${CONDA_SOURCE}/snakemake_env
conda install -c bioconda snakemake=7.16.0
# Fix hdbscan
for i in ${CONDA_SOURCE}/*.yaml; do
  env_name=$(head -n 1 ${i} | cut -d' ' -f2)
  if [[ ${env_name} == 'binny_linux' ]]; then
    binny_env=${i%.yaml}
    echo "Loading binny env from: ${binny_env}"
  fi
done
conda activate ${binny_env}
conda install -c conda-forge hdbscan=0.8.29
conda activate base

Now it should work fine.
Although i would anyway go with the latest version from the main repo.

Hope that helps. Let me know, if there's further problems.

Best

Oskar

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

2 participants