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
注意:
每次使用,打开方式为
conda activate stamp
STAMP
完美解决问题
如果报错Unknown Parsing Error" dialog
,可能是因为导入的路径含有中文字符