0) Copyrights
Copyright (c) 1999-2002, by Mathieu Blanchette and Martin Tompa.
All rights reserved. Redistribution is not permitted without
the express written permission of the authors.
1) Description of the program
FootPrinter is a program that performs phylogenetic footprinting. It takes as input a set of unaligned orthologous sequences from various species, together with a phylogenetic tree relating these species. It then searches for short regions of the sequences that are highly conserved, according to a parsimony criterion. The regions identified are good candidates for regulatory elements. By default, the program searches for regions that are well conserved across all of the input sequences, but this can be relaxed to find regions conserved in only a subset of the species. The algorithms used by FootPrinter are described in [1], and examples of results it produced are discussed in [2].
The simplest way to use FootPrinter is to access it via our web
server. You may also want to download
FootPrinter to run it on your own machine.
For now, FootPrinter is only available for Unix/Linux and for Windows. After downloading
the program, follow these instructions:
On Unix/Linux
gunzip FootPrinter2.0.tar.gz
tar -xvf FootPrinter2.0.tar
cd FootPrinter2.0
make (except on Alphas: make -f Makefile.alpha)
On Windows
Simply unzip the FootPrinter2.0.zip file using Winzip.
When you run FootPrinter on your own machine, the following command line should be used:
FootPrinter <input_sequences> <phylogenetic_tree> [options...]
where:
1. Input
sequences
FootPrinter takes as input a set of orthologous or paralogous sequences
in which you want to find motifs. The input sequences must all be listed
in the same file, in FASTA format. See example.fasta
for
an example. If the sequence contains characters other than a,c,g or t,
any motif that overlaps with one of these characters will be ignored. The name of each
sequence (the first word after ">") must correspond to the name of some
species in the phylogenetic tree (see (2)).
2. Phylogenetic
tree
FootPrinter uses a phylogenetic tree to evaluate the parsimony score
of each potential motif. Motifs that have low parsimony scores on the given
phylogenetic tree are reported.
FootPrinter comes with a default phylogenetic tree (the file called
tree_of_life), which contains several eukaryote species. See the file nice_tree_of_life
for a more readable format. If the sequences you are using come from species
listed in this tree, you do not need to provide your own tree. Just make
sure that the names of your sequences correspond to the names of the species
in the tree. If you need to provide your own tree, the phylogenetic tree
is given in the standard bracket format, also used by
the PHYLIP package. Only leaves are labeled, with the name
of the species. Species names followed by * will match any name starting
with the given prefix. Branch lengths can be specified (branch lengths
are used only when the -losses option is used). The phylogeny can contain
more species than just those specified in the sequence file. In that case,
unused species will be removed from the tree and branch lengths will be
adjusted accordingly. All text that follows // on the same line will
be considered as comments and will be ignored. See this example.
3. Sequence
type
Choose among "upstream", "downstream", or "other". The sequence type
only matters when the options (10) and (11) are used. For upstream sequences,
the 3' ends of the sequences are assumed to be aligned, whereas for downstream
or other sequences, the 5' end is assumed to be aligned.
Command line option: -sequence_type <upstream, downstream, or other>
Default value : upstream
Valid range: 4 to 16.
Typical values: 6 to 12.
4. Motif
size:
Specifies the size of the motifs sought. FootPrinter will report all
regions of the given size that have at most the parsimony score specified
in (5).
Command line option: -size <integer>
Default value : 8.
Valid range: 4 to 16.
Typical values: 6 to 12.
5. Maximum
Parsimony score:
The maximum parsimony score allowed for the motifs. If the maximum
parsimony score allowed is small, FootPrinter will run quickly and report
only the most conserved motifs. We suggest starting with a small parsimony
score, and increasing it later until the desired number of motifs is reported.
Command line option: -max_mutations <float>
Default value: 2.
Valid range: 0 to 20.
Typical values: 0 to 6, depending on the motif size and on the divergence
of the input sequences.
6. Maximum
number of mutations per branch:
Allows at most a fixed number of mutations per branch of the tree.
Setting this number to a small constant like one or two has a number of
advantages: it considerably reduces the running time, and reduces the incidence
of some types of spurious motifs.
Command line option: -max_mutations_per_branch <float>
Default: Option not used.
Valid range : 0 to 20.
Typical values: 1 to 2.
7. Allow regulatory
element losses:
FootPrinter can find regulatory elements even
if some species do not contain those regulatory elements. When this option
is used, FootPrinter first approximates the lengths of each branch of
your tree, and then compares the parsimony score of a motif to the total branch length
of the tree spanned by the species containing that motif.
For the downloadable version of FootPrinter, this option is subsumed by option (8).
8. Spanned
tree significance level:
When regulatory element losses are allowed, the parsimony score of
a motif is compared to the total branch length of the tree spanned by the species containing
the motif.
For the web version of FootPrinter, we have precomputed these lengths
so that the motifs reported are statistically significant. You have the
choice of three significance levels: "Very significant" will only report
motifs that are the most significant, while "Significant" and "Somewhat
significant" will report more motifs.
Default: "Significant".
If you are running FootPrinter on your own machine, you must specify
the constraints on the parsimony score and span of the motifs to reported.
These constraints are specified in a file like example.config
. This file contains a list of pairs of the form (0,span_0) (1,span_1)
(2, span_2)... (n, span_n), which specifies that you want to have reported
all motifs with score 0 that span a tree of total branch length at least span_0, and
all those with parsimony score 1 spanning a tree of length at least span_1,
etc. For this option to be used, you need to either (i) provide branch
lengths with the phylogenetic tree that you give as input, or (ii) use
the -compute_branch_lengths option, which will estimate these branch lengths
from your sequences. A set of *.config files are included with the package.
These files give span constraints so that the motifs reported are statistically
significant. For a motif of size X, three files are provided: universalXloose.config
, universalX.config and universalXtight.config, which will respectively
report motifs that are somewhat significant, significant or very significant,
approximatively corresponding to p-values of 0.2, 0.1 and 0.05 respectively.
These files should be used only when the -compute_branch_lengths option
is used.
These files are provided only for your convenience and may under- or
over-estimate the statistical significance of motifs in your data set.
Command line option: -losses <file>
Default: Not used.
9. Motif
loss cost:
When regulatory elements losses are allowed, a cost can be associated
with losing a motif along some branch of the tree. This cost is added to
the parsimony score of the solution.
Command line option: -loss_cost <float>
Valid range: 0 to 20.
Typical values: 0 to 2.
Default: Option not used.
10. Subregion
size:
In some case, you may want to penalize motifs whose position in the
sequences varies too much. This is done using this option, together with
option (11).
The subregion size option divides the input sequences into subregions
of the given size, and penalizes motifs that occur in different subregions. The cost of changing subregion is given
by option (11).
Command line option: -subregion_size <integer>
Valid range: 1 to +infinity.
Typical values: 20 to 200 (in general, We set it to about one tenth
of the sequence length).
Default: Option not used.
11.
Subregion change cost:
Cost for changing subregion. See option (10). This cost is added to
the parsimony score of the solution.
Command line option: -position_change_cost <float> :
Default: Option not used.
Valid range: 0 to 20.
Typical values: 0 to 2.
Options specific to the downloadable version of FootPrinter.
In the downloadable version of FootPrinter, various filtering strategies
(option (12), (13), (14)) can be used to greatly improve the running time
and space. These options can only be used if regulatory elements losses (see (7)-(9))
are not allowed.
12. Triplet filtering
Performs a pre-filtering step that removes from
consideration any substring that doesn't have a sufficiently good pair
of matching substrings in some pair of the other input sequences. This
is often very effective for reducing the memory used by the program. However,
in some case (e.g. too large maximum parsimony score), it may greatly increase
the running time. Still, in general, it is worth using this option.
N.B.: The solutions returned will be the same whether this option is used
or not. This option cannot be used when motif losses are allowed.
Command line option: -triplet_filtering
Default: Not used.
13. Pair filtering
Same as triplet filtering, but looks only for
one match per other sequence. This filtering takes less time, but is much
less stringent. This option cannot be used when motif losses are allowed.
Command line option: -pair_filtering
Default: Not used.
14. Post-filtering
When used in conjunction with the triplet filtering
option, this often significantly speeds up the program, while still garanteeing
optimal results.
Command line option: -post_filtering
Default: Not used.
15. Insertion and deletion cost
If this option is specified, insertions and deletions will be allowed
in the motifs sought, at the given cost. NB: This slows down the program
by a factor of 10 to 20.
Command line option: -indel_cost <float>
Default: Not used.
Valid range: 1 to 5.
Typical values: 1 to 5.
16. Inversion cost
This option allows for motifs to undergo inversions, at the given cost. An inversion reverse-complements the motif.
Command line option: -inversion_cost <float>
Default: not used.
Valid range: 1 to 5.
17. No .*** output.
Command line option:
-no_html : Doesn't produce the html files.
-no_interactive_html: Doesn't produce the (numerous) files needed to
make the html output interactive.
-no_ps: Doesn't produce the postscript files.
-no_txt: Doesn't produce the text files.
18. Computation details
Command line option: -details: Shows some of the details about the progress of the computation. This is useful to get an estimate of how long the program is going to run.
Four types of output files are produced.
1) Standard
output
Standard output produces basic information on the input sequences and options
used. If the -details option is used, those details appear here. The motifs found are NOT reported here, but rather in the HTML and PostScript files.
2) HTML
output
The HTML output is the best way to view the results of FootPrinter.
The file contains a graphical representation of the motifs found. Motifs
are highlighted in colors. Motifs that
overlap in exactly the same manner in each of the input sequences are merged
and shown as only one motif. If there are a large number of motifs found,
the color representation can be a bit messy. To help sort things out, you
can click on any colored region of any sequence and the corresponding
regions in other species will be underlined and the position of those regions
will be highlighted in the graphical representation. Moreover, if regulatory
elements losses are allowed, the tree spanned by the species containing
the motif will be highlighted. To come back to the original representation,
click the motif again. Only one motif at a time can be highlighted.
The parsimony score of a motif is shown
through the size of the font: the larger the font, the fewer mutations
the motif contains. When you move the mouse over the highlighted regions,
the score, position, evolutionary span and significance score of the region
appears in the lower left corner of the browser. A high significance score
means that the motif is unexpectedly well conserved. The scores reported are those for the most significant motif overlapping with the position selected. Thus, these scores do not directly correspond to the color representation, which was obtained after merging motifs.
3) PostScript
output
Another way to look at the output is through the postscript file called
*.seq.ps, a postscript view of the html sequence file. This file can be
printed (whereas there may be some problems with printing the HTML
file from Netscape). The file *.orders.ps shows an abstract view of the
set of motifs found. Here, each motif is labeled with one letter.
4) Text
output
The text output file *.seq.txt contains almost the same information
as the HTML file, but in a simpler representation. The first line below
the sequences corresponds to the number of mutations found in the
best motif overlapping with that position. The second line below the sequence
corresponds to the identity of the motif (the corresponding motif in other
sequences will have the same identity number).
FootPrinter example.fasta tree_of_life -max_mutations 2 -size 12 -triplet_filtering -post_filtering -sequence_type downstream
FootPrinter example2.fasta tree_of_life -max_mutations 3 -size 10 -details -sequence_type upstream
FootPrinter example2.fasta tree_of_life -size 10 -max_mutations 4 -details -subregion_size 100 -position_change_cost 1 -max_mutations_per_branch 1
FootPrinter example.fasta tree_of_life -max_mutations 2 -size 12 -max_mutations_per_branch 1 -indel_cost 1 -details -sequence_type downstream
FootPrinter example.fasta tree_of_life -size 12 -losses universal12tight.config -compute_branch_lengths -max_mutations 2 -details -sequence_type downstream -loss_cost 1
FootPrinter example.fasta tree_of_life -size 10 -inversion_cost 1 -details -sequence_type downstream -no_html_interactive
The program FootPrinter is based on the following papers:
[1] "Algorithms for phylogenetic footprinting", by Mathieu Blanchette, Benno Schwikowski, and Martin Tompa. Journal of Computational Biology 9(2):211-223. 2002.
[2] "Discovery of regulatory elements by a computational method for phylogenetic footprinting", by Mathieu Blanchette and Martin Tompa. Genome Research 12(5):739-748. 2002.
[3] "An
exact algorithm for finding motifs in orthologous sequences from multiple
species" by Mathieu Blanchette, Benno Schwikowski, and Martin Tompa,
Eight International Conference on Intelligent Systems for Molecular
Biology, La Jolla, USA, 37-45. 2001.
[4] "Algorithms for phylogenetic footprinting", by Mathieu Blanchette, RECOMB 2001, Montreal, Canada. 2001.
Mathieu Blanchette
blanchem@cs.washington.edu
Martin Tompa
tompa@cs.washington.edu
Department of Computer Science
University of Washington
Seattle, WA 98195-2350