扩增子分析QIIME2-2数据导入Importing data
# 激活工作环境
source activate qiime2-2017.8 # 建立工作目录
mkdir -p qiime2-importing-tutorial
cd qiime2-importing-tutorial
# 建样品目录
mkdir -p emp-single-end-sequences # 下载 barcode文件
wget -O emp-single-end-sequences/barcodes.fastq.gz https://data.qiime2.org/2017.8/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz # 下载序列文件
wget -O emp-single-end-sequences/sequences.fastq.gz https://data.qiime2.org/2017.8/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz # 导入QIIME2格式
qiime tools import \
--type EMPSingleEndSequences \
--input-path emp-single-end-sequences \
--output-path emp-single-end-sequences.qza
# 建样品目录
mkdir -p emp-paired-end-sequences # 下载序列正向和反向文件
wget -O emp-paired-end-sequences/forward.fastq.gz https://data.qiime2.org/2017.8/tutorials/atacama-soils/1p/forward.fastq.gz
wget -O "emp-paired-end-sequences/reverse.fastq.gz https://data.qiime2.org/2017.8/tutorials/atacama-soils/1p/reverse.fastq.gz # 下载barcode文件
wget -O emp-paired-end-sequences/barcodes.fastq.gz https://data.qiime2.org/2017.8/tutorials/atacama-soils/1p/barcodes.fastq.gz # 导入QIIME2格式
qiime tools import \
--type EMPPairedEndSequences \
--input-path emp-paired-end-sequences \
--output-path emp-paired-end-sequences.qza
# 下载fastq压缩包zip文件,其中的样品文件和清单文件mainfest
wget -O se-33.zip https://data.qiime2.org/2017.8/tutorials/importing/se-33.zip
wget -O se-33-manifest https://data.qiime2.org/2017.8/tutorials/importing/se-33-manifest
wget -O pe-64.zip https://data.qiime2.org/2017.8/tutorials/importing/pe-64.zip
wget -O pe-64-manifest https://data.qiime2.org/2017.8/tutorials/importing/pe-64-manifest
# 解压fastq样品文件
unzip -q se-33.zip
unzip -q pe-64.zip
# 样品名、文件位置、文件
sample-id,absolute-filepath,direction
sample1,$PWD/pe-64/s1-phred64-r1.fastq.gz,forward
sample1,$PWD/pe-64/s1-phred64-r2.fastq.gz,reverse
sample2,$PWD/pe-64/s2-phred64-r1.fastq.gz,forward
sample2,$PWD/pe-64/s2-phred64-r2.fastq.gz,reverse
# 导入Phred33格式测序结果
qiime tools import \
--type 'SampleData[SequencesWithQuality]' \
--input-path se-33-manifest \
--output-path single-end-demux.qza \
--source-format SingleEndFastqManifestPhred33
# 导入Phred64格式测序结果
qiime tools import \
--type 'SampleData[PairedEndSequencesWithQuality]' \
--input-path pe-64-manifest \
--output-path paired-end-demux.qza \
--source-format PairedEndFastqManifestPhred64
# 下载数据并导入为QIIME2的qza格式
wget -O feature-table-v100.biom https://data.qiime2.org/2017.8/tutorials/importing/feature-table-v100.biom
qiime tools import \
--input-path feature-table-v100.biom \
--type 'FeatureTable[Frequency]' \
--source-format BIOMV100Format \
--output-path feature-table-1.qza
wget -O feature-table-v210.biom https://data.qiime2.org/2017.7/tutorials/importing/feature-table-v210.biom
qiime tools import \
--input-path feature-table-v210.biom \
--type 'FeatureTable[Frequency]' \
--source-format BIOMV210Format \
--output-path feature-table-2.qza
wget -O sequences.fna https://data.qiime2.org/2017.8/tutorials/importing/sequences.fna
qiime tools import \
--input-path sequences.fna \
--output-path sequences.qza \
--type 'FeatureData[Sequence]'
wget -O aligned-sequences.fna https://data.qiime2.org/2017.8/tutorials/importing/aligned-sequences.fna
qiime tools import \
--input-path aligned-sequences.fna \
--output-path aligned-sequences.qza \
--type 'FeatureData[AlignedSequence]'
wget -O unrooted-tree.tre https://data.qiime2.org/2017.8/tutorials/importing/unrooted-tree.tre
qiime tools import \
--input-path unrooted-tree.tre \
--output-path unrooted-tree.qza \
--type 'Phylogeny[Unrooted]'
扩增子分析QIIME2-2数据导入Importing data的更多相关文章
- 扩增子分析QIIME2. 1简介和安装
		
原网站:https://blog.csdn.net/woodcorpse/article/details/75103929 声明:本文为QIIME2官方帮助文档的中文版,由中科院遗传发育所刘永鑫博士翻 ...
 - mysql 开发进阶篇系列 50 表的数据导入(load data infile,mysqlimport )
		
一.概述 上篇讲到的表的数据导出(select .. into outfile 或者mysqldump),这篇继续讲表的数据导入,导入也同样有二个方法,分别是load data infile... 和 ...
 - 如何使用免费控件将Word表格中的数据导入到Excel中
		
我通常使用MS Excel来存储和处理大量数据,但有时候经常会碰到一个问题—我需要的数据存储在word表格中,而不是在Excel中,这样处理起来非常麻烦,尤其是在数据比较庞大的时候, 这时我迫切地需要 ...
 - C# 从Excel2003将数据导入到SQL2005,数据发生截断的问题分析
		
C# 从Excel2003将数据导入到SQL2005,数据发生截断的问题分析 问题描述:大家没有遇到过这种情况使用自己编写的工具读取Excel2003文件中的数据,然后执行插入语句将数据批量导入到SQ ...
 - C# DateTime的11种构造函数  [Abp 源码分析]十五、自动审计记录  .Net 登陆的时候添加验证码  使用Topshelf开发Windows服务、记录日志  日常杂记——C#验证码  c#_生成图片式验证码  C# 利用SharpZipLib生成压缩包  Sql2012如何将远程服务器数据库及表、表结构、表数据导入本地数据库
		
C# DateTime的11种构造函数 别的也不多说没直接贴代码 using System; using System.Collections.Generic; using System.Glob ...
 - Mysql load data infile 导入数据出现:Data truncated for column
		
[1]Mysql load data infile 导入数据出现:Data truncated for column .... 可能原因分析: (1)数据库表对应字段类型长度不够或修改为其他数据类型( ...
 - Java中使用Oracle的客户端 load data和sqlldr命令执行数据导入到数据库中
		
Windows环境下测试代码: import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundExcep ...
 - 企业级搜索引擎Solr 第三章 索引数据(Indexing Data)[2]--DIH
		
转载:http://quweiprotoss.wap.blog.163.com/w2/ DIH需要在solrconfig.xml中注册,如下: <requestHandler name=&quo ...
 - ABAP-1-会计凭证批量数据导入本地ACCESS
		
公司会计凭证导入ACCESS数据库,需要发送给审计,原先的方案是采用DEPHI开发的功能(调用函数获取会计凭证信息,然后INSERT到ACCESS数据表),运行速度非常慢,业务方要求对该功能进行优化, ...
 
随机推荐
- nginx-1.5.10 之mips编译到RT5350
			
编译nginx-1.5.10一般须要下面库的支持:pcre,zlib,openssl 此次编译nginx-1.5.10使用的库版本号分别为pcre-8.34:openssl-1.0.0l:zlib-1 ...
 - PCCs系数
			
package ai; public class pccs { public static void main(String[] args) { double same[][]=new double[ ...
 - web 开发之js---js 调用视频播放
			
var popWindow;var videoWindow;var videoWindowF;var currentVideo=null;var currentVideoTitle="&qu ...
 - 满足qps 同时兼顾  数据生产速率
			
满足qps 同时兼顾 数据生产速率
 - 利用JProfile 7分析内存OOM
			
今天发现一个OOM问题,想来可能是有部分内存没有正确释放导致的 于是想到了之前使用的JProfile来分析一下 由于大概知道哪个类没有释放,可以在Memory Views里看一下对应的类有多少实例来确 ...
 - JFreeChart生成柱形图(2) (转自 JSP开发技术大全)
			
JFreeChart生成柱形图(2) (转自 JSP开发技术大全) 14.2 利用JFreeChart生成柱形图14.2.1 利用DefaultCategoryDataset数据集绘制柱形图 通过JF ...
 - Bing必应地图中国API - 添加实时交通信息
			
Bing必应地图中国API - 添加实时交通信息 2011-05-24 14:44:58| 分类: Bing&Google|字号 订阅 2009年4月23日,微软必应地图中国API新 ...
 - 关于file文件操作的头文件 【LINUX】 (转载)
			
转自:http://blog.csdn.net/figo77ll/article/details/3156052 Linux下如果要对文件进行读取访问,需要包含至少以下两个头文件: #inlcude ...
 - Objective-C NSObject与运行时系统
			
创建: 2018/01/26 完成: 2018/02/02 遗留: TODO NSObject 运行时系统 程序运行时候起作用的系统? NSObject是运行时系统的接口(API) 属性 只有一 ...
 - python/shell脚本报异常^M: bad interpreter: No such file or directory
			
问题:在Windows写了一python脚本,上传Linux服务器执行,报异常*****^M: bad interpreter: No such file or directory 原因:window ...