Comments (6)
安装😊
#通过使用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.
Writing a RNA-Seq workflow with snakemake
from blog_natural_science.
Snakemake是用Python3写的一个工具,模仿makefile的格式,注意各个步骤的依赖关系,先后顺序。
三个重要概念:
- input files, 定义了输入文件
- output files, 定义了输出文件
- rules,定义了输入文件生成输出文件过程
from blog_natural_science.
如何半路使用?
from blog_natural_science.
Snakemake Pipelines
#snakeparse
from blog_natural_science.
Snakemake—a scalable bioinformatics workflow engine
from blog_natural_science.
Related Issues (20)
- linux常用 HOT 1
- 软件star精要 HOT 1
- GATK是什么?
- 搭建博客的N种方法.md HOT 1
- 在远程服务器上直接查看R图 HOT 2
- 报告 HOT 3
- DESeq2研习.md HOT 1
- 比较Microarrays和RNA-Seq HOT 1
- edgeR研习.md
- Sleuth研习.md HOT 1
- PCA研习.md HOT 1
- combat研习.md HOT 1
- 如果我说如果.md HOT 1
- ANOVA与ANCOVA.md HOT 1
- 生物中的统计学之小小.md HOT 1
- 生物中的统计学之大大.md
- putty V.S. xshell
- 西部数据使用.md HOT 2
- 集群小操作.md HOT 1
- linux从入门到摔门.md HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blog_natural_science.