今天在安装LoRDEC时遇到了cmake版本不符的报错:
自己的版本号为:
那身为一个普普通通的用户我们该如何升级cmake呢?
1、首先在自己软件目录下下载相应高版本的安装包
wget https://github.com/Kitware/CMake/releases/download/v3.14.5/cmake-3.14.5-Linux-x86_64.tar.gz
tar zxvf cmake-3.14.5-Linux-x86_64.tar.gz
cd cmake-3.14.5-Linux-x86_64/bin
2、将bin目录添加到环境变量里
vi ~/.bashrc
PATH=/home/cmake-3.14.5-Linux-x86_64/bin:$PATH
source ~/.bashrc
3、让我们康康现在cmake是什么版本了
另附LoRDEC安装过程:
官方网站:https://gite.lirmm.fr/lordec/lordec-releases/-/wikis/home
wget -c https://gite.lirmm.fr/lordec/lordec-releases/uploads/800a96d81b3348e368a0ff3a260a88e1/lordec-src_0.9.tar.bz2
tar -jxvf lordec-src_0.9.tar.bz2
cd lordec-src_0.9
make clean all -j8
[root lordec-src_0.9]$ ./lordec-correct -h
LoRDEC v0.9
using GATB v1.4.1
website : http://www.atgc-montpellier.fr/lordec/
FAQ : https://www.lirmm.fr/~rivals/lordec/FAQ/
Usage :
./lordec-correct
-i|--long_reads <long read FASTA/Q file>
-2|--short_reads <short read FASTA/Q file(s)>
-k|--kmer_len <k-mer size>
-o|--corrected_read_file <output reads file>
-s|solid_threshold <solid k-mer abundance threshold>
[-t|--trials <number of paths to try from a k-mer>]
[-b|--branch <maximum number of branches to explore>]
[-e|--errorrate <maximum error rate>]
[-T|--threads <number of threads>]
[-S|--stat_file <out statistics file>]
[-c|--complete_search]
[-a|--abundance-max <abundance max threshold for k-mers>]
[-O|--out-tmp <GATB graph creation temporary files directory>]
[-p|--progress]
[-g|--graph_named_like_output]