一、软件介绍:
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

四、故障排查:
1、make: g++: Command not found

解决方案:yum install gcc-c++
2、src/alfred.cpp:8:10: fatal error: boost/program_options/cmdline.hpp: No such file or directory

解决方案:yum install boost-devel
3、src/alfred.cpp:18:10: fatal error: htslib/sam.h: No such file or directory

解决方案:
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

解决方案:yum install autoconf automake
5、configure: error: libbzip2 development files not found

解决方案:yum install bzip2-devel
6、configure: error: liblzma development files not found

解决方案:yum install xz-devel
一、软件介绍:
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
四、故障排查:
1、make: g++: Command not found
解决方案:yum install gcc-c++
2、src/alfred.cpp:8:10: fatal error: boost/program_options/cmdline.hpp: No such file or directory
解决方案:yum install boost-devel
3、src/alfred.cpp:18:10: fatal error: htslib/sam.h: No such file or directory
解决方案:
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
解决方案:yum install autoconf automake
5、configure: error: libbzip2 development files not found
解决方案:yum install bzip2-devel
6、configure: error: liblzma development files not found
解决方案:yum install xz-devel