conda安装samtools解决依赖的问题

1. 问题描述

mamba直接安装的samtools提示缺失libtinfow.so.6和libncursesw.so.6

https://github.com/samtools/samtools/issues/1822
https://www.jianshu.com/p/f8a0692df264

mamba install -y samtools
samtools --version
# samtools: /home/caigui/mambaforge/envs/hicup/bin/../lib/libtinfow.so.6: no version information available (required by samtools)
# samtools: /home/caigui/mambaforge/envs/hicup/bin/../lib/libncursesw.so.6: no version information available (required by samtools)
# samtools: /home/caigui/mambaforge/envs/hicup/bin/../lib/libncursesw.so.6: no version information available (required by samtools)
# samtools 1.17
# Using htslib 1.17

2. 解决方法

2.1 降级samtools

# 重新安装一下samtools和htslib
mamba install -y samtools=1.6 htslib=1.6
samtools --version
# samtools 1.6
# Using htslib 1.6
# Copyright (C) 2017 Genome Research Ltd.

results matching ""

    No results matching ""