
CARD数据库官网The Comprehensive Antibiotic Resistance DatabaseGitHub - arpcard/rgi: Resistance Gene Identifier (RGI). Software to predict resistomes from protein or nucleotide data, including metagenomics data, based on homology and SNP models. · GitHubCARD耐药数据库Linux使用_card数据库-CSDN博客 简书配置card数据库(抗生素抗性基因)第一步查看rgi对应的版本根据conda装rgi提醒报错的大部分原因conda以及rgi版本不一致导致的安装rgi的依赖包需要进行python setup.py build python setup.py test python setup.py installconda装包创建环境报错Solving environment: failedCondaValueError: Malformed version string ~: invalid character(s).解决办法更新conda 。。。然而并没有解决该问题conda upgrade -n base -c defaults --override-channels condaconda update -n base conda又报错与镜像有关需要删除清华镜像Solving environment: failed with initial frozen solve. Retrying with flexible solve.再次报错Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort.为什么6.0.2装不了呢关键是要有一颗虔诚的心浪子不能回头疯狂前进绝对不能回头报错缺什么包装什么包如下pip install ahocorasickbut报错了搜索经历者的答案原来是这个包换名字了。更换pip install pyahocorasick就成功了pip install pysam报错ERROR: Command errored out with exit status 1WARNING 2023-04-03 13:34:05,926 : Exception: class xml.parsers.expat.ExpatError - no element found: line 797179, column 0 - model_type: variantWARNING 2023-04-03 13:34:06,200 : Exception: class xml.parsers.expat.ExpatError - no element found: line 797179, column 0 - model_type: overexpressionWARNING 2023-04-03 13:34:06,218 : Exception: class xml.parsers.expat.ExpatError - no element found: line 797179, column 0 - model_type: homologpip install libssl.so.1.0.0ERROR: Could not find a version that satisfies the requirement libssl.so.1.0.0 (from versions: none)ERROR: No matching distribution found for libssl.so.1.0.0装包报错Collecting requestsUsing cached requests-2.27.1-py2.py3-none-any.whl (63 kB)Collecting charset-normalizer~2.0.0Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)Requirement already satisfied: idna4,2.5 in /TJPROJ13/GB_MICRO/USER/liuyuxia/Denovo/tools/conda/anaconda3/envs/python36/lib/python3.6/site-packages (from requests) (2.10)Collecting certifi2017.4.17Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)|████████████████████████████████| 155 kB 98 kB/sRequirement already satisfied: urllib31.27,1.21.1 in /TJPROJ13/GB_MICRO/USER/liuyuxia/Denovo/tools/conda/anaconda3/envs/python36/lib/python3.6/site-packages (from requests) (1.25.11)Installing collected packages: charset-normalizer, certifi, requestsAttempting uninstall: certifiFound existing installation: certifi 2016.9.26ERROR: Cannot uninstall certifi. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.解决办法pip install certifi --ignore-installed成功再次装所需要的包成功