Alternatively, source code (C++) for UNIX and LINUX is also available for download here:
[rate4site.3.2.source.zip].
Note, that these may be somewhat less updated than the above ftp site.
The makefile within can be used to compile the executable (by typing the make command). Alternatively, type: g++ -o rate4site.exe
-O3 *.cpp.
The Rate4Site program may suffer from underflow problems when a large number of sequences are used (typically more than 200).
To bypass this problem Rate4Site can be compiled using the Makefile_slow file.
The executable produced when compiling with this option can handle a larger number of sequences but is slower.
Windows executable: rate4site_slow.exe (You may need to add the extension .exe before running)
If there are problems with the compilations (occasionally, with old version of
g++) - please email me and I'll try to help. To modify the code, or use parts
of it for other purposes, permission is requested. Please contact Tal Pupko at
talp@post.tau.ac.il
Flag | Description | Default |
-s [MSA file] |
The input sequence file name.
The following formats are supported: Mase, Molphy, Phylip, Clustal, Fasta | Obligatory |
-t [tree file] | The input tree file name (in Newick format) | An NJ tree is constructed |
-o [output file] | The results output file | r4s.res |
-a [sequence name] | Reference sequence name in the MSA. The conservation scores are printed based on the amino-acids in this sequence. | First sequence in the MSA |
-i [rate inference method] |
Rate inference method flag: -Im = rates are inferred using the maximum likelihood method -Ib = rates are inferred using the empirical Bayes method | -Ib |
-k [categories number] | The number of discrete Gamma categories | 16 |
-m [evolutionary model] |
The following amino-acids models are supported: DAY (-md), JTT (-mj), REV (-mr), aaJC (-ma), LG (-Ml), WAG (-Mw) . For nucleotides, the following models are supported: JC (-mn), HKY (-Mh), Tamura92 (-Mt), GTR (-Mg). | -mj |
-b [branch-lengths optimization] |
Branch lengths optimization flag: -bn = no Branch lengths optimization -bh = optimization using a homogenous model (no among-site-rate-variation) -bg = optimization using a Gamma model | -bg |
-z [tree constructing method] |
-zj = Neighbor-joining tree with Jukes-Cantor distances -zn = Neighbor-joining tree with maximum likelihood distances | -zn |
-h | help |