<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[使用 UNITE ITS 参考序列训练 QIIME2 分类器]]></title><description><![CDATA[<h1>使用 UNITE ITS 参考序列训练 QIIME2 分类器</h1>
<h3>下载 UNITE QIIME 格式的参考序列和分类文件。</h3>
<p dir="auto">qiime相关下载地址：<br />
<a href="https://unite.ut.ee/repository.php" rel="nofollow ugc">https://unite.ut.ee/repository.php</a></p>
<pre><code>wget https://files.plutof.ut.ee/public/orig/98/AE/98AE96C6593FC9C52D1C46B96C2D9064291F4DBA625EF189FEC1CCAFCF4A1691.gz
</code></pre>
<h3>解压。下载的文件实际上是一个 tar.gz 文件，所以需要解压：</h3>
<pre><code>tar xzf 98AE96C6593FC9C52D1C46B96C2D9064291F4DBA625EF189FEC1CCAFCF4A1691.gz
</code></pre>
<h3>进入开发者目录。</h3>
<pre><code>cd sh_qiime_release_04.02.2020/developer/
</code></pre>
<h3>修复阻止将参考序列导入 QIIME2 的格式错误。有干扰的空格，可能还有一些需要转换为大写的小写字母。</h3>
<pre><code>awk '/^&gt;/ {print($0)}; /^[^&gt;]/ {print(toupper($0))}' sh_refs_qiime_ver8_99_04.02.2020_dev.fasta | tr -d ' ' &gt; sh_refs_qiime_ver8_99_04.02.2020_dev_uppercase.fasta
</code></pre>
<h3>将 UNITE 参考序列导入 QIIME2。</h3>
<pre><code>qiime tools import \
--type FeatureData[Sequence] \
--input-path sh_refs_qiime_ver8_99_04.02.2020_dev_uppercase.fasta \
--output-path unite-ver8-seqs_99_04.02.2020.qza
</code></pre>
<h3>导入分类文件。</h3>
<pre><code>qiime tools import \
--type FeatureData[Taxonomy] \
--input-path sh_taxonomy_qiime_ver8_99_04.02.2020_dev.txt \
--output-path unite-ver8-taxonomy_99_04.02.2020.qza \
--input-format HeaderlessTSVTaxonomyFormat

</code></pre>
<h3>训练分类器。</h3>
<pre><code>qiime feature-classifier fit-classifier-naive-bayes \
--i-reference-reads unite-ver8-seqs_99_04.02.2020.qza \
--i-reference-taxonomy unite-ver8-taxonomy_99_04.02.2020.qza \
--o-classifier unite-ver8-99-classifier-04.02.2020.qza
</code></pre>
]]></description><link>http://an.forum.genostack.com/topic/738/使用-unite-its-参考序列训练-qiime2-分类器</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 11:02:50 GMT</lastBuildDate><atom:link href="http://an.forum.genostack.com/topic/738.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Aug 2022 08:36:49 GMT</pubDate><ttl>60</ttl></channel></rss>