Hi all,
I am new to ANCOM-BC and have a couple of questions.
My first question is about rare taxa filtering. Is it recommended to remove rare taxa before running ANCOM-BC? If so, what are commonly used thresholds for minimum frequency and minimum prevalence?
My second question is about rarefaction. Since ANCOM-BC includes bias correction to account for unequal sampling depth, is rarefaction still necessary or recommended before running the analysis?
Thank you Colin for the information. I have a follow-up question about my own experiment. I am studying changes in the microbial community in response to disease infection across 2 genotypes, 2 fields, and 3 collection points. My goal is to determine which features differ in abundance between genotypes within the same field at each collection point. To do this, I split my feature table into 3 separate tables based on collection point, and plan to run ANCOM-BC on each table using the following script :
@asmaamorsi, I'm going to ask the ANCOMBC developer to jump in here to advise. One recommendation though - I would use ANCOMBC2 now, as this is the more modern method. This is illustrated in the gut-to-soil tutorial that @colinbrislawn linked you to.
Hi @asmaamorsi , I think your current model tests the main effect of genotype, adjusted for field. It doesn’t directly test “genotype differences within each field.”
For your goal, comparing genotypes within the same field at each collection point, you can fit an interaction model at each collection point, e.g.:
Thank you for the information. I tried running the analysis following the same function, however I got the following error:
"An error was encountered while running ANCOM-BC in R (return code 1). Please inspect stdout and stderr to learn more. Debug info has been saved to /tmp/local/6687463/qiime2-q2cli-err-kht9x_yx.log"
I tried to open the file to read the error, but it was empty.
One of the treatments in my experiment has only 2 samples. Could this be the reason for the error?
Could you re-run your command with the --verbose flag enabled? This will give us a more detailed error message so we can see where the issue is coming from. Thanks!