Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
Testing dN/dS on a 4 taxon tree (Read 2392 times)
Teri
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 2
Testing dN/dS on a 4 taxon tree
Dec 20th, 2011 at 3:14am
 
Hi,

I'm building 4 taxon trees using fairly short alignments and I want to test whether one or more branches are under differing selection pressures. I have about 100,000 alignments to test and each is built from a single species' perspective.

I have therefore started by looking at using TestBranchDNDS.bf to test whether my starting sequence (which is my key interest) is under a different selection pressure than the rest of the tree. However I don't understand one of the options, the nsClass2 or nsClass1 rate parameter. What are these parameters and how will they affect the result? Also for those alignments where I get a significant result how do I tell if this branch is under positive or negative selection?

The alignments I am keen to locate from my dataset would hopefully show two of the species to be under negative selection (the genes are under constraint) while a third species has a more positive selection as the constraint has been released. I'm therefore weary of comparing my branch of interest against a global background if I suspect that background could comprise these different rates. Is there therefore a more appropriate test I could use?

I've read through the HyPhy book as well as other posts and papers and I can't seem to find an answer to my questions so I hope you can help,


Thanks,

Teri
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: Testing dN/dS on a 4 taxon tree
Reply #1 - Dec 20th, 2011 at 11:01am
 
Hi Teri,

I suggest you use a newer method (BranchSiteREL) to scan your alignment for evidence of episodic selection along any lineage. This method does not assume global background, and allows each branch to possess its own selective regime. Take a look at Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login Login and Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login Login for some background on the test.

Once you've run the 100,000 alignments through this analysis, you can screen those where the branch of interest is under strong positive selection.

Best,
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
 
Teri
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 2
Re: Testing dN/dS on a 4 taxon tree
Reply #2 - Dec 21st, 2011 at 5:49am
 
Sergei,

Thanks for the suggestion, so far it seems to be working but it is a little slow. How do I tell HYPHYMP to use multiple threads? I was expecting to add an argument when I start the program using my batchfile but I can't find any documentation about what to add,

Thanks for the help,

Teri
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: Testing dN/dS on a 4 taxon tree
Reply #3 - Dec 21st, 2011 at 2:16pm
 
Hi Teri,

HYPHYMP (without any arguments) will try to use as many threads as possible (up to the # of CPUs in the system). For smaller datasets (4 sequences), the parallelization algorithm is not going to show much improvement, I am afraid. You may be better off compiling HYPHYMPI and using a wrapper file to run multiple fits in parallel.

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