Process Tax Assign file(GREENGENES分类学结果格式化)
分析模块输入GREENGENES数据库的分类学注释结果,经过处理后,将未分类的标识由 "g__" 替换为"g__norank",注释为空的结果一律替换为: "Unclassified"。
输入:
Tax Assign分类学注释信息文件:
11469739 k__Bacteria; p__OP9; c__JS1; o__SB-45; f__; g__; s__
11480235 k__Bacteria; p__OD1; c__; o__; f__; g__; s__
11460543 Unassigned
11460523 No Blast Hit
11472286 k__Bacteria; p__WS5; c__; o__; f__; g__; s__
11458037 k__Bacteria; p__Firmicutes; c__Clostridia; o__Clostridiales; f__Peptococcaceae; g__Desulfosporosinus; s__meridiei
11472384 k__Bacteria; p__Proteobacteria; c__Betaproteobacteria; o__Burkholderiales; f__Burkholderiaceae; g__Burkholderia; s__
输出:
经过处理后的分类学注释信息文件:
11469739 k__Bacteria; p__OP9; c__JS1; o__SB-45; f__norank; g__norank; s__norank
11480235 k__Bacteria; p__OD1; c__norank; o__norank; f__norank; g__norank; s__norank
11460543 Unclassified
11460523 Unclassified
11472286 k__Bacteria; p__WS5; c__norank; o__norank; f__norank; g__norank; s__norank
11458037 k__Bacteria; p__Firmicutes; c__Clostridia; o__Clostridiales; f__Peptococcaceae; g__Desulfosporosinus; s__meridiei
11472384 k__Bacteria; p__Proteobacteria; c__Betaproteobacteria; o__Burkholderiales; f__Burkholderiaceae; g__Burkholderia; s__norank