czbiohub-sf / MIDAS

Metagenomic Intra-Species Diversity Analysis (MIDAS)
MIT License
35 stars 10 forks source link

midas2 v1.0.9 #122

Closed qinghong2019 closed 10 months ago

qinghong2019 commented 10 months ago

after download the v1.0.9 source code, and get into the directory conda env create -n midas2 -f midas2.yml return error message: Retrieving notices: ...working... done Collecting package metadata (repodata.json): done Solving environment: failed

ResolvePackageNotFound:

zhaoc1 commented 10 months ago

Hi,

I updated the midas2.yml, so please re-download the source code and re-install.

However, I recommend you refer to #121 , and install MIDAS2 via conda install:

conda config --set channel_priority flexible
conda install -c zhaoc1 -c conda-forge -c bioconda-c anaconda -c defaults midas2

Thanks! Chunyu

qinghong2019 commented 10 months ago

Hi, Chunyu I redownloaded, the same error message: Collecting package metadata (repodata.json): done Solving environment: failed

ResolvePackageNotFound:

I tried:

conda config --set channel_priority flexible conda install -c zhaoc1 -c conda-forge -c bioconda-c anaconda -c defaults midas2

it returns:

usage: conda [-h] [-V] command ... conda: error: unrecognized arguments: midas2

Thank you!

Qinghong

On Fri, Oct 27, 2023 at 2:27 PM Chunyu Zhao @.***> wrote:

Hi,

I updated the midas2.yml, so please re-download the source code and re-install.

However, I recommend you refer to #121 https://github.com/czbiohub-sf/MIDAS2/issues/121 , and install MIDAS2 via conda install:

conda config --set channel_priority flexible conda install -c zhaoc1 -c conda-forge -c bioconda-c anaconda -c defaults midas2

Thanks! Chunyu

— Reply to this email directly, view it on GitHub https://github.com/czbiohub-sf/MIDAS2/issues/122#issuecomment-1783403045, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMIMP5ZG7SCZYOPUDEPTZATYBQDIFAVCNFSM6AAAAAA6TIGDXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTGQYDGMBUGU . You are receiving this because you authored the thread.Message ID: @.***>

zhaoc1 commented 10 months ago

Apology for the confusion. I again updated the midas2.yml and just tested install from source on a linux server.

  1. please install the v1.1.0 midas2, which is the current master branch of https://github.com/czbiohub/MIDAS2.git
  2. Updated commands (just about the version):
    
    git clone git clone https://github.com/czbiohub/MIDAS2.git
    cd MIDAS2

conda env create -n midas2v1.1.0 -f midas2.yml conda activate midas2v1.1.0

pip install .



Thanks.
Chunyu
qinghong2019 commented 10 months ago

it worked now. Thank you for the quick response and help

zhaoc1 commented 10 months ago

You are welcome :)