Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
reversibility violation (Read 5122 times)
jxn
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 10
reversibility violation
Jul 9th, 2007 at 9:50am
 
I want to generate some DNA sequence data  violated reversibility assumtion. Do you know what program can do that? Thanks.
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: reversibility violation
Reply #1 - Jul 9th, 2007 at 10:22am
 
Dear jxn,

HyPhy can do this fairly easily : you would need to define a non-reversible substitution model and then use Simulate to generate some data under that model. Were you looking to simulate nucleotide data?

Cheers,
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
 
jxn
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 10
Re: reversibility violation
Reply #2 - Jul 16th, 2007 at 10:10am
 
Hi, Sergei

I want to simulate nucleotide data. Would you please show me the  relevant command or/and example that I can start from? thanks a lot.

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


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: reversibility violation
Reply #3 - Jul 19th, 2007 at 4:16pm
 
Dear jxn,

How do you wish to specify the input? A tree with branch lengths and a number of sites as well as substitution rates?

Cheers,
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
 
jxn
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 10
Re: reversibility violation
Reply #4 - Jul 30th, 2007 at 6:14am
 
Hi, Sergei

I want to input a tree with branch length, number of the sites. As well as the base frequence and the asymmetric relative rate matrix for the non-reversible substitution model. Thanks a lot.

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


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: reversibility violation
Reply #5 - Jul 30th, 2007 at 10:48am
 
Dear jxn,

Do you want the frequencies to be at equilibrium or not? If not, then branch lengths (in the traditional sense) are harder to compute...

Cheers,
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
 
jxn
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 10
Re: reversibility violation
Reply #6 - Aug 1st, 2007 at 10:30am
 
Hi, Sergei 

I want the frequencies at equilibrium, so the stationary assumption holds.

why do I need to compute the branch lengths? I only need the data simulated under a model which the reversibility doesn't hold.

Thanks.
jxn
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: reversibility violation
Reply #7 - Aug 1st, 2007 at 3:21pm
 
Dear jxn,

OK; stationarity makes things easier, but you have 3 constraints on 12 rate parameters to make sure that f_A, f_C, f_G and f_T you stipulate are the stationary distribution.

One needs to convert branch lengths (expected subs/site) into model parameters to simulate the data. I'll put something together tonight.

Cheers,
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
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: reversibility violation
Reply #8 - Aug 1st, 2007 at 10:41pm
 
Dear jxn,

Here's an example file for NR simulation (look at the top of the source for user configurable parameters). You need a recent version of HyPhy to run this (for proper output formatting...)

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

Cheers,
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