Partitionfinder2安装踩坑

博主在使用Phylosuite中的Partitionfinder2时遇到速度慢的问题,决定安装Linux版本的Partitionfinder2。由于该软件基于Python2.7,因此创建了对应的Python环境,但在运行时遇到未知错误。尝试了不同版本后,最终成功运行了较早版本的Partitionfinder2。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Phylosuite里面的Partitionfinder2运行实在是不够快,下了个Linux版本的来跑。

Partitionfinder2是基于Python2.7的所以新建了个python2的环境

conda create -n python2.7
conda activate python2.7
conda install python=2.7

#离开 conda deactivate

git clone https://github.com/brettc/partitionfinder.git
#下的是partitionfinder-2.1.1

cd partitionfinder
make

但是报这个错 至今不知道为什么QAQ 如果有知道的好心人可以说一说

[root@localhost partitionfinder-2.1.1]# make
find ./tests -name analysis -and -d | xargs rm -rf
find: 警告: 您在非选项参数 -name 后定义了 -d 选项,但选项不是位置选项 (-d 影响在它之前或之后的指

find: 警告: 不赞成使用 -d 选项;请使用 -depth 代替,因为后者更符合 POSIX 特性。
find ./tests -name log.txt | xargs rm
rm: 缺少操作数
Try 'rm --help' for more information.
make: *** [clean-test] 错误 123

于是放弃了partitionfinder-2.1.1版本 然后下载了早一点的版本

tar -zxvf partitionfinder-2.0.0.tar.gz
cd partitionfinder-2.0.0/

./PartitionFinder.py
#试一下 提醒要安装依赖包

pip install numpy pandas tables pyparsing scipy sklearn

chmod 775 *
#给权限

./PartitionFinder.py

(python2.7) [root@localhost partitionfinder-2.0.0]# ./PartitionFinder.py
INFO     | 2021-11-30 16:04:03,183 | Note: NumExpr detected 35 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8.
INFO     | 2021-11-30 16:04:03,184 | NumExpr defaulting to 8 threads.
Usage: python PartitionFinder.py [options] <foldername>

    PartitionFinder and PartitionFinderProtein are designed to discover optimal
    partitioning schemes for nucleotide and amino acid sequence alignments.
    They are also useful for finding the best model of sequence evolution for datasets.

    The Input: <foldername>: the full path to a folder containing:
        - A 
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值