This file is indexed.

/usr/share/doc/phylip/html/doc/sequence.html is in phylip-doc 1:3.696+dfsg-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>sequence</TITLE>
<META NAME="description" CONTENT="sequence">
<META NAME="keywords" CONTENT="sequence">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY BGCOLOR="#ccffff">
<DIV ALIGN=RIGHT>
version 3.696
</DIV>
<DIV ALIGN=CENTER>
<H1>Molecular Sequence Programs</H1>
</DIV>
<P>
&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
License terms <a href="main.html#copyright">here</a>.
<P>
These programs estimate phylogenies from protein
sequence or nucleic acid sequence data.  Protpars uses a parsimony method 
intermediate between Eck and Dayhoff's
method (1966) of allowing transitions between all amino acids and counting
those, and Fitch's (1971) method of counting the number of nucleotide changes
that would be needed to evolve the protein sequence.  Dnapars uses the 
parsimony method allowing changes between all bases
and counting the number of those.  Dnamove is an interactive parsimony
program allowing the user to rearrange trees by hand and see where
character states change.  Dnapenny 
uses the branch-and-bound method to search for all most
parsimonious trees in the nucleic acid sequence case.  Dnacomp 
adapts to nucleotide sequences the compatibility (largest clique) 
approach.  Dnainvar does not directly estimate a phylogeny, but computes Lake's
(1987) and Cavender's (Cavender and Felsenstein, 1987) phylogenetic invariants,
which are quantities whose values depend on the phylogeny.  Dnaml does a
maximum likelihood estimate of the phylogeny (Felsenstein, 1981a).  Dnamlk
is similar to Dnaml but assumes a molecular clock.  Dnadist
computes distance measures between pairs of species from nucleotide sequences,
distances that can then be used by the distance matrix programs Fitch and
Kitsch. Restml does a maximum likelihood estimate from restriction
sites data.   Seqboot allows you to read in a data set and then produce
multiple data sets from it by bootstrapping, delete-half jackknifing, or
by permuting within sites.  This
then allows most of these methods to be bootstrapped or jackknifed, and
for the Permutation Tail Probability Test of Archie (1989) and Faith and
Cranston (1991) to be carried out.
<P>
The input and output format for Restml is described in
its document files.  In general its input format is similar to
those described here, except that the one-letter codes for restriction sites
is specific to that program and is described in that document file.  Since
the input formats for the eight DNA sequence and two protein sequence
programs apply to more than one program, they are described here.  Their
input formats are standard, making use of the IUPAC standards.
<P>
<H2>INTERLEAVED AND SEQUENTIAL FORMATS</H2>
<P>
The sequences can continue over multiple lines; when this is done the
sequences must be either in "interleaved" format, similar to the
output of alignment programs, or "sequential" format.  These are
described in the main documentation file.  In sequential format all
of one sequence is given, possibly on multiple lines, before the next starts.
In interleaved format the first part of the file should contain the first
part of each of the sequences, then optionally a line containing nothing
but a carriage-return character, then the second part of each sequence,
and so on.  Only the first parts of the sequences should be preceded by
names.  Here is a hypothetical example of interleaved format:
<P>
<TABLE><TR><TD BGCOLOR=white>
<PRE>
  5    42
Turkey    AAGCTNGGGC ATTTCAGGGT
Salmo gairAAGCCTTGGC AGTGCAGGGT
H. SapiensACCGGTTGGC CGTTCAGGGT
Chimp     AAACCCTTGC CGTTACGCTT
Gorilla   AAACCCTTGC CGGTACGCTT

GAGCCCGGGC AATACAGGGT AT
GAGCCGTGGC CGGGCACGGT AT
ACAGGTTGGC CGTTCAGGGT AA
AAACCGAGGC CGGGACACTC AT
AAACCATTGC CGGTACGCTT AA
</PRE>
</TD></TR></TABLE>
<P>
while in sequential format the same sequences would be:
<P>
<TABLE><TR><TD BGCOLOR=white>
<PRE>
  5    42
Turkey    AAGCTNGGGC ATTTCAGGGT
GAGCCCGGGC AATACAGGGT AT
Salmo gairAAGCCTTGGC AGTGCAGGGT
GAGCCGTGGC CGGGCACGGT AT
H. SapiensACCGGTTGGC CGTTCAGGGT
ACAGGTTGGC CGTTCAGGGT AA
Chimp     AAACCCTTGC CGTTACGCTT
AAACCGAGGC CGGGACACTC AT
Gorilla   AAACCCTTGC CGGTACGCTT
AAACCATTGC CGGTACGCTT AA
</PRE>
</TD></TR></TABLE>
<P>
Note, of course, that a portion of a sequence like this:
<P>
   300   AAGCGTGAAC GTTGTACTAA TRCAG
<P>
is perfectly legal, assuming that the species name has gone before, and is
filled out to full length by blanks.  The above
digits and blanks will be ignored, the sequence being taken as starting
at the first base symbol (in this case an A).  This should enable you to
use output from many multiple-sequence alignment programs with only
minimal editing.
<P>
<H2>INPUT FOR THE DNA SEQUENCE PROGRAMS</H2>
<P>
The input format for the DNA sequence programs is
standard: the data have A's, G's, C's and T's (or U's).  The first line of the
input file contains the number of species and the number of sites.  As
with the other programs, options information may follow this.  Following this,
each species starts on a new line.  The first 10
characters of that line are the species name.  There then follows
the base sequence of that species, each character
being one of the letters A, B, C, D, G, H, K, M, N, O, R, S, T, U, V, 
W, X, Y, ?, or - (a period was also previously allowed but it is no longer
allowed, because it sometimes is used in different senses in other
programs).  Blanks will be ignored, and so will numerical
digits.  This allows GENBANK and EMBL sequence entries to be read with
minimum editing.
<P>
These characters can be either upper or lower case.  The algorithms
convert all input characters to upper case (which is how they
are treated).  The characters constitute the IUPAC (IUB) nucleic acid code 
plus some slight
extensions.  They enable input of nucleic acid sequences taking full account
of any ambiguities in the sequence.
<P>
<DIV ALIGN=CENTER>
<TABLE BORDER=0>
<TR><TD ALIGN=LEFT><B>Symbol</B><TD><TD><B>Meaning</B></TD><TD></TD></TR>
<TR><TD></TD><TD></TD></TD></TR>
<TR><TD>A<TD><TD>Adenine</TD><TD></TD></TR>
<TR><TD>G<TD><TD>Guanine</TD><TD></TD></TR>
<TR><TD>C<TD><TD>Cytosine</TD><TD></TD></TR>
<TR><TD>T<TD><TD>Thymine</TD><TD></TD></TR>
<TR><TD>U<TD><TD>Uracil </TD><TD></TD></TR>
<TR><TD>Y<TD><TD>pYrimidine<TD><TD>(C or T)</TD></TR>
<TR><TD>R<TD><TD>puRine<TD><TD>(A or G)</TD></TR>
<TR><TD>W<TD><TD>"Weak"<TD><TD>(A or T)</TD></TR>
<TR><TD>S<TD><TD>"Strong"<TD><TD>(C or G)</TD></TR>
<TR><TD>K<TD><TD>"Keto"<TD><TD>(T or G)</TD></TR>
<TR><TD>M<TD><TD>"aMino"<TD><TD>(C or A)</TD></TR>
<TR><TD>B<TD><TD>not A<TD><TD>(C or G or T)</TD></TR>
<TR><TD>D<TD><TD>not C<TD><TD>(A or G or T)</TD></TR>
<TR><TD>H<TD><TD>not G<TD><TD>(A or C or T)</TD></TR>
<TR><TD>V<TD><TD>not T<TD><TD>(A or C or G)</TD></TR>
<TR><TD>X,N,?<TD><TD>unknown<TD><TD>(A or C or G or T)</TD></TR>
<TR><TD>O<TD><TD>deletion</TD><TD></TD></TR>
<TR><TD>-<TD><TD>deletion</TD><TD></TD></TR>
</TABLE>
</DIV>
<P>
<H2>INPUT FOR THE PROTEIN SEQUENCE PROGRAMS</H2>
<P>
The input for the protein sequence programs is fairly standard.  The first
line contains the
number of species and the number of amino acid positions (counting any
stop codons that you want to include).  These are followed on the same line
by the options.  The only options which
need information in the input file are U (User Tree) and W (Weights).  They are
as described in the main documentation file.  If the W (Weights) option is
used there must be a W in the first line of the input file.
<P>
Next come the species data.  Each
sequence starts on a new line, has a ten-character species name
that must be blank-filled to be of that length, followed immediately
by the species data in the one-letter code.  The sequences must either
be in the "interleaved" or "sequential" formats.  The I option
selects between them.  The sequences can have internal 
blanks in the sequence but there must be no extra blanks at the end of the 
terminated line.  Note that a blank is not a valid symbol for a deletion.
<P>
The protein sequences are given by the one-letter code used by
the late Margaret Dayhoff's group in the Atlas of Protein Sequences,
and consistent with the IUB standard abbreviations.
In the present version it is:
<P>
<DIV ALIGN=CENTER>
<TABLE>
<TR><TD><B ALIGN=CENTER>Symbol</B></TD><TD ALIGN=CENTER><B>Stands for</B></TD></TR>
<TR><TD ALIGN=CENTER></TD><TD ALIGN=CENTER></TD></TR>
<TR><TD ALIGN=CENTER>A</TD><TD ALIGN=CENTER>ala</TD></TR>
<TR><TD ALIGN=CENTER>B</TD><TD ALIGN=CENTER>asx</TD></TR>
<TR><TD ALIGN=CENTER>C</TD><TD ALIGN=CENTER>cys</TD></TR>
<TR><TD ALIGN=CENTER>D</TD><TD ALIGN=CENTER>asp</TD></TR>
<TR><TD ALIGN=CENTER>E</TD><TD ALIGN=CENTER>glu</TD></TR>
<TR><TD ALIGN=CENTER>F</TD><TD ALIGN=CENTER>phe</TD></TR>
<TR><TD ALIGN=CENTER>G</TD><TD ALIGN=CENTER>gly</TD></TR>
<TR><TD ALIGN=CENTER>H</TD><TD ALIGN=CENTER>his</TD></TR>
<TR><TD ALIGN=CENTER>I</TD><TD ALIGN=CENTER>ileu</TD></TR>
<TR><TD ALIGN=CENTER>J</TD><TD ALIGN=CENTER>(not used)</TD></TR>
<TR><TD ALIGN=CENTER>K</TD><TD ALIGN=CENTER>lys</TD></TR>
<TR><TD ALIGN=CENTER>L</TD><TD ALIGN=CENTER>leu</TD></TR>
<TR><TD ALIGN=CENTER>M</TD><TD ALIGN=CENTER>met</TD></TR>
<TR><TD ALIGN=CENTER>N</TD><TD ALIGN=CENTER>asn</TD></TR>
<TR><TD ALIGN=CENTER>O</TD><TD ALIGN=CENTER>(not used)</TD></TR>
<TR><TD ALIGN=CENTER>P</TD><TD ALIGN=CENTER>pro</TD></TR>
<TR><TD ALIGN=CENTER>Q</TD><TD ALIGN=CENTER>gln</TD></TR>
<TR><TD ALIGN=CENTER>R</TD><TD ALIGN=CENTER>arg</TD></TR>
<TR><TD ALIGN=CENTER>S</TD><TD ALIGN=CENTER>ser</TD></TR>
<TR><TD ALIGN=CENTER>T</TD><TD ALIGN=CENTER>thr</TD></TR>
<TR><TD ALIGN=CENTER>U</TD><TD ALIGN=CENTER>(not used)</TD></TR>
<TR><TD ALIGN=CENTER>V</TD><TD ALIGN=CENTER>val</TD></TR>
<TR><TD ALIGN=CENTER>W</TD><TD ALIGN=CENTER>trp</TD></TR>
<TR><TD ALIGN=CENTER>X</TD><TD ALIGN=CENTER>unknown amino acid</TD></TR>
<TR><TD ALIGN=CENTER>Y</TD><TD ALIGN=CENTER>tyr</TD></TR>
<TR><TD ALIGN=CENTER>Z</TD><TD ALIGN=CENTER>glx</TD></TR>
<TR><TD ALIGN=CENTER>*</TD><TD ALIGN=CENTER>nonsense (stop)</TD></TR>
<TR><TD ALIGN=CENTER>?</TD><TD ALIGN=CENTER>unknown amino acid or deletion</TD></TR>
<TR><TD ALIGN=CENTER>-</TD><TD ALIGN=CENTER>deletion</TD></TR>
</TABLE>
</DIV>
<P>
where "nonsense", and "unknown" mean respectively a nonsense (chain
termination) codon and an amino acid whose identity has not been
determined.  The state "asx" means "either asn or asp",
and the state "glx" means "either gln or glu" and the state "deletion"
means that alignment studies indicate a deletion has happened in the
ancestry of this position, so that it is no longer present.  Note that 
if two polypeptide chains are being used that are of different length 
owing to one terminating before the other, they can be coded as (say)
<PRE>
             HIINMA*????
             HIPNMGVWABT
</PRE>
since after the stop codon we do not definitely know that
there has been a deletion, and do not know what amino acid would
have been there.  If DNA studies tell us that there is
DNA sequence in that region, then we could use "X" rather than "?".  Note
that "X" means an unknown amino acid, but definitely an amino acid,
while "?" could mean either that or a deletion.  Otherwise one will usually
want to use "?" after a stop codon, if one does not know what amino acid is
there.  If the DNA sequence has been observed there, one probably ought to
resist putting in the amino acids that this DNA would code for, and one should
use "X" instead, because under the assumptions implicit in either the
parsimony or the distance
methods, changes to any noncoding sequence are much easier than
changes in a coding region that change the amino acid
<P>
Here are the same one-letter codes tabulated the other way 'round:
<P>
<DIV ALIGN=CENTER>
<TABLE>
<TR><TD ALIGN=CENTER><B>Amino acid</B></TD><TD ALIGN=CENTER><B>One-letter code</B></TD></TR>
<TR><TD ALIGN=CENTER></TD><TD ALIGN=CENTER></TD></TR></TD></TR>
<TR><TD ALIGN=CENTER>ala</TD><TD ALIGN=CENTER>A</TD></TR>
<TR><TD ALIGN=CENTER>arg</TD><TD ALIGN=CENTER>R</TD></TR>
<TR><TD ALIGN=CENTER>asn</TD><TD ALIGN=CENTER>N</TD></TR>
<TR><TD ALIGN=CENTER>asp</TD><TD ALIGN=CENTER>D</TD></TR>
<TR><TD ALIGN=CENTER>asx</TD><TD ALIGN=CENTER>B</TD></TR>
<TR><TD ALIGN=CENTER>cys</TD><TD ALIGN=CENTER>C</TD></TR>
<TR><TD ALIGN=CENTER>gln</TD><TD ALIGN=CENTER>Q</TD></TR>
<TR><TD ALIGN=CENTER>glu</TD><TD ALIGN=CENTER>E</TD></TR>
<TR><TD ALIGN=CENTER>gly</TD><TD ALIGN=CENTER>G</TD></TR>
<TR><TD ALIGN=CENTER>glx</TD><TD ALIGN=CENTER>Z</TD></TR>
<TR><TD ALIGN=CENTER>his</TD><TD ALIGN=CENTER>H</TD></TR>
<TR><TD ALIGN=CENTER>ileu</TD><TD ALIGN=CENTER>I</TD></TR>
<TR><TD ALIGN=CENTER>leu</TD><TD ALIGN=CENTER>L</TD></TR>
<TR><TD ALIGN=CENTER>lys</TD><TD ALIGN=CENTER>K</TD></TR>
<TR><TD ALIGN=CENTER>met</TD><TD ALIGN=CENTER>M</TD></TR>
<TR><TD ALIGN=CENTER>phe</TD><TD ALIGN=CENTER>F</TD></TR>
<TR><TD ALIGN=CENTER>pro</TD><TD ALIGN=CENTER>P</TD></TR>
<TR><TD ALIGN=CENTER>ser</TD><TD ALIGN=CENTER>S</TD></TR>
<TR><TD ALIGN=CENTER>thr</TD><TD ALIGN=CENTER>T</TD></TR>
<TR><TD ALIGN=CENTER>trp</TD><TD ALIGN=CENTER>W</TD></TR>
<TR><TD ALIGN=CENTER>tyr</TD><TD ALIGN=CENTER>Y</TD></TR>
<TR><TD ALIGN=CENTER>val</TD><TD ALIGN=CENTER>V</TD></TR>
<TR><TD ALIGN=CENTER>deletion</TD><TD ALIGN=CENTER>-</TD></TR>
<TR><TD ALIGN=CENTER>nonsense (stop)</TD><TD ALIGN=CENTER>*</TD></TR>
<TR><TD ALIGN=CENTER>unknown amino acid</TD><TD ALIGN=CENTER>X</TD></TR>
<TR><TD ALIGN=CENTER>unknown (incl. deletion)</TD><TD ALIGN=CENTER>?</TD></TR>
</TABLE>
</DIV>
<P>
<H2>THE OPTIONS</H2>
<P>
The programs allow options chosen from their menus.  Many of these are as described in the
main documentation file, particularly the options J, O, U, T, W,
and Y.  (Although T has a different meaning in the programs Dnaml and 
Dnadist than in the others).  
<P>
The U option indicates that
user-defined trees are provided at the end of the input file.  This
happens in the usual way, except that for Protpars, Dnapars, Dnacomp, and
Dnamlk, the trees must be strictly
bifurcating, containing only two-way splits, e. g.: ((A,B),(C,(D,E)));.  For 
Dnaml and Restml it must have a trifurcation at its base, 
e. g.: ((A,B),C,(D,E));.  The 
root of the tree may in those cases be placed arbitrarily, since the trees
needed are actually unrooted, though they look different when printed out.  The
program Retree should enable you to reroot the trees without having to
hand-edit or retype them.  For 
Dnamove the U option is not available (although
there is an equivalent feature which uses rooted user trees).
<P>
A feature of the nucleotide sequence programs other than Dnamove
is that they save time and computer memory space by recognizing sites
at which the pattern of bases is the same, and doing their computation only
once.  Thus if we have only four species but a large number of sites, there
are (ignoring ambiguous bases) only about 256 different patterns of
nucleotides (4 x 4 x 4 x 4) that can occur.  The programs automatically
count how many occurrences there are of each and then only needs to do as much
computation as would be
needed with 256 sites, even though the number of sites is actually much
larger.  If there are ambiguities (such as Y or R nucleotides), these are also
handled correctly, and do not cause trouble.  The programs store the full
sequences but reserve other space for bookkeeping only for the distinct
patterns.  This saves space.  Thus the programs will run very effectively
with few species and many sites.  On larger numbers of species,
if rates of evolution are small, many of the sites will be invariant
(such as having all A's) and thus will mostly have one of four patterns.  The
programs will in this way automatically avoid doing duplicate 
computations for such sites.
</BODY>
</HTML>