0

我已经按照https://bioconda.github.io/user/install.html#set-up-channels的说明安装了 bioconda 。然后我尝试了

conda install bwa
conda install bcftools
conda install plink2

他们都安装得很好。但是,当我尝试

conda install bcftools-gtc2vcf-plugin

或者

conda install -c bioconda bcftools-gtc2vcf-plugin 

按照https://bioconda.github.io/recipes/bcftools-gtc2vcf-plugin/README.html的指示,我收到如下错误:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - bcftools-gtc2vcf-plugin

Current channels:

  - https://conda.anaconda.org/bioconda/osx-64
  - https://conda.anaconda.org/bioconda/noarch
  - https://conda.anaconda.org/conda-forge/osx-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/osx-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

任何帮助将不胜感激。

提前致谢!

4

1 回答 1

0

我建议(截至 2020 年 1 月 6 日)不要使用 bcftools-gtc2vcf-plugin,因为它是一个旧版本,与当前版本相比缺少许多功能。我建议要么从源代码编译(https://github.com/freeseek/gtc2vcf ),要么下载应该在系统上工作的预编译二进制文件(https://personal.broadinstitute.org/giulio/gtc2vcf ) ≥GLIBC_2.3 已安装(并确保您运行的是最新版本的 BCFtools)

如果您收到错误消息:

No functional bcftools plugins were found in
    BCFTOOLS_PLUGINS="/Users/moxu/xbin/seq/bcftools/plugins".

- Is the plugin path correct?

- Run "bcftools plugin -lv" for more detailed error output.

Could not load "gtc2vcf".

(维护人员将很快修复的 bcftools 插件错误),您是否可以尝试运行以下命令之一:

$ bcftools plugin gtc2vcf -vv
$ bcftools +gtc2vcf -vv
$ bcftools plugin /Users/moxu/xbin/seq/bcftools/plugins/gtc2vcf.so -vv
$ bcftools +/Users/moxu/xbin/seq/bcftools/plugins/gtc2vcf.so -vv

您应该了解插件未加载的原因。典型的错误消息可能如下所示:

/Users/moxu/xbin/seq/bcftools/plugins/gtc2vcf.so:
    dlopen   .. /lib64/libc.so.6: version `GLIBC_2.3' not found (required by /Users/moxu/xbin/seq/bcftools/plugins/gtc2vcf.so)
于 2020-01-06T05:49:14.303 回答