Table of features, taxons and samples

Thanks very much. Just incase anyone else finds this and needs some other format or to extract which samples had which ASV's, I actually decided to export my taxonomy and table information:

qiime tools export \
--input-path cd_16s_table.qza \
--output-path cd_16s_table-export

qiime tools export \
--input-path cd_16s_taxonomy_results.qza \
--output-path cd_16s_taxonomy_results-export

then convert the feature table, as it's in biom format:

cd cd_16s_table-export
biom convert -i feature-table.biom -o feature-table.tsv --to-tsv

I'm writing a python code to merge the formats on Feature ID. I'll just keep the per sample read out from the feature-table.tsv (much more sensible!). So my table will eventually have the columns Feature-ID, Sequence, Taxonomy, SampleA, SampleB, SampleC.... etc. Where the sample columns contain the number of times that ASV was found in that sample.

cheers,

Vic

1 Like