当前位置:网站首页>安装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
边栏推荐
- Web知识补充
- CANN算子:利用迭代器高效实现Tensor数据切割分块处理
- Alibaba cloud award winning experience: build a highly available system with polardb-x
- Alibaba cloud award winning experience: build a highly available system with polardb-x
- Rsyslog配置及使用教程
- 8个扩展子包!RecBole推出2.0!
- Valentine's Day confession code
- 诸神黄昏时代的对比学习
- Introduction to XML III
- XML入门二
猜你喜欢

How real-time cloud interaction helps the development of education industry

A data person understands and deepens the domain model

Annual comprehensive analysis of China's mobile reading market in 2022

CANN算子:利用迭代器高效实现Tensor数据切割分块处理

8 expansion sub packages! Recbole launches 2.0!

Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example

三星量产3纳米产品引台媒关注:能否短期提高投入产出率是与台积电竞争关键

Zhongang Mining: in order to ensure sufficient supply of fluorite, it is imperative to open source and save flow

室外LED屏幕防水吗?

Is the outdoor LED screen waterproof?
随机推荐
C语言宿舍管理查询软件
Flet教程之 03 FilledButton基础入门(教程含源码)(教程含源码)
Reptile exercises (I)
Reinforcement learning - learning notes 1 | basic concepts
C#基础深入学习二
Configure WebDAV server on Apache
Cors: standard scheme of cross domain resource request
模块化笔记软件综合评测:Craft、Notion、FlowUs
从0到1建设智能灰度数据体系:以vivo游戏中心为例
C语言小型商品管理系统
《预训练周刊》第52期:屏蔽视觉预训练、目标导向对话
WPF双滑块控件以及强制捕获鼠标事件焦点
CA: efficient coordinate attention mechanism for mobile terminals | CVPR 2021
高质量软件架构的唯一核心指标
In 2022, it will be es2022 soon. Do you only know the new features of ES6?
使用Scrcpy投屏
Scrapy 框架学习
Comprehensive evaluation of modular note taking software: craft, notation, flowus
6 分钟看完 BGP 协议。
Oracle was named the champion of Digital Innovation Award by Ventana research