Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
non-reversible models (Read 3238 times)
weli
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 4
non-reversible models
Apr 20th, 2009 at 10:30am
 
hello,

I'm working with some data where the ancestor is known independently (alignments between ancestral transposons and modern sequence). I would like to determine rate parameters in as much detail as possible, ideally all 12 nondiagonal rates. I think this means I want a non-reversible model.

Is this possible to do in HYPHY? If so, is there some way I need to indicate which sequence is the ancestor?

thanks!
Back to top
 
 
IP Logged
 
wayne
Global Moderator
*****
Offline


I love YaBB 1G - SP1!

Posts: 57
San Diego, CA
Gender: male
Re: non-reversible models
Reply #1 - Apr 20th, 2009 at 11:44am
 
Hi Weli, there are two batch files you should look at.

NRM.mdl and NRM+Freqs.mdl.

Both of these implement a non-reversible model, yet differ in how they deal with stationary frequencies.

You may want to look at this thread which discusses these options in detail.

Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login Login

cheers ./w


Back to top
 

Assistant Project Scientist&&Antiviral Research Center&&Department of Pathology&&University of California, San Diego
WWW WWW  
IP Logged
 
wayne
Global Moderator
*****
Offline


I love YaBB 1G - SP1!

Posts: 57
San Diego, CA
Gender: male
Re: non-reversible models
Reply #2 - Apr 20th, 2009 at 11:45am
 
and use

ACCEPT_ROOTED_TREES = 1;

in your batch file.

./w
Back to top
 

Assistant Project Scientist&&Antiviral Research Center&&Department of Pathology&&University of California, San Diego
WWW WWW  
IP Logged
 
weli
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 4
Re: non-reversible models
Reply #3 - Apr 20th, 2009 at 2:24pm
 
Thanks, that helps a lot. One more question about specifying an ancestor.

I did the following

ACCEPT_ROOTED_TREES = 1;
Tree      Tr =  (anc,der);

which gives me this output:

Tree Tr=(anc:0.125158,der:0.195086);

It looks like its put the root somewhere between anc and der, and is still treating them as tips. I want to force it to make anc the ancestor. Is there any way to do that?

thanks again.
Back to top
 
 
IP Logged
 
wayne
Global Moderator
*****
Offline


I love YaBB 1G - SP1!

Posts: 57
San Diego, CA
Gender: male
Re: non-reversible models
Reply #4 - Apr 20th, 2009 at 3:13pm
 
hi, a two taxon tree is by default unrooted. However, in your case you can force an ancestor by constraining the branch length of the ancestor to be 0.

ie.

Tr.anc.t := 0;

./w
Back to top
 

Assistant Project Scientist&&Antiviral Research Center&&Department of Pathology&&University of California, San Diego
WWW WWW  
IP Logged