# convert txt file to biom file

**URL:** <https://forum.qiime2.org/t/convert-txt-file-to-biom-file/19099>\
**Category:** Other Bioinformatics Tools\
**Created:** [April 5, 2021, 2:46pm UTC](https://forum.qiime2.org/t/convert-txt-file-to-biom-file/19099 "2021-04-05T14:46:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohsen\_ej](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/m/b38774/32.png) [@mohsen\_ej](https://forum.qiime2.org/u/mohsen_ej)\
**Post date:** [April 5, 2021, 2:46pm UTC](https://forum.qiime2.org/t/convert-txt-file-to-biom-file/19099/1 "2021-04-05T14:46:15Z")

</div>

Dear all,  
I need to do some analysis by STAMP.  
I exported biom-with-taxonomy.txt file and changes somethings but when I want to convert the file to a biom file there is an error:  
"TypeError: 999.txt does not appear to be a BIOM file! "  
this is the file:

 ![12](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/9/94ed94fd46846af37b22741d84b9f6267698a688.png)  
I tried with these commands:

> **[Converting between file formats — biom-format.org](https://biom-format.org/documentation/biom_conversion.html)**

Thank you very much

---

<div class="post-metadata">

**Author:** ![SoilRotifer](https://forum.qiime2.org/user_avatar/forum.qiime2.org/soilrotifer/32/21071_2.png) [@SoilRotifer](https://forum.qiime2.org/u/SoilRotifer)\
**Post date:** [April 5, 2021, 7:48pm UTC](https://forum.qiime2.org/t/convert-txt-file-to-biom-file/19099/2 "2021-04-05T19:48:23Z")

</div>

Hi @mohsen_ej ,

You'll find there are a variety of ways to do this throughout the forum. But I think this is a good place to start:

> [@Converted biom table does not contain taxonomy](https://forum.qiime2.org/t/converted-biom-table-does-not-contain-taxonomy/13969/2):
>
> Hi @Pablo_V, I haven't actually looked into your specific error/case here but a while back I did write a mini-tutorial on how to go from a [qiime2 feature-table to a BugBase compatible OTU table](https://github.com/mestaki/qiime2-to-BugBase) and the first portion of it I think does what you want to do. Do you want to try that and if that doesn't work for you then we'll come back to troubleshoot this properly.

---

<div class="post-metadata">

**Author:** ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)\
**Post date:** [May 7, 2021, 1:48am UTC](https://forum.qiime2.org/t/convert-txt-file-to-biom-file/19099/3 "2021-05-07T01:48:52Z")

</div>

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
