Hello everyone,
I use QIIME2 quite a lot to do ordinary metagenomics analysis (along the lines of the moving pictures tutorial). This time though I'm dealing with pathway analysis for the first time, I'm trying to grasp the basic concepts but time is short, and documentation is not as complete as for the "standard" analysis.
So, what I think I've got so far (any of these points could be wrong!):
-
I used the Picrust2 qiime2 plugin in "full-pipeline" mode, following the tutorial:
qiime picrust2 full-pipeline --i-table 'Denoise_DADA2/table.qza' --i-seq 'Denoise_DADA2/rep-seqs.qza' --output-dir Picrust/ --p-threads 30 --p-hsp-method pic --p-max-nsti 2 --verbose -
I obtained the following files: ec_metagenome.qza, ko_metagenome.qza, pathway_abundance.qza. I turned them into qzv and had a look. All good.
-
Now I need to answer the fundamental question: do any of the KO terms change among my conditions? The first thing I could think of was to do the same thing I usually do for the standard analysis: add pseudocounts to ko_metagenome.qza
qiime composition add-pseudocount --i-table ko_metagenome.qza --o-composition-table ko_comp-table.qza
and then perform the ANCOM analysis:
qiime composition ancom --i-table ko_comp-table.qza --m-metadata-file ../metadata.tsv --m-metadata-column Treatment --o-visualization ancom_KO-Treatment.qzv --verbose
In my head, by doing this I should find out which pathways are significantly differentially expressed between my categories of samples. (spoiler: no results.
Now, this is probably oversimplified if not entirely wrong. So the question is: how can I find out what is going on with pathways and my treatments, starting from the files ec_metagenome.qza, ko_metagenome.qza and pathway_abundance.qza? Is ANCOM the right way to do it?