Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
How to calculate diversity for haplotypes (Read 2360 times)
rbjmax
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 17
How to calculate diversity for haplotypes
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
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: How to calculate diversity for haplotypes
Reply #1 - 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
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged
 
rbjmax
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 17
Re: How to calculate diversity for haplotypes
Reply #2 - Mar 2nd, 2011 at 7:14am
 
thank you, again, Sergei!
Rachel
Back to top
 
 
IP Logged