Marker Divergence Experiments | ||||||||
Changed: | ||||||||
< < | This workflow implements a method for extracting effective beneficial mutation rates (μ) and selection coefficients (s)from marker divergence experiments [1]. This is a way of parameterizing the evolvability of a bacterial strain. | |||||||
> > | This workflow implements a method for extracting effective beneficial mutation rates (μ) and selection coefficients (s) from marker divergence experiments [1]. This is a way of parameterizing the evolvability of a bacterial strain. | |||||||
Requirements and Installation | ||||||||
Changed: | ||||||||
< < | The Perl scripts require the module Math::Random::MT::Auto and its prerequisites. They can be installed from CPAN. The Math::Random::MT::Auto module has a code component that must be compiled. On many systems you can install these from the command line as follows: | |||||||
> > | The Perl scripts require the module Math::Random::MT::Auto and its prerequisites for random number generation. They can be installed from CPAN. The Math::Random::MT::Auto module has a code component that must be compiled. If you have root access on a system you can probably install these from the command line as follows: | |||||||
| ||||||||
Changed: | ||||||||
< < | answer yes to any prompts about installing prerequisites | |||||||
> > | _answer yes to any prompts about installing prerequisites_ | |||||||
1. Fit α and τ Empirical Parameters from Experimental Data | ||||||||
Added: | ||||||||
> > |
The basic command is:
Input File Data FormatThe input file is a tab-delimited. You should pass the-m option followed by ratio , log_ratio , log10_ratio to this script depending on the format of you data values.
Baseline CorrectionIf some of your experimental curves do not start at a 1:1 ratio of the neutral marker states, you will also want to pass the-b option followed by the number of initial points (not transfers) . The script corrects for the initial marker imbalance by fitting τ and α to a modified equation that accounts for the fact that for a population diverging toward marker state A where A was initially present in less than 50% of the population, the marker ratio will be shifted sooner than in a population where it was initially present in 50% or more of the population.
Corrects for the baseline by taking the average of the first 5 points. | |||||||
2. Generate a Table of establishment probabilities with MATLAB.3. Generate α and τ Values from a Population Genetics Simulation3.1 Generate Simulated Data for a μ and s Combination3.2 Fit α and τ Empirical Parameters from Experimental Data3.3 Helper Script: Automating this Step4 Determine the Effective Parameters where Simulations and Experimental Data Produce the Same Distributions of Empirical ParametersReferences
AcknowledgmentsMany thanks to Noam Shoresh for extensive discussions that made it possible for me to reproduce his methods and providing his raw data to check the results from these tools. |
Marker Divergence ExperimentsThis workflow implements a method for extracting effective beneficial mutation rates (μ) and selection coefficients (s)from marker divergence experiments [1]. This is a way of parameterizing the evolvability of a bacterial strain.
Requirements and InstallationThe Perl scripts require the module Math::Random::MT::Auto and its prerequisites. They can be installed from CPAN. The Math::Random::MT::Auto module has a code component that must be compiled. On many systems you can install these from the command line as follows:
1. Fit α and τ Empirical Parameters from Experimental Data2. Generate a Table of establishment probabilities with MATLAB.3. Generate α and τ Values from a Population Genetics Simulation3.1 Generate Simulated Data for a μ and s Combination3.2 Fit α and τ Empirical Parameters from Experimental Data3.3 Helper Script: Automating this Step4 Determine the Effective Parameters where Simulations and Experimental Data Produce the Same Distributions of Empirical ParametersReferences
AcknowledgmentsMany thanks to Noam Shoresh for extensive discussions that made it possible for me to reproduce his methods and providing his raw data to check the results from these tools. |