source: branches/stable/GDE/PHYLIP/doc/pars.html

Last change on this file was 2176, checked in by westram, 21 years ago

* empty log message *

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 10.7 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2<HTML>
3<HEAD>
4<TITLE>pars</TITLE>
5<META NAME="description" CONTENT="pars">
6<META NAME="keywords" CONTENT="pars">
7<META NAME="resource-type" CONTENT="document">
8<META NAME="distribution" CONTENT="global">
9<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
10</HEAD>
11<BODY BGCOLOR="#ccffff">
12<DIV ALIGN=RIGHT>
13version 3.6
14</DIV>
15<P>
16<DIV ALIGN=CENTER>
17<H1>PARS - Discrete character parsimony</H1>
18</DIV>
19<P>
20&#169; Copyright 1986-2000 by the University of
21Washington.  Written by Joseph Felsenstein.  Permission is granted to copy
22this document provided that no fee is charged for it and that this copyright
23notice is not removed.
24<P>
25PARS is a general parsimony program which carries out the Wagner
26parsimony method with multiple states.  Wagner parsimony
27allows changes among all states.  The criterion is to find the tree which
28requires the minimum number of changes.
29The Wagner method was originated by Eck and Dayhoff (1966) and by Kluge and
30Farris (1969).  Here are its assumptions:
31<P>
32<OL>
33<LI>Ancestral states are unknown unknown.
34<LI>Different characters evolve independently.
35<LI>Different lineages evolve independently.
36<LI>Changes to all other states are equally probable (Wagner).
37<LI>These changes are a priori improbable over the
38evolutionary time spans involved in the differentiation of the
39group in question.
40<LI>Other kinds of evolutionary event such as retention of polymorphism
41are far less probable than these state changes.
42<LI>Rates of evolution in different lineages are sufficiently low that
43two changes in a long segment of the tree are far less probable
44than one change in a short segment.
45</OL>
46<P>
47That these are the assumptions of parsimony methods has been documented
48in a series of papers of mine: (1973a, 1978b, 1979, 1981b,
491983b, 1988b).  For an opposing view arguing that the parsimony methods
50make no substantive
51assumptions such as these, see the papers by Farris (1983) and Sober (1983a,
521983b), but also read the exchange between Felsenstein and Sober (1986). 
53<P>
54<H2>INPUT FORMAT</H2>
55<P>
56The input for PARS is the standard input for discrete characters
57programs, described above in the documentation file for the
58discrete-characters programs, except that multiple states (up to 9 of them)
59are allowed.  Any characters other than "?" are allowed as states, up to a
60maximum of 9 states.  In fact, one can
61use different symbols in different columns of the data matrix,
62although it is rather unlikely that you would want to do that.
63The symbols you can use are:
64<UL>
65<LI>The digits <TT>0-9</TT>,
66<LI>The letters <TT>A-Z</TT> and <TT>a-z</TT>,
67<LI>The symbols <TT>"!\"#$%&'()*+,-./:;<=>?@\[\\]^_`\{|}~</TT><BR>
68    (of these, probably only + and - will be of interest to most users).
69</UL>
70But note that these do <I>not</I> include blank (" ").  Blanks in the
71input data are simply skipped by the program, so that they can be used to
72make characters into groups for ease of viewing.
73The "?" (question mark) symbol has special meaning.  It is allowed in the
74input but is not available as the symbol of a state.  Rather, it means that
75the state is unknown.
76<P>
77PARS can handle both bifurcating and multifurcating trees.  In doing its
78search for most parsimonious trees, it adds species not only by creating new
79forks in the middle of existing branches, but it also tries putting them at
80the end of new branches which are added to existing forks.  Thus it searches
81among both bifurcating and multifurcating trees.  If a branch in a tree
82does not have any characters which might change in that branch in the most
83parsimonious tree, it does not save that tree.  Thus in any tree that
84results, a branch exists only if some character has a most parsimonious
85reconstruction that would involve change in that branch.
86<P>
87It also saves a number of trees tied for best (you can alter the number
88it saves using the V option in the menu).  When rearranging trees, it
89tries rearrangements of all of the saved trees.  This makes the algorithm
90slower than earlier programs such as MIX.
91<P>
92The options are selected using a menu:
93<P>
94<TABLE><TR><TD BGCOLOR=white>
95<PRE>
96
97Discrete character parsimony algorithm, version 3.6
98
99Setting for this run:
100  U                 Search for best tree?  Yes
101  S                        Search option?  More thorough search
102  V              Number of trees to save?  100
103  J   Randomize input order of sequences?  No. Use input order
104  O                        Outgroup root?  No, use as outgroup species  1
105  T              Use Threshold parsimony?  No, use ordinary parsimony
106  W                       Sites weighted?  No
107  M           Analyze multiple data sets?  No
108  I          Input sequences interleaved?  Yes
109  0   Terminal type (IBM PC, ANSI, none)?  (none)
110  1    Print out the data at start of run  No
111  2  Print indications of progress of run  Yes
112  3                        Print out tree  Yes
113  4          Print out steps in each site  No
114  5  Print character at all nodes of tree  No
115  6       Write out trees onto tree file?  Yes
116
117  Y to accept these or type the letter for one to change
118</PRE>
119</TD></TR></TABLE>
120<P>
121The Weights (W) option
122takes the weights from a file whose default name is "weights".  The weights
123follow the format described in the main documentation file, with integer
124weights from 0 to 35 allowed by using the characters 0, 1, 2, ..., 9 and
125A, B, ... Z.
126<P>
127The User tree (option U) is read from a file whose default name is
128<TT>intree</TT>.
129The trees can be multifurcating. They must be preceded in the file by a
130line giving the number of trees in the file.
131<P>
132The options J, O, T, and M are the usual Jumble, Outgroup,
133Threshold parsimony, and Multiple Data Sets options,
134described either
135in the main documentation file or in the Discrete Characters Programs
136documentation file.
137<P>
138The M (multiple data sets option) will ask you whether you want to
139use multiple sets of weights (from the weights file) or multiple data sets.
140The ability to use a single data set with multiple weights means that
141much less disk space will be used for this input data.  The bootstrapping
142and jackknifing tool Seqboot has the ability to create a weights file with
143multiple weights.
144<P>
145The O (outgroup) option will have no effect if the U (user-defined tree)
146option is in effect.
147The T (threshold) option allows a continuum of methods
148between parsimony and compatibility.  Thresholds less than or equal to 1.0 do
149not have any meaning and should
150not be used: they will result in a tree dependent only on the input
151order of species and not at all on the data!
152<P>
153<H2>OUTPUT FORMAT</H2>
154<P>
155Output is standard: if option 1 is toggled on, the data is printed out,
156with the convention that "." means "the same as in the first species".
157Then comes a list of equally parsimonious trees.
158Each tree has branch lengths.  These are computed using an algorithm
159published by Hochbaum and Pathria (1997) which I first heard of from
160Wayne Maddison who invented it independently of them.  This algorithm
161averages the number of reconstructed changes of state over all sites a
162over all possible most parsimonious placements of the changes of state
163among branches.  Note that it does not correct in any way for multiple
164changes that overlay each other.
165<P>
166If option 2 is
167toggled on a table of the
168number of changes of state required in each character is also
169printed.  If option 5 is toggled
170on, a table is printed
171out after each tree, showing for each  branch whether there are known to be
172changes in the branch, and what the states are inferred to have been at the
173top end of the branch.  This is a reconstruction of the ancestral sequences
174in the tree.  If you choose option 5, a menu item D appears which gives you
175the opportunity to turn off dot-differencing so that complete ancestral
176sequences are shown.  If the inferred state is a "?",
177there will be multiple
178equally-parsimonious assignments of states; the user must work these out for
179themselves by hand.
180If option 6 is left in its default state the trees
181found will be written to a tree file, so that they are available to be used
182in other programs.
183<P>
184If the U (User Tree) option is used and more than one tree is supplied, the
185program also performs a statistical test of each of these trees against the
186best tree.  This test, which is a version of the test proposed by
187Alan Templeton (1983) and evaluated in a test case by me (1985a).  It is
188closely parallel to a test using log likelihood differences
189due to Kishino and Hasegawa (1989), and
190uses the mean and variance of
191step differences between trees, taken across sites.  If the mean
192is more than 1.96 standard deviations different then the trees are declared
193significantly different.  The program
194prints out a table of the steps for each tree, the differences of
195each from the best one, the variance of that quantity as determined by
196the step differences at individual sites, and a conclusion as to
197whether that tree is or is not significantly worse than the best one.
198It is important to understand that the test assumes that all the discrete
199characters are evolving independently, which is unlikely to be true for
200many suites of morphological characters.
201<P>
202Option 6 in the menu controls whether the tree estimated by the program
203is written onto a tree file.  The default name of this output tree file
204is "outtree".  If the U option is in effect, all the user-defined
205trees are written to the output tree file.
206<P>
207<HR>
208<P>
209<H3>TEST DATA SET</H3>
210<P>
211<TABLE><TR><TD BGCOLOR=white>
212<PRE>
213     5    6
214Alpha     110110
215Beta      110000
216Gamma     100110
217Delta     001001
218Epsilon   001110
219</PRE>
220</TD></TR></TABLE>
221<P>
222<HR>
223<P>
224<H3>TEST SET OUTPUT (with all numerical options on)</H3>
225<P>
226<TABLE><TR><TD BGCOLOR=white>
227<PRE>
228
229Discrete character parsimony algorithm, version 3.6
230
231
232One most parsimonious tree found:
233
234
235                 +Epsilon   
236       +---------3 
237  +----2         +--------------Delta     
238  |    | 
239  |    +Gamma     
240  | 
241  1---------Beta     
242  | 
243  +Alpha     
244
245
246requires a total of      8.000
247
248  between      and       length
249  -------      ---       ------
250     1           2       0.166667
251     2           3       0.333333
252     3      Epsilon      0.000000
253     3      Delta        0.500000
254     2      Gamma        0.000000
255     1      Beta         0.333333
256     1      Alpha        0.000000
257
258steps in each site:
259         0   1   2   3   4   5   6   7   8   9
260     *-----------------------------------------
261    0|       1   1   1   2   2   1           
262
263From    To     Any Steps?    State at upper node
264                             ( . means same as in the node below it on tree)
265
266          1                110110
267   1      2         yes    .0....
268   2      3         yes    0.1...
269   3   Epsilon      no     ......
270   3   Delta        yes    ...001
271   2   Gamma        no     ......
272   1   Beta         yes    ...00.
273   1   Alpha        no     ......
274
275
276</PRE>
277</TD></TR></TABLE>
278</BODY>
279</HTML>
Note: See TracBrowser for help on using the repository browser.