How to convert merged_abundance-table into a biom file?
2
1
Entering edit mode
3.8 years ago
dpc ▴ 240

Hi there!!! I have profile around 60 WGS metagenomic samples with MetaPhlAn 3.0. In the next step I have merged all the output profile files into merged_abundance_table with merge_metaphlan_tables.py function from MetaPhlAn 3.0.

  1. Now, can anyone please tell me how can I convert this merged_abundance_table into a biom format? or,

  2. How can I merge all the biom outputs obtained from each of the sample?

Thanks, DC7

metaphlan biom wgs metagenome • 2.9k views
ADD COMMENT
1
Entering edit mode
3.8 years ago

Hi,

To merge one table into biom you can use biom-convert utilities: https://biom-format.org/documentation/biom_conversion.html

biom convert -i otu_table.txt -o new_otu_table.biom --to-hdf5 --table-type="OTU table" --process-obs-metadata taxonomy

Can you post just part of you table here in tsv format?

António

ADD COMMENT
1
Entering edit mode
2.2 years ago
D ▴ 10

Hi,

If you use merge_metaphlan_tables.py the output will be expressed by relative abundances.

I encourage to you to use absolute abundance for phyloseq downstream analysis.

See the code created by timierg in https://forum.biobakery.org/t/merge-metaphlan-tables-py-with-absolute-abundance/1839

Kind regards,

Magí.

ADD COMMENT

Login before adding your answer.

Traffic: 2592 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6