Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
Pages: 1 2 
Running SBP from command-line (Read 14259 times)
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: Running SBP from command-line
Reply #15 - Dec 6th, 2010 at 7:20am
 
Hi hs,

For two trees (as is the case in SBP), KH and SH testing approaches are equivalent. Use the 'Run 1' option. Set the number of replicates to the reciprocate of the p-value you are interested in. For example -- if you seek to establish multiple trees at p = 0.01, use 100 replicates (technically, you will get p <= 1/101 if all replicates are significant).

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
 
hs
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 20
Re: Running SBP from command-line
Reply #16 - Dec 6th, 2010 at 7:28am
 
SBP prints to stdout either 'There seems to be NO recombination in this alignment' or 'Best supported breakpoint is located at position XXX' based on AIC, AIC-c, and BIC. Where should I look to judge recombination based on KH Test?
Back to top
 
 
IP Logged
 
hs
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 20
Re: Running SBP from command-line
Reply #17 - Dec 8th, 2010 at 12:03pm
 
In SBP, KH Test output file (with extension of 'kh') consists of 5 columns (Breakpoint, Part 1 KH p-value, Part 1 Delta LogL, Part 2 KH p-value, Part 2 Delta LogL). Is the site declared to be a recombination breakpoint if both (or either?) of 'Part 1 KH p-value' and 'Part 2 KH p-value' are <0.05?
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: Running SBP from command-line
Reply #18 - Dec 10th, 2010 at 3:17pm
 
Hi hs,

BOTH p-values are <0.05.

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
 
hs
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 20
Re: Running SBP from command-line
Reply #19 - Dec 10th, 2010 at 7:24pm
 
For some gene, 'There seems to be NO recombination in this alignment' based on AIC, AIC-c, and BIC, while KH Test (BOTH p-values are <0.05) identified several breakpoints. For other gene, a position of best supported breakpoint based on AIC, AIC-c, and BIC was different from any breakpoint positions identified by KH Test.
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: Running SBP from command-line
Reply #20 - Dec 22nd, 2010 at 2:20pm
 
Hi hs,

1). Remember that KH tests two FIXED trees (inferred from the sites left of the breakpoint and those right of the breakpoint). Those are not necessarily the best trees -- in fact they are built by NJ as an approximation. If you see significant KH p-values when one of the partitions is small (e.g. a breakpoint at 10), then all that means is that the tree on that side of the breakpoint is likely unreliable, especially since  AIC, AIC-c and BIC tell us that there is no benefit in using two trees compared to a single tree.

Remember to use KH test only as a follow up to a significant result by AIC-c.

2). Do not use small p-values for KH tests to assess significance.

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
 
hs
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 20
Re: Running SBP from command-line
Reply #21 - Dec 24th, 2010 at 7:29pm
 
2). Do not use small p-values for KH tests to assess significance.
Does 'small p-values' mean small significance levels (e.g. 1% and 0.1%)?

SBP printed the following error when selected '(2):[Run 1]' for 'KH Testing', while SBP worked well when selected '(1):[Skip]' for 'KH Testing'.
##########
Error:
Cannot reuse the filter 'filteredData1' because it is already being used by likelihood function 'lf2', and the two likelihood functions impose different
leaf-to-sequence mapping. Create a copy the filter and pass it to the second likelihood function to resolve this issue.

Function call stack
1 : Construct the following likelihood function:filteredData0 ; givenTree0 ; filteredData1 ; givenTree1 ;
-------
2 : RunASample(individual)
-------
##########
Back to top
 
 
IP Logged
 
Pages: 1 2