resultsAllTopos.out
resultsStringToIntegerTranslator.out
results_histo.out
results_par.out
results_sample_size.out
results_ACT_Neff.out
results_kullback_mean.out
results_entropy.out, results_kullback_mode.out
dna.dat
4 100
Species_1
GGAACTCAGTCCGTAACCAGCTAATTCTTCTATCAAGGTAGACTCCCGTC
TGGGTGGTTGAGCGCTGTCAAGCCAGCTGGCAATGCATTCAGGCGGCATC
Species_2
GGAACTCAATACGTAGTCAGCTAATGCTTCTATCAAGTTAGACTCCCGTC
TGGGTGATTGAGCGCTGTCAAGCCGACCGGCAATGCACGCACGCGGCATG
Species_3
GGAATTACATCTGTAGCCAGTCAATGCTTCGAACAAGTTTCACTGTTTTC
AAGTTGGTTGATCGCTTCCGAGCCGGCTTTCGACGCTTTCACTAAGCACC
Species_4
GGATCTCCGTTTGTAGCCAGTACATGCTTTCACCAACATACGCGTCTCCG
AAGTTGGTTGATCGCTTCCGAGCCGGCTTTCGACGCTTTCACTAAGCACC
Important: Do not change the name of this file!
in
Example:
1 500 10
A window of length 500 bases is moved along the alignment with a step size of 10 bases. Leave the first number unchanged.
infile
data-file=dna.in # file name
file-root=run1 # root name for output files
JAMBE can deal with Version 1.01 and Version 2.02 of
BAMBE.
(Other versions might be o.k., but I have not tested this).
Here are standard forms of the BAMBE
run control file infile:
infile, BAMBE Version 1.01
infile, BAMBE Version 2.02
infile, BAMBE, most recent version
Note that the most recent version might not be supported by JAMBE. Also, make sure that you understand the various options of these files and do not use the default values blindly! Click here to get the version that I used for the example.
JAMBE reads in a DNA sequence alignment from file
dna.dat and writes out
moving windows along the alignment to file
dna.in. The subalignments in dna.in
are read in from BAMBE, which writes the results out into
various files starting with the prefix run1.
These files are read in by JAMBE for the computation of the
entropy and the probabilistic divergence measures.
resultsAllTopos.out
JambeAnalyseTopos.java.
resultsStringToIntegerTranslator.out
JambeAnalyseTopos.java translates the topology strings of file
resultsAllTopos.out
to integer numbers. This file, resultsStringToIntegerTranslator.out, contains a translation table.
Here is an example for four taxa:
1 : (1,(2,(3,4)))
2 : (1,((2,4),3))
3 : (1,((2,3),4))
results_histo.out
JambeAnalyseTopos.java,
contains the posterior
probabilities of the topologies for the different window
positions.
Here is an example:
0.897 0.047 0.056
0.899 0.045 0.056
0.525 0.051 0.424
0.555 0.031 0.414
0.549 0.036 0.415
0.479 0.056 0.465
The rows represent different window positions. The difference
between the centres of two adjacent windows is given by
the step size, which can be looked up in
results_par.out.
The columns represent topologies. Here, we have three topologies,
which are numbered from 1 to 3 as we go from left to right.
To see which topologies these numbers represent, have a look
at resultsStringToIntegerTranslator.out.
results_par.out
500
10
This indicates that a window of length 500 bases has been moved along the alignment in step sizes of 10 bases.
results_sample_size.out
chi2 depends on it.
This file is generated with the Java class
BambeInfile.
results_ACT_Neff.out
Neff, is smaller than the total sample
size, N. An approximate formula is
Neff= N/(2 tau), where tau
is the autocorrelation or relaxation time
(i.e. the time after which the
autocorrelation function has decrease by a factor of 1/e).
This file, which is generated with AutoCorrelationTime.java,
contains a line with five numbers, e.g.:
| 112 | 114 | 500 | 2.182 | 0.045 |
The first two numbers give the
effective sample size,
Neff, computed from the exact formula
(112), and the approximate formula shown above (114),
respectively.
The third number shows the total sample size,
N.
Finally, the last two number show the average
relaxation time tau
(2.182) and its standard error (0.045).
results_kullback_mean.out
results_entropy.out, results_kullback_mode.out