/ ************************************** / * sample.dsp.txt * / * sample input file for phyloBreakA2 * / * Chih-Horng Kuo * / * chkuo@uga.edu * / * 05/12/2004 * / ************************************** / This file is a sample input file for phyloBreakA2 / "/" is the comment symbol, / any line starts with "/" will be ignored by the program / / The following instruction lines (lines that do not start with a "/") / include all settings required for the program. / Each instruction line starts with a instruction symbol / (to tell the program what does the number in this line mean) / and the actual parameter value. / Preferably the instruction symbol and parameter value(s) / are separated by a tab or space (to improve readibility). /////////////////////////////////////////////////////////// / "#" is the symbol used to indicate number of iterations / the following line tells the program to run 10 iterations / (using the same parameter values) # 10 /////////////////////////////////////////////////////////// / "*" is the symbol used to indicate population size and sampling settings / the following line tells the program that: / (1) population size (N) = 50 / (2) number of location sampled = 6 / (3) number of individuals sampled per location = 4 * 50 6 4 /////////////////////////////////////////////////////////// / "|" is the symbol used to indicate boundary and barrier settings / The first value followed "|" is the option for boundary and barrier types / Three different boundary type are available / Three possible values for this option setting: / optBoundary==1: ring-shaped habitat / if the determined movement crosses the boundary, / the indiviudal will come out from another end of the habitat / if a barrier presents, the habitat is divided into 2 separate rings / optBoundary==2: absorbing boundaries / if the determined movement crosses the boundary, / the individual will stay at the edge / optBoundary==3: reflective boundaries / if the determined movement crosses the boundary, / the individual will move toward the boundary, / and then bounce back toward the oppisite direction / The second value is position of the geographic barrier / Note that the habitat array ranges from 0 to (N-1) / In this example, the possible position for any individual is / a value between 0 and 49. / A barrier position of 25 specifies that / position 0-24 are on one side of the barrier / and position 25-49 on the other / The third value is duration of the barrier / / The following line tells the program that / (1) use reflecting boundary setting / (2) set barrier position to 25 (in the center of the habitat) / (3) the barrier was formed 10 generations ago | 3 25 10 /////////////////////////////////////////////////////////// / "^" is the symbol used to indicate how many entries (possible movements) / are included in the dispersal probability table / The following line tells the program that there are 5 entries ^ 5 /////////////////////////////////////////////////////////// / "@" is the symbol used to indicate / the beginning of the dispersal probability table / The dispersal probability table lists the cumulative probability / for each possible movement. / Each entry of the dispersal probability table include / (1) the movement value (negative - to the left, positive - to the right) / (2) the cumulative probability for that movement value / It is important that the last entry should have a cumulative prob of 1, / otherwise the program will display an error message and quit. / In the following example, an individual has / (1) a 0.05 probability of moving 2 steps to the left (movement=-2) / (2) a 0.20 probability of moving 1 steps to the left (movement=-1) / (3) a 0.50 probability of staying at the same position (movement=0) / (4) a 0.20 probability of moving 1 steps to the right (movement=1) / (5) a 0.05 probability of moving 1 steps to the right (movement=2) @ -2 0.05 -1 0.25 0 0.75 1 0.95 2 1