当前位置: 首页 > news >正文

2.windows ubuntu子系统配置

打开UBuntu后,

> wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-latest-Linux-x86_64.sh #下载conda软件。

> bash Miniconda3-latest-Linux-x86_64.sh #下载完conda后执行这步

> source ~/.bashrc

> conda-h #出现一下结果就成功。
usage: conda [-h] [-v] [--no-plugins] [-V] COMMAND ...

conda is a tool for managing and deploying applications, environments and packages.

options:
  -h, --help          Show this help message and exit.
  -v, --verbose       Can be used multiple times. Once for detailed output, twice for INFO logging, thrice for DEBUG logging, four times for TRACE logging.
  --no-plugins        Disable all plugins that are not built into conda.
  -V, --version       Show the conda version number and exit.

commands:
  The following built-in and plugins subcommands are available.

  COMMAND
    activate          Activate a conda environment.
    clean             Remove unused packages and caches.
    compare           Compare packages between conda environments.
    config            Modify configuration values in .condarc.
    content-trust     Signing and verification tools for Conda
    create            Create a new conda environment from a list of specified packages.
    deactivate        Deactivate the current active conda environment.
    doctor            Display a health report for your environment.
    env               See `conda env --help`.
    info              Display information about current conda install.
    init              Initialize conda for shell interaction.
    install           Install a list of packages into a specified conda environment.
    list              List installed packages in a conda environment.
    notices           Retrieve latest channel notifications.
    package           Create low-level conda packages. (EXPERIMENTAL)
    remove (uninstall)
                      Remove a list of packages from a specified conda environment.
    rename            Rename an existing environment.
    repoquery         Advanced search for repodata.
    run               Run an executable in a conda environment.
    search            Search for packages and display associated information using the MatchSpec format.
    update (upgrade)  Update conda packages to the latest compatible version.

#安装git

sudo apt-get install git

# 创建conda 环境

 conda create -n dna

#激活环境,conda activate dna

#安装软件,我常用的安装软件的方法有两种,基本上大部分软件都可以靠这两种方法安装。

第一种:   conda install -c bioconda fastqc -y   #conda安装软件。

fastqc -h #出现软件参数文档就成功安装,和conda -h 类似。

第二种:下载在本地,在~/.bashrc中输入路径。

比如下载cellranger,

wget -O cellranger-7.2.0.tar.gz "https://cf.10xgenomics.com/releases/cell-exp/cellranger-7.2.0.tar.gz?Expires=1702235980&Key-Pair-Id=APKAI7S6A5RYOXBWRPDA&Signature=c5ZVKLpCggvKE5O1o0pR7X-IfMXAkWZdQ9o-BipsD9PQJP31eIR2vpy2J2Ucd5faQyM0ZgjsO98qdF616z62D4SRvJDHeYkdQzGSmoZNzcWRLM1Getvend4HkSxPxjePb5MhvohRKsh9~wR2RVivMSZXpiy6zhH1efwcF4-PPmSwJshbhU3pI7InTt5qg92kasL3ekv~8D-scp3kAiFwm15d-ufvblrox8g4P9JQjFHHDjLuu0F~P8-Qc31lMdOe~5KoDCbkE~UI7sEUBJktD0MR~lZ620OcYKgvaqCB-wLgI3VI0rH8RPxYvbgUXryBHnB0wEmqjaessFlNvhql1Q__"。

下载成功后,进入cellranger bin目录,pwd获取绝对路径。

vim ~/.bashrc 

#编辑输入:export PATH="/mnt/h/softwore/cellranger-7.2.0/bin/:$PATH",保存退出后,

source ~/.bashrc #需要激活。

cellranger -h #出现软件技术说明,就算安装成功。

除此之外,还有其它方法,不过,我暂时没有遇到需求,等到后期,我在分享。

http://www.lryc.cn/news/324738.html

相关文章:

  • vscode的一些技巧
  • JavaEE企业级分布式高级架构师课程
  • c语言函数大全(K开头)
  • 高效备考2025年AMC8竞赛:吃透2000-2024年600道真题(免费送题)
  • HTML5和CSS3新特性
  • Java基础-正则表达式
  • 构建Pytorch虚拟环境教程
  • uniapp页面嵌套其他页面的实现
  • XUbuntu22.04之安装Plantuml(二百二十三)
  • 第四周刷题小结
  • 基于Java中的SSM框架实现考研指导平台系统项目【项目源码+论文说明】
  • 项目2-用户登录
  • 网易web安全工程师进阶版课程
  • 【Postman】工具使用介绍
  • 【vue核心技术实战精讲】1.3 - 1.6 VUE 指令 (上)
  • vscode使用Runner插件将.exe文件统一放到一个目录下
  • [commonjs--resolver] Missing “./jsx-runtime.js“ specifier in “react“ package
  • ETH Gas 之 Base Fee Priority Fee
  • 【小白入门篇1】GPT到底是怎样练成?
  • Django——forms组件
  • 利用K8S Statefulset搭建Etcd集群 - PVC存储
  • 手撕算法-接雨水
  • 探索AI大模型学习:理论基础、技术突破与未来挑战
  • Linux:点命令source
  • iOS开发 - 转源码 - __weak问题解决
  • 【Linux基础】dash和bash简介
  • 精读《如何做好 CodeReview》
  • 双指针(滑动窗口)-算法刷题
  • 上位机图像处理和嵌入式模块部署(qmacvisual之ROI设定)
  • 银行监管报送系统介绍(五):金融统计数据大集中自动化报送系统——PBOC Report