前往小程序,Get更优阅读体验!
立即前往
发布
社区首页 >专栏 >适用于QIIME2的UNITE 9.0分类器及训练方法

适用于QIIME2的UNITE 9.0分类器及训练方法

作者头像
小汪Waud
发布2023-11-17 16:01:36
发布2023-11-17 16:01:36
77750
代码可运行
举报
文章被收录于专栏:小汪Waud小汪Waud
运行总次数:0
代码可运行

在使用 QIIME2 分析 ITS 数据时,需要注释降噪得到的代表序列,而注释需要输入所参考的数据库。

QIIME2官方给的说法是In our experience, fungal ITS classifiers trained on the UNITE reference database do NOT benefit from extracting/trimming reads to primer sites. We recommend training UNITE classifiers on the full reference sequences. Furthermore, we recommend the “developer” sequences (located within the QIIME-compatible release download) because the standard versions of the sequences have already been trimmed to the ITS region (excluding portions of flanking rRNA genes that may be present in amplicons generated with standard ITS primers).

那就自己训练一个好咯。

1下载并导入序列到qiime

UNITE下载链接[1]选择合适的版本下载数据库,下载解压后一共有这6个文件。

代码语言:javascript
代码运行次数:0
复制
# 将序列导入qiime
qiime tools import \
--type FeatureData[Sequence] \
--input-path Database/UNITE_qiime/sh_refs_qiime_ver9_99_25.07.2023.fasta \
--output-path unite-ver9-seqs_99_25.07.2023.qza

2导入分类学文件

代码语言:javascript
代码运行次数:0
复制
qiime tools import \
--type FeatureData[Taxonomy] \
--input-path Database/UNITE_qiime/sh_taxonomy_qiime_ver9_99_25.07.2023.txt \
--output-path unite-ver9-taxonomy_99_25.07.2023.qza \
--input-format HeaderlessTSVTaxonomyFormat

3训练分类器

这个步骤比较耗时(5h+),也比较占用内存(最多70G)。

代码语言:javascript
代码运行次数:0
复制
nohup qiime feature-classifier fit-classifier-naive-bayes \
--i-reference-reads unite-ver9-seqs_99_25.07.2023.qza \
--i-reference-taxonomy unite-ver9-taxonomy_99_25.07.2023.qza \
--o-classifier unite-ver9-99-classifier-25.07.2023.qza &

网上也有其他人发布自己训练的分类器如pre-trained UNITE 9.0 classifiers for QIIME 2023.9 (and older!)[2]

PS:本想设置免费分享unite-ver9-99-classifier-25.07.2023.qza的链接,无奈阿里不让分享qza文件,若有需要可打赏后在后台私信。

参考资料

[1]

UNITE下载链接: https://unite.ut.ee/repository.php

[2]

pre-trained UNITE 9.0 classifiers for QIIME 2023.9 (and older!): https://forum.qiime2.org/t/pre-trained-unite-9-0-classifiers-for-qiime-2023-9-and-older/24140/1

本文参与 腾讯云自媒体同步曝光计划,分享自微信公众号。
原始发表:2023-11-16,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 小汪Waud 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 1下载并导入序列到qiime
  • 2导入分类学文件
  • 3训练分类器
    • 参考资料
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档