The package that you linked off to is not currently maintained - however, I developed a new implementation of ANCOM-BC that is currently available in the QIIME 2 core distribution within q2-composition. You can install the latest version of QIIME 2 using these instructions to utilize it! Once you have QIIME 2 installed, you can simply run qiime composition ancombc --help to examine the method parameters.
Thanks @lizgehret.
I will install latest qiime2.
Can I use output from version 2021.11 with the latest version or do I need to rerun the analysis pipeline with latest version?
The input for ancombc will just take a FeatureTable[Frequency] so as long as that's what you've generated from your previous analysis in your 2021.11 environment, that's perfectly fine to use!
Thanks @lizgehret .
I was able to run ancom-bc using the solution you suggested.
One more question. Bars are labelled with feature ids. Is there a way to add taxonomy labels (species, genus, etc).
Yep! You can use qiime taxa collapse to generate a new feature table (from your original table) where all features are taxanomic annotations. You can then run this through ancombc to get your differential abundance data for use in da-barplot.
Hi @lizgehret
I have few more questions. I would appreciate if you could answer these.
Differential Tables:
My understanding was that differential tables LFC values are relative to reference group (as set by --p-reference-levels)(see 3Q here GitHub - FrederickHuangLin/ANCOMBC: Differential abundance (DA) and correlation analyses for microbial absolute abundance data). However, qiime2view says "Positive numbers indicate enrichment relative to the intercept, negative numbers indicate depletion relative to the intercept." Could you please clarify.
Also, it is possible to download tables as tsv or csv files?
This is correct! The reference groups that you are specifying when running ancom-bc are used as the intercept(s).
Not directly from the visualization on q2view - but you can run qiime tools export on your summary table, and included in that output directory you'll receive a tsv file that contains all of the stats shown in the visualization.
We chose to exclude the struc-zeros parameter because the taxa associated with them are not further utilized within ANCOM-BC, and they are only useful when performing the global test (which we also excluded from the QIIME 2 implementation of ancombc). Huang has a good explanation of this in question 12 under Commonly asked questions.