开发者
资源
鲲鹏环境麒麟V10安装生信软件alfred
鲲鹏环境麒麟V10安装生信软件alfred
发表于2023/09/20
4.1k11

一、软件介绍:

Alfred:BAM 比对统计、特征计数和特征注释工具

开发语言:C++

源码地址:https://github.com/tobiasrausch/alfred/archive/refs/tags/v0.2.7.tar.gz

二、安装步骤:

1、依赖安装:

yum install wget tar gcc-c++ boost-devel autoconf automake bzip2-devel xz-devel

2、alfred安装:

cd /path/to/alfred

wget https://github.com/tobiasrausch/alfred/archive/refs/tags/v0.2.7.tar.gz

tar xf v0.2.7.tar.gz

cd alfred-0.2.7/src/htslib

wget https://github.com/samtools/htslib/releases/download/1.18/htslib-1.18.tar.bz2

tar xf htslib-1.18.tar.bz2 --strip-components=1

cd /path/to/alfred/alfred-0.2.7

make

make install

3、软件验证:

cd /path/to/alfred/alfred-0.2.7/bin

./alfred -h

cke_10613.png

四、故障排查:

1、make: g++: Command not found

cke_14058.png

解决方案:yum install gcc-c++

2、src/alfred.cpp:8:10: fatal error: boost/program_options/cmdline.hpp: No such file or directory

cke_24102.png

解决方案:yum install boost-devel

3、src/alfred.cpp:18:10: fatal error: htslib/sam.h: No such file or directory

cke_37639.png

解决方案:

cd /path/to/alfred/alfred-0.2.7/src/htslib

wget https://github.com/samtools/htslib/releases/download/1.18/htslib-1.18.tar.bz2

tar xf htslib-1.18.tar.bz2 --strip-components=1

4、/bin/sh: autoreconf: command not found

cke_50187.png

解决方案:yum install autoconf automake

5、configure: error: libbzip2 development files not found

cke_68436.png

解决方案:yum install bzip2-devel

6、configure: error: liblzma development files not found

cke_86533.png

解决方案:yum install xz-devel

收藏举报
Level 1
0
帖子
0
粉丝
0
获赞