HyPhy message board | |
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
Methodology Questions >> How to >> How to calculate diversity for haplotypes http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1299010943 Message started by rbjmax on Mar 1st, 2011 at 12:22pm |
Title: How to calculate diversity for haplotypes Post by rbjmax on Mar 1st, 2011 at 12:22pm
Hello!
my student and I are working on implementing PCA analysis on my viral sequence dataset for her applied math course. It will be fun to see if/how her results compare to my compartmentalization analysis via HyPhy! We need to calculate the relative diversity of each isolate's sequence (versus the entire population) so she can use that in her PCA matrix. I know HyPhy will do that with many methods for various analyses, but I don't know if it will actually give me that data in a format she and I can use. she has seen that many people use dN/dS ratios for this measure, but we don't think that's the best idea. We're thinking along the lines of a simple pairwise calculation. thoughts are welcome and appreciated! thank you |
Title: Re: How to calculate diversity for haplotypes Post by Sergei on Mar 1st, 2011 at 5:02pm
Hi rbjmax,
Your best bet is probably a matrix of pairwise distances which can be generated in a variety of formats, all machine readable, using the file TemplateBatchFiles/DistanceMatrix.bf You can either access it directly or through Standard Analyses:Phylogeny Reconstruction:DistanceMatrix.bf Sergei |
Title: Re: How to calculate diversity for haplotypes Post by rbjmax on Mar 2nd, 2011 at 7:14am
thank you, again, Sergei!
Rachel |
HyPhy message board » Powered by YaBB 2.5.2! YaBB Forum Software © 2000-2024. All Rights Reserved. |