当前位置:网站首页>安装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
边栏推荐
- Personalized online cloud database hybrid optimization system | SIGMOD 2022 selected papers interpretation
- Reinforcement learning - learning notes 1 | basic concepts
- 从0到1建设智能灰度数据体系:以vivo游戏中心为例
- After the game starts, you will be prompted to install HMS core. Click Cancel, and you will not be prompted to install HMS core again (initialization failure returns 907135003)
- The old-fashioned synchronized lock optimization will make it clear to you at once!
- 在 Apache 上配置 WebDAV 服务器
- .NET 使用 redis
- Talk about the design and implementation logic of payment process
- Efficient! Build FTP working environment with virtual users
- Rsyslog configuration and use tutorial
猜你喜欢
光环效应——谁说头上有光的就算英雄
高质量软件架构的唯一核心指标
HAProxy高可用解决方案
Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing
诸神黄昏时代的对比学习
It is six orders of magnitude faster than the quantum chemical method. An adiabatic artificial neural network method based on adiabatic state can accelerate the simulation of dual nitrogen benzene der
CVPR 2022 | TransFusion:用Transformer进行3D目标检测的激光雷达-相机融合
Comparative study of the gods in the twilight Era
上汽大通MAXUS正式发布全新品牌“MIFA”,旗舰产品MIFA 9正式亮相!
从0到1建设智能灰度数据体系:以vivo游戏中心为例
随机推荐
WPF double slider control and forced capture of mouse event focus
Apache server access log access Log settings
C语言宿舍管理查询软件
Web知识补充
Scrapy 框架学习
提高MySQL深分页查询效率的三种方案
Excuse me, have you encountered this situation? CDC 1.4 cannot use timestamp when connecting to MySQL 5.7
Oracle was named the champion of Digital Innovation Award by Ventana research
Alibaba cloud award winning experience: build a highly available system with polardb-x
A data person understands and deepens the domain model
数据库锁表?别慌,本文教你如何解决
Reading cognitive Awakening
Xue Jing, director of insight technology solutions: Federal learning helps secure the flow of data elements
Read the BGP agreement in 6 minutes.
Xilinx/system-controller-c/boardui/ unable to connect to the development board, the solution of jamming after arbitrary operation
SQL语言
8 expansion sub packages! Recbole launches 2.0!
Is the outdoor LED screen waterproof?
XML入门一
[FAQ] summary of common causes and solutions of Huawei account service error 907135701