Code Monkey home page Code Monkey logo

Comments (6)

gmgitx avatar gmgitx commented on July 30, 2024

安装😊

#通过使用conda安装(Miniconda已经安装,装的3),解决软解依赖问题

#要求通过Miniconda安装Python 3 ,okay先查看目前环境所用python版本
conda search "^python$"
#此处省去上上边现实的很多,part:

python                    3.6.4      hc3d631a_1  pkgs/main
python                    3.6.4      hc3d631a_3  pkgs/main
python                    3.6.5      hc3d631a_0  pkgs/main
python                    3.6.5      hc3d631a_1  pkgs/main
python                    3.6.5      hc3d631a_2  pkgs/main
python                    3.6.6      hc3d631a_0  pkgs/main
python                    3.7.0      hc3d631a_0  pkgs/main

#1是要求,2是现有,so, 准备装个3.7的虚拟环境。一定要指定python版本,否则直接global python版本。:confused:那其它的呢?并且把安装的依赖包全部放在global env下面,不利于你对python虚拟环境的隔离???

#创建环境
conda create --name EnvPy37 python=3.7 #安装3.7是因为亚版本

#检查已有环境
conda info --envs

#激活环境
source activate EnvPy37

#安装Snakemake
conda install -c bioconda -c conda-forge snakemake
😕安装过程中需要确认更新一些包,有pip,我需要换个确定一下是否影响到了另一个环境的版本

The following packages will be UPDATED:_

    ca-certificates:          2018.03.07-0                      --> 2018.8.24-ha4d7672_0 conda-forge
    certifi:                  2018.8.24-py37_1                  --> 2018.8.24-py36_1     conda-forge
    openssl:                  1.0.2p-h14c3975_0                 --> 1.0.2p-h470a237_0    conda-forge
    pip:                      10.0.1-py37_0                     --> 18.0-py36_1          conda-forge
    setuptools:               40.2.0-py37_0                     --> 40.2.0-py36_0        conda-forge
    wheel:                    0.31.1-py37_0                     --> 0.31.1-py36_1        conda-forge

The following packages will be DOWNGRADED:_

    python:                   3.7.0-hc3d631a_0                  --> 3.6.6-h5001a0f_0     conda-forge

Proceed ([y]/n)? y

验证得知,这种情况下,虚拟环境之间,互不影响:stuck_out_tongue:

#退出环境
source deactivate

使用😊

from blog_natural_science.

gmgitx avatar gmgitx commented on July 30, 2024

Writing a RNA-Seq workflow with snakemake

from blog_natural_science.

gmgitx avatar gmgitx commented on July 30, 2024

Snakemake是用Python3写的一个工具,模仿makefile的格式,注意各个步骤的依赖关系,先后顺序。

三个重要概念:

  • input files, 定义了输入文件
  • output files, 定义了输出文件
  • rules,定义了输入文件生成输出文件过程

from blog_natural_science.

gmgitx avatar gmgitx commented on July 30, 2024

如何半路使用?

from blog_natural_science.

gmgitx avatar gmgitx commented on July 30, 2024

Snakemake Pipelines
#snakeparse

from blog_natural_science.

gmgitx avatar gmgitx commented on July 30, 2024

Snakemake—a scalable bioinformatics workflow engine

from blog_natural_science.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.