美文网首页
mac上安装taxa分析软件STAMP

mac上安装taxa分析软件STAMP

作者: scdzzdw | 来源:发表于2020-03-28 01:10 被阅读0次

    STAMP是一款非常好用的宏基因组分析相关软件。最近想在mac上面安装,差点被搞疯了,还好最后解决了。这里有个网站和视频对其安装进行了说明:
    http://microcell.ufl.edu/mcs-apps/videos/instructional-videos/stamp-mac.html
    其步骤如下:
    1) Open a terminal window and Install Xcode command line tools. In the window that will pop up, select 'install'

    xcode-select  --install
    

    2) Install Anaconda Package for Python 2.7 (Be sure to install the version for Python 2.7) from: https://www.anaconda.com/download/#macos. After installation CLOSE THE TERMINAL and open it again to check that anaconda is installed by typing:

    anaconda --version
    

    3) In Terminal, type the following command to create the STAMP script:

    conda create -y -n stamp-test python=2.7
    

    4) Type this to activate the script:

    source activate stamp-test
    

    5) Type this to install STAMP:

    conda install -y -c bioconda stamp
    

    6) Type this to open STAMP:

    STAMP
    

    STAMP is now installed.

    *****Every time you want to use STAMP you must activate the script in Terminal using:**

    source activate stamp-test
    

    **and then:*****

    STAMP
    

    虽然按照其步骤进行安装,到了第5步的时候,我仍然收到了一下报错:

    Solving environment: failed with initial frozen solve. Retrying with flexible solve.
    Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
    Collecting package metadata (repodata.json): done
    Solving environment: failed with initial frozen solve. Retrying with flexible solve.
    Solving environment: \ 
    Found conflicts! Looking for incompatible packages.
    This can take several minutes.  Press CTRL-C to abor| 
    failed                                                                             
    
    UnsatisfiableError: 
    

    疯狂报错,快要窒息。后面到处查文档,发现主要是conda版本太高造成地,需要降级,更正后步骤如下:
    1)降级conda

    conda install -n root conda=4.6
    

    2)

    conda create -n stamp
    conda activate stamp
    
    conda install -y -c bioconda stamp
    

    然后打开STAMP

    STAMP
    
    image.png

    注意:

    每次使用,打开方式为

    conda activate stamp
    STAMP
    

    完美解决问题

    如果报错Unknown Parsing Error" dialog,可能是因为导入的路径含有中文字符

    相关文章

      网友评论

          本文标题:mac上安装taxa分析软件STAMP

          本文链接:https://www.haomeiwen.com/subject/hvvduhtx.html