ERaBLE: User guide
Prepare two files for an ERaBLE analysis: a reference topology and a collection of gene distance matrices. This guide describes the inputs, settings and results of the ATGC online service.
Reference topology
Upload a plain text file containing exactly one Newick tree, ending with a semicolon. For example:
(A,B,(C,D));
The reference topology must be fully resolved. Each internal node has two children; the top-level node may have two or three. The online service accepts 3 to 500 taxa and a topology file of up to 1 MiB.
Leaf names must be unique and contain only ASCII letters, digits, underscores, dots, plus signs or hyphens. Use exactly the same names in the distance matrices. Names containing spaces or quotes are not accepted.
Existing branch lengths, internal node labels and comments in square brackets are ignored during estimation. A tree may be written across several lines.
Gene distance matrices
Upload one plain text file containing all gene matrices. The first data line gives the gene/matrix count, followed by one matrix per gene. Each matrix contains, in this order:
- An optional commented gene name (e.g.
%Gene 1). - Two integers specifying the taxon count and the alignment length for that gene.
- The actual matrix in PHYLIP format (square or lower triangular).
1%Gene 1
4 100
A 0 0.2 0.4 0.4
B 0.2 0 0.4 0.4
C 0.4 0.4 0 0.2
D 0.4 0.4 0.2 0
In this example, 1 is the number of matrices and 4 100 means four taxa and an alignment of 100 sites. The %Gene 1 line supplies the gene name. If a name is omitted, a default matrix name is used.
Blank lines after the matrix count and between matrices are optional. Gene names can contain spaces. Comment lines may start with %, # or //.
The online service accepts square matrices and lower triangular matrices, with or without diagonal values. A square matrix is the simplest format to check before submission.
Distance requirements
- All values must be finite and non-negative.
- Square matrices must be symmetric, with a zero diagonal.
- Each matrix must contain at least two distinct taxa and one strictly positive distance.
- All matrix taxa must occur in the reference topology.
- Every reference taxon must appear in at least one matrix.
Genes may contain different subsets of taxa, and rows do not need to follow the order of the reference tree. A missing taxon should be omitted from that gene matrix, rather than represented by negative or non-finite distances.
Analysis settings
| Setting | Default | Meaning |
|---|---|---|
| Weights | wseq | Alignment length (wseq): weight each pairwise distance by the gene alignment length. Choose Uniform (ols) to give all pairs equal weight. |
| Constraint | nksumdist | Alignment length × sum of distances (nksumdist). Alternatives are Alignment length (cseq) and Constant (ols). |
| Solver | ldlt | Method used to solve the linear system. Alternatives are llt, QR and LU. |
| Output precision | 12 | Number of significant digits written in the estimated tree and rates, from 3 to 17. |
For a first analysis, use the defaults and check the execution log and scientific diagnostics before interpreting the results.
Submitting an online analysis
To run an online analysis, upload both input files, give the analysis a name, enter and confirm your email address, and submit the form. Follow any email verification instructions displayed by the service. Keep the job link to follow the analysis and retrieve its results.
The file and taxon limits describe accepted inputs. Completion also depends on available computing resources and the size of the analysis.
Understanding the results
The estimated tree retains the reference relationships and adds branch lengths in substitutions per site. The gene rates have an alignment-length-weighted mean of 1: a rate above 1 is faster than the average across the submitted genes, while a rate below 1 is slower.
| File | Contents |
|---|---|
erable.length.nwk | Reference topology with estimated branch lengths. |
erable.rates.tsv | Gene name, alignment length and relative evolutionary rate, in a tab-separated table. |
erable.rates.txt | ERaBLE gene rates with complete original gene names. |
erable.native.rates.txt | Unmodified native output using short internal gene identifiers. |
erable.gene-map.tsv | Mapping between internal identifiers and complete gene names. |
erable.summary.json | Analysis settings, dataset dimensions and warnings. |
erable.warnings.txt | Scientific diagnostics requiring attention. |
output.log | Input validation and execution messages. |
The result page displays the tree and previews up to 200 gene rates. Download the TSV file to examine the complete rate table.
Warnings and input problems
Taxon names do not match
Check spelling and letter case in both files. Every matrix label must match a reference leaf name exactly, and each reference leaf must occur in at least one gene matrix.
Invalid matrix format
Check the matrix count, each taxon count, each alignment length, and the number of values in every row. A regular PHYLIP distance file needs the initial matrix count and the alignment length in each matrix header to become an ERaBLE input file.
Negative branch lengths or non-positive rates
ERaBLE can return such values because its optimization does not constrain every estimate to be positive. The online service preserves the estimates and adds a warning. Review your distances and the suitability of the reference topology before using the results.
The linear system is not invertible
The submitted data may not identify a unique solution. Review taxon overlap among genes and the information available for the reference branches. Non-finite or incomplete scientific outputs cause the online analysis to fail.
Distances of 4.5 or greater
ERaBLE reports these values as a warning about potentially saturated distances. Review the distance estimates and their underlying sequence or tree analysis.
Try the worked examples, return to the ERaBLE overview, or consult the ERaBLE publication.