Simon
Ex Member
|
Dear Rose,
If you're interested in whether selection differs on a given branch, or set of branches, relative to the rest, you can either do a 'Branch-Site test', which is not currently available in HyPhy (it can easily be added), in which a distribution of rates across sites is assumed, or you can adopt a fixed effects approach, where the rates at each site are fitted separately. The latter approach (which, for reasons I won't go into here, may be preferable to the first approach) can be done as part of the 'Positive Selection' analyses.
So, if you want to know whether selection at a site along a branch which separates two compartments (or all those that separate the compartments), do the following:
Standard Analyses> PositiveSelection> QuickSelectionDetection> (Choose your genetic code e.g. universal) (New analysis) (Specific codon file) (Choose model options (e.g. the default is MG94 X HKY85)) (Select tree file) (Save nucleotide fit to: (e.g mynucfit)) (dN/dS bias parameter options - e.g. estimate + C.I.) (Ancestor counting options - two rate FEL (THIS IS THE IMPORTANT BIT))
You'll then wait a bit, until it asks you for the P-value cutoff for significance (e.g. 0.1). You will then have a choice of branch options. If you choose 'Custom subset', a tree will come up, with the nodes labeled. You can then select one or more branches (in your case, the branches separating the two compartments). This will test whether dN/dS at each site in the alignment is significantly different between the branches you selected and those you have not. If you wish to allow dN/dS to be different in each compartment (i.e., three dN/dS ratios for each site), this will require a custom analysis. Please contact us for help if you need to do this.
Note that the p value that you get from this approach will only tell you whether dN/dS is significantly different between compartments compared to within compartments (assuming that dN/dS is the same within each compartment). If you want to say whether positive selection is occurring at a site, you'll have to get confidence intervals on the estimate for dN/dS at that site.
Best wishes Simon
|