java fit 16s,科学网—16s rRNA分析流程和工具的介绍 - 肖斌的博文

2023-12-28 04:20

本文主要是介绍java fit 16s,科学网—16s rRNA分析流程和工具的介绍 - 肖斌的博文,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

“split_libraries.py” 和“split_libraries_fastq.py”实现数据拆分和数据过滤的双重目的。Mothur利用“Trim.seqs”。不过QIIME和Mothur都不能直接处理sff文件(454下机产生的数据格式),不过可各自利用“process_sff.py”和Sffinfo将sff格式转换为FASTA和QUAL文件。

数据过滤考虑的参数有:minimum average quality score allowed in a read、maximum number of ambiguous bases allowed、minimum and maximum sequence length、maximum length of homopolymer allowed、maximum mismatches inprimer or barcode allowed、whether to truncate reverse primer, and so on.

(2)Denoise and chimera checking

16s建库的pcr过程、测序过程均会导致序列出现错误,在分析过程过程中需要有效排除这种错误。测序误差矫正常用的工具有Denoiser(implemented in QIIME)、AmpliconNoise、Acacia、Pre.cluster(implemented in Mothur)。嵌合体查找的工具有ChimeraSlayer、UCHIME、Persus、DECIPHER,ChimeraSlayer、UCHIME、Persus在mothur中均可调用。在这些工具中,存在有待于优化的问题(these different methods often disagree with one another on the list of identified chimeras,probably because of their different mechanisms or algorithms. More efforts are required to evaluate these methods and coordinate their inconsistencies in chimera identification.)

328d5170a2a19271a5e955cef593521f.png

在分析中有个关于古细菌序列的情况需要注意:a very small proportion of archaeal sequences may be generated for 16S rRNA gene amplicon datasets amplified with bacteria-specific primers. These unexpected sequences should be identified after denoising and chimeraremoval, and are advised to be discarded before subsequent data normalization.

(3)Data normalization

测序深度不理想和不均匀的话会对alpha多样性及beta多样性均有影响。Uneven sequencing depth can affect diversity estimates in a single sample (i.e.,alpha diversity), as well as comparisons across different samples (i.e., beta diversity), thus data normalization is required. 对于此问题有两种处理策略,分别是relative abundance and random sampling (i.e., rarefaction),in addition, z-score亦用于normalization的过程中。但不同的方法均会有缺点。

(4)Picking OTUs and representative sequences

OTU的界定主要根据序列的一致性进行,(The OTUs are picked based on sequence identity, and various identity cutoffs of 16S rRNA gene have been used for different taxonomic ranks. For example, identity cutoffs recommended by MEGAN are 99 % for species, 97 % for genus,95 % for family, and 90 % for order level, respectively)。OTU界定时选择的工具与算法对后期分析有很大影响(The OTU picking strategy and algorithms have significant effects in the downstream data interpretation. )根据分析过程中是否使用数据库,OTU界定的策略可分为de novo、closed reference和open reference。在  OTU界定中有很多聚类的方法,There are many clustering or alignment tools available for OTU picking, such as Uclust, cd-hit, BLAST, mothur, usearch, and prefix/suffix. These tools are implemented in QIIME. Among them, the mothur method contains three clustering algorithms to pick de novo OTUs, namely, nearest neighbor, furthest neighbor, or average neighbor. 当序列聚类好后,代表了一个OTU,接下来就是从这个OTU找到代表序列,一种做法是a representative sequence can be a random, the longest, the most abundant(as default in QIIME), 另一种操作方法是the first sequence in an OTU cluster.  还有一种策略是the distance method in mothur identifies the   sequence with the smallest maximum distance to the other sequences as the representative sequence.

(5)Taxonomic assignment

taxonomic assignment的策略有:(1)word match,如RDP classfier,(2)best hit,(3)Lowest Common Ancestor,如MEGAN、SINA Alignment Service.

(6)Phylogenetic analysis

Phylogenetic relationships一般可以用树来表示,phylogenetic relationships主要是通过序列比对来实现的,序列比对的工具有ClustalW, MUSCLE, Clustal Omega, Kalign, T-COFFEE, COBLAT和FastTree. 目前针对16s rRNA NGS数据的分析工具都可以实现,如MEGA,RAxML,MRBAYES,PhyML,TreeView,Clearcut,FitTree. 其中RAxMLand PhyML are the most widely used programs for maximum-likelihood phylogenetic analysis, probably because they are specifically designed and optimized for such purpose.

(7)Alpha- and beta-diversity analyses

alpha多样性有众多指标可以表示,在mothur中有Shannon, Berger-Parker,Simpson, Q statistic; observed richness, Chao1, ACE, and jackknife。而在QIIME中,有phylogenetic diversity (PD)-whole tree, chao1, and observed species.

还有一种物种丰度的比较方法:rarefaction curve. QIIME中主要用“single_rarefaction.py”、 “multiple_rarefaction.py”,在mothur中主要用“Rarefaction.single”和“Rarefaction.shared”.

beta多样性计算主要反映不同样本之间的差异度,several distance metrics, such as Unifrac, Bray-Curtis, Euclidean,Jaccard index, Yue & Clayton, and Morisita-Horn, have been often employed. beta多样性计算根据是否考虑OTU的相对丰度,可分为定量指数和定性指数。

(8)Statistical and network analysis

在Two-sample/group中,多考虑t-test。在其中需要注意,Particularly for independent two-samplet-test, independence and equal variances (which canbe tested by F-test, Levene’s test, etc.) of two populations arerequired. In the case of non-normal distribution of data sets,nonparametric two-sample tests robust to data non-normality,such as Wilcoxon signed-rank test, and Mann-Whitney U testare applicable for significance testing of difference betweengroup medians.

在Multiple-sample/group tests中,ANOVA。

(9)Clustering and classification

clustering可以分析样品之间的亲疏关系。classfication的策略用来对样品进行类别判定。

(10)Ordination analysis

在样本的相似度和距离计算完后,可以利用principal component analysis (PCA), principal coordinates analysis(PCoA, also known as metric multidimensional scaling), Nonmetric multidimensional scaling (NMDS), canonical correspondence analysis (CCA), linear discriminantanalysis (LDA), and redundancy analysis (RDA)等构建样本间的关系。

(11)Network-based modeling

与基因表达、代谢分子、蛋白等数据一起分析共表达网路或者共表达模式(co-occurrence and co-exclusion patterns)

参考文章:JuF,ZhangT.16srRNAgenehigh throughputsequencingdataminingofmicrobiotadiversityandinteractions,ApplMicrobiolBiotechnol.2015,99(10):4119-4129

这篇关于java fit 16s,科学网—16s rRNA分析流程和工具的介绍 - 肖斌的博文的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/545055

相关文章

JAVA保证HashMap线程安全的几种方式

《JAVA保证HashMap线程安全的几种方式》HashMap是线程不安全的,这意味着如果多个线程并发地访问和修改同一个HashMap实例,可能会导致数据不一致和其他线程安全问题,本文主要介绍了JAV... 目录1. 使用 Collections.synchronizedMap2. 使用 Concurren

Java Response返回值的最佳处理方案

《JavaResponse返回值的最佳处理方案》在开发Web应用程序时,我们经常需要通过HTTP请求从服务器获取响应数据,这些数据可以是JSON、XML、甚至是文件,本篇文章将详细解析Java中处理... 目录摘要概述核心问题:关键技术点:源码解析示例 1:使用HttpURLConnection获取Resp

Java的栈与队列实现代码解析

《Java的栈与队列实现代码解析》栈是常见的线性数据结构,栈的特点是以先进后出的形式,后进先出,先进后出,分为栈底和栈顶,栈应用于内存的分配,表达式求值,存储临时的数据和方法的调用等,本文给大家介绍J... 目录栈的概念(Stack)栈的实现代码队列(Queue)模拟实现队列(双链表实现)循环队列(循环数组

redis过期key的删除策略介绍

《redis过期key的删除策略介绍》:本文主要介绍redis过期key的删除策略,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录第一种策略:被动删除第二种策略:定期删除第三种策略:强制删除关于big key的清理UNLINK命令FLUSHALL/FLUSHDB命

Java中Switch Case多个条件处理方法举例

《Java中SwitchCase多个条件处理方法举例》Java中switch语句用于根据变量值执行不同代码块,适用于多个条件的处理,:本文主要介绍Java中SwitchCase多个条件处理的相... 目录前言基本语法处理多个条件示例1:合并相同代码的多个case示例2:通过字符串合并多个case进阶用法使用

Java中的Lambda表达式及其应用小结

《Java中的Lambda表达式及其应用小结》Java中的Lambda表达式是一项极具创新性的特性,它使得Java代码更加简洁和高效,尤其是在集合操作和并行处理方面,:本文主要介绍Java中的La... 目录前言1. 什么是Lambda表达式?2. Lambda表达式的基本语法例子1:最简单的Lambda表

Java中Scanner的用法示例小结

《Java中Scanner的用法示例小结》有时候我们在编写代码的时候可能会使用输入和输出,那Java也有自己的输入和输出,今天我们来探究一下,对JavaScanner用法相关知识感兴趣的朋友一起看看吧... 目录前言一 输出二 输入Scanner的使用多组输入三 综合练习:猜数字游戏猜数字前言有时候我们在

Spring Security+JWT如何实现前后端分离权限控制

《SpringSecurity+JWT如何实现前后端分离权限控制》本篇将手把手教你用SpringSecurity+JWT搭建一套完整的登录认证与权限控制体系,具有很好的参考价值,希望对大家... 目录Spring Security+JWT实现前后端分离权限控制实战一、为什么要用 JWT?二、JWT 基本结构

java解析jwt中的payload的用法

《java解析jwt中的payload的用法》:本文主要介绍java解析jwt中的payload的用法,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录Java解析jwt中的payload1. 使用 jjwt 库步骤 1:添加依赖步骤 2:解析 JWT2. 使用 N

springboot项目如何开启https服务

《springboot项目如何开启https服务》:本文主要介绍springboot项目如何开启https服务方式,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录springboot项目开启https服务1. 生成SSL证书密钥库使用keytool生成自签名证书将