Dear CAFE community,
I am going to be using CAFE to detect the contraction and expansion of gene families.
There has been a lot of confusion about these two P values, Family-wide P-value' and 'Viterbi P-values'.
If the results( *.cafe file) produced by the CAFE are then analyzed directly with
catetutorial.report.analysis.py. I have found that
catetutorial.report.analysis.py counts all gene families contraction and expansion, regardless of whether the Family-wide P-value is greater than 0.05 or less than or equal to 0.05. For example, there are families whose Family-wide P-value is already greater than 0.05, but these families are still present in the result statistics file,*.fams.txt.
I know that when both wide p-value 'and' Viterbi p-values' of any family are less than 0.01, these families will be marked as rapidly evolving families.
I think we should set both 'Family-wide P-value' and 'Viterbi P-values' to be less than 0.05 as a threshold and then select these expanded or contracted families from *.cafe file according to the threshold, That is, a gene family is considered expanded or contracted only if both 'Family-wide P-value' and 'Viterbi P-values' are less than 0.05. If we do not set two values less than 0.05, but directly use
catetutorial.report.analysis.py, the number of the final families is too high.
We can then use these selected families for GO or KEGG enrichment and other analyses.
Am I understanding this correctly?
Thank you in advance.
Best regards,
Zhipeng