当前位置:网站首页>安装trinity、解决报错
安装trinity、解决报错
2022-07-04 12:44:00 【Bio大恐龙】
生信软件安装
一、安装trinity报错
解压代码:
tar -zxvf trinityrnaseq-v2.14.0.FULL_with_extendedTestData.tar.gz
进入软件文件夹
cd trinityrnaseq-v2.14.0/
然后输入make
进行安装,发现报错。
Using gnu compiler for Inchworm and Chrysalis
cd Inchworm && make
make[1]: Entering directory '/home/bio_kang/software/trinityrnaseq-v2.14.0/Inchworm'
mkdir -p build
cd build && cmake -DCMAKE_INSTALL_PREFIX="" ../ && make DESTDIR=../ install
/bin/sh: 1: cmake: not found
make[1]: *** [Makefile:3: all] Error 127
make[1]: Leaving directory '/home/bio_kang/software/trinityrnaseq-v2.14.0/Inchworm'
make: *** [Makefile:32: inchworm_target] Error 2
二、解决报错
找不到cmake
命令,需要下载cmake,点击这里进行下载,选择适合自己的版本
使用下列命令进行解压(不要直接复制我的)
tar -zxvf cmake-3.23.2-linux-x86_64.tar.gz
进入~/.bashrc
文件,将下列代码添加到最后一行(:号后填自己文件的绝对路径):
export PATH=$PATH:/home/bio_kang/software/cmake/bin
输入cmake --version
查看是否安装成功
cmake version 3.23.2
然后在进入trinity目录下,使用make
命令
编译成功后使用Trinity --version
检查是否安装成功,发现又报错:
Command 'Trinity' not found, but can be installed with:
sudo apt install trinityrnaseq
在网上找了人家的参考,发现是还要进入相关文件进行编译,可以去参考小zi竹
写的
cd Inchworm/build/
rm CMakeCache.txt
make
然后继续进行安装,发现还是使用不了:
Trinity --version
Command 'Trinity' not found, but can be installed with:
sudo apt install trinityrnaseq
一直下载不成功,还找不到错误,勇敢放弃,删除.tar.gz文件后,使用conda进行下载(建议新建环境,以免出现不兼容的现象)
conda create -n trinity
然后输入Y,即可创建成功
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate trinity
#
# To deactivate an active environment, use
#
# $ conda deactivate
激活环境(最好新建一个环境!!!)conda activate trinity
查看版本信息:
Trinity --version
Trinity version: Trinity-v2.8.5
** NOTE: Latest version of Trinity is Trinity-v2.14.0, and can be obtained at:
https://github.com/trinityrnaseq/trinityrnaseq/releases
边栏推荐
- XML入门二
- Introduction to XML II
- Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing
- Apache服务器访问日志access.log设置
- Use fail2ban to prevent password attempts
- 老掉牙的 synchronized 锁优化,一次给你讲清楚!
- runc hang 导致 Kubernetes 节点 NotReady
- Annual comprehensive analysis of China's mobile reading market in 2022
- Scripy framework learning
- Using scrcpy projection
猜你喜欢
Annual comprehensive analysis of China's mobile reading market in 2022
聊聊支付流程的设计与实现逻辑
Is the outdoor LED screen waterproof?
[cloud native | kubernetes] in depth understanding of ingress (12)
【AI系统前沿动态第40期】Hinton:我的深度学习生涯与研究心法;Google辟谣放弃TensorFlow;封神框架正式开源
Solution: how to delete the information of Jack in two tables with delete in one statement in Oracle
数据库锁表?别慌,本文教你如何解决
爬虫练习题(一)
实战:fabric 用户证书吊销操作流程
PostgreSQL 9.1 soaring Road
随机推荐
Go zero micro service practical series (IX. ultimate optimization of seckill performance)
实时云交互如何助力教育行业发展
Read the BGP agreement in 6 minutes.
XML入门二
8个扩展子包!RecBole推出2.0!
WPF double slider control and forced capture of mouse event focus
Excuse me, have you encountered this situation? CDC 1.4 cannot use timestamp when connecting to MySQL 5.7
Apache服务器访问日志access.log设置
Xue Jing, director of insight technology solutions: Federal learning helps secure the flow of data elements
WPF双滑块控件以及强制捕获鼠标事件焦点
eclipse链接数据库中测试SQL语句删除出现SQL语句语法错误
JVM系列——栈与堆、方法区day1-2
WPF double slider control and forced capture of mouse event focus
Rsyslog配置及使用教程
Personalized online cloud database hybrid optimization system | SIGMOD 2022 selected papers interpretation
Introduction to XML II
Zhongang Mining: in order to ensure sufficient supply of fluorite, it is imperative to open source and save flow
【云原生 | Kubernetes篇】深入了解Ingress(十二)
2022KDD预讲 | 11位一作学者带你提前解锁优秀论文
7、 Software package management