PICRUSt工具使用过程中的概念理解

1. MiSeq 2x250 16S V4 下机测序数据经下面pipeline代码转换为OTU table

#!/bin/bash

if [ x$usearch == x ] ; then
	echo Must set \$usearch >> /dev/stderr
	exit 1
fi

rm -rf ../out
mkdir -p ../out
cd ../out

# Merge paired reads
# Add sample name to read label (-relabel option)
# Pool samples together in raw.fq (Linux cat command)
for Sample in Mock Soil Human Mouse
do
	$usearch -fastq_mergepairs ../data/${Sample}*_R1.fq \
	  -fastqout $Sample.merged.fq -relabel $Sample.
	cat $Sample.merged.fq >> all.merged.fq
done

# Strip primers (V4F is 19, V4R is 20)
$usearch -fastx_truncate all.merged.fq -stripleft 19 -stripright 20 \
  -fastqout stripped.fq

# Quality filter
$usearch -fastq_filter stripped.fq -fastq_maxee 1.0 \
  -fastaout filtered.fa -relabel Filt

# Find unique read sequences and abundances
$usearch -fastx_uniques filtered.fa -sizeout -relabel Uniq -fastaout uniques.fa

# Make 97% OTUs and filter chimeras
$usearch -cluster_otus uniques.fa -otus otus.fa -relabel Otu

# Denoise: predict biological sequences and filter chimeras
$usearch -unoise3 uniques.fa -zotus zotus.fa

##################################################
# Downstream analysis of OTU sequences & OTU table
# Can do this for both OTUs and ZOTUs, here do
# just OTUs to keep it simple.
##################################################

# Make OTU table
$usearch -otutab all.merged.fq -otus otus.fa -otutabout otutab_raw.txt

2. OTU table 经过 PICRUSt 工具 转换为 KEGG_ID table(表中的数字代表靶到该OTU或KEGG上的reads数量)

OTU_IDSample1Sample2Sample3Sample4
1100806090
250607050
340606040
490805080

 

KEGG_IDSample1Sample2Sample3Sample4
ko123490804040
ko255660605010
ko694860182634
ko654966931080

 

 

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值