RAxML-NG icon

RAxML-NG

(v2.0.2)Code (opens in a new tab)Paper (opens in a new tab)Docs

Infer maximum-likelihood phylogenetic trees from aligned protein, DNA, or binary character data with bootstrap support.

Alignment input
FASTA / PHYLIPNative alignment parser

Output

Configure inputs to begin

Set options on the left, then click “Infer Tree”.

What is RAxML-NG?

RAxML-NG infers phylogenetic trees from an existing multiple sequence alignment using maximum likelihood. It is the current-generation rewrite of RAxML and ExaML, built for faster likelihood calculations, more stable optimization, and large alignments where branch support still matters.

The practical point of RAxML-NG is not just tree building. It is tree building under explicit evolutionary models, with branch lengths, likelihood scores, and bootstrap support that can stand up in downstream comparative analyses. That makes it a better fit than approximate methods when the topology will be interpreted biologically or used in a manuscript.

ProteinIQ runs the verified RAxML-NG 2.0.2 release. This release includes fixes for automatic model selection during bootstrapping, bootstrap support metrics, and alignment-format detection that are not present in the older 2.0.0 binary.

This tool expects an alignment, not raw sequences. If the sequences are not already aligned, start with MAFFT, MUSCLE5, or Clustal Omega before running tree inference.

How does RAxML-NG work?

RAxML-NG searches tree space for the topology and branch lengths that maximize the likelihood of the observed alignment under a substitution model. In practice, that means comparing many candidate trees, optimizing branch lengths and model parameters, and keeping the trees that improve the score.

The rewrite improved several pieces of the original RAxML search procedure. The published implementation fixes missed topological moves from earlier versions, improves optimization for models such as LG4X, adds transfer bootstrap expectation (TBE), and reports terraces in tree space when the data structure implies many equally scoring topologies. It also incorporates site-repeat optimizations and parallelization improvements that matter on taxon-rich datasets.

One consequence of maximum likelihood inference is that alignment quality dominates the final result. RAxML-NG can optimize a tree very efficiently, but it cannot rescue a poor alignment, mixed paralogs, or a nucleotide alignment forced into a protein model.

How to use RAxML-NG online

RAxML-NG runs on ProteinIQ from a pre-aligned protein, DNA, or binary character dataset in FASTA or PHYLIP format, or use the native parser for CATG, VCF, compressed variant files, and RBA input. Submit the alignment, choose whether to run ML search, bootstrapping, or both, and the job returns every native result file written by RAxML-NG, including Newick trees, model information, binary alignment/checkpoint data, reduced alignments when needed, and the execution log.

Inputs

InputDescription
AlignmentOne aligned protein, DNA, or binary (0/1) dataset in FASTA, PHYLIP, or plain text containing one of those formats. At least 4 sequences with unique, Newick-compatible taxon names are required.
Model fileRequired in partition model mode. Upload native model and site-range definitions as .txt.
Constraint treeOptional Newick topology constraint in .newick or .txt, for search or combined mode.
Site weightsOptional .txt file of positive integer alignment-column weights.
Job nameOptional label for the submitted job in the ProteinIQ interface.

Each uploaded file can contain up to 50 MiB. Standard FASTA uses the taxon name before the first space in its header; the rest is a description. Long-label FASTA mode replaces spaces with underscores. Submitted file bytes are retained.

For Native alignment parser, choose CATG, VCF, or RBA in Alignment parser. Upload CATG as .txt, VCF as .vcf, compressed variant bytes as .gz, and binary alignments as .rba. Choose the sequence type or a custom/partition model explicitly; use Model embedded in RBA for an RBA file. RAxML-NG checks these inputs before inference and requires at least four taxa. Native-check files are also available to download.

Settings

SettingDescription
Analysis modeML tree search, Bootstrapping only, or ML search + bootstrapping. ML search is the native default.
Sequence typeAuto-detect from alignment, Protein, DNA, Binary (0/1), or explicit multistate/10-state diploid data with a custom model. A custom GT16 model can infer its data type with automatic sequence type. Auto-detection recognizes binary matrices directly when their observed states are 0 and 1. Short nucleotide alignments made only of A, C, G, and N may need manual selection.
Model modeAutomatic (AA, DNA, or BIN) asks RAxML-NG to select a model within the chosen family. Custom model string passes an explicit model such as GTR+G, LG+G8+F, or BIN+FO. Partition mode reads the supplied model file; embedded mode reads the RBA model. The result summary reports the effective optimized model from the native bestModel file.
Custom modelRequired only when Model mode is set to custom. Useful when a manuscript or lab workflow needs a specific model string instead of the family default.
Starting treeauto, adaptive, parsimony/random selectors, or a comma-separated mixture such as pars{10},rand{10}. Native consensus starts such as cons:MR are also supported; starting-tree file paths are excluded. pars{10} starts from 10 parsimony trees, rand{10} starts from 10 random trees. This only affects ML search workflows.
Random seedOptional positive integer used for reproducibility. Leave blank to preserve the native current-time seed.
Bootstrap treesThe native default is autoMRE{1000}, which checks convergence and can stop before 1,000 trees. Enter a fixed integer from 1 to 1,000 or native per-metric counts such as fbp{100},sh{100}. Explicit per-metric counts must be unique and total at most 1,000.
Bootstrap methodBootstrap-only mode accepts FBP, RBS, PS, or PBS. TBE requires a reference tree and is therefore available only in the combined ML search + bootstrapping mode.
Bootstrap support metricCombined mode accepts comma-separated fbp, tbe, rbs, ps, pbs, ebg, sh, ic1, and ica. FBP and RBS cannot be combined. Each requested native support tree is retained.
Output prefixOptional prefix for native .raxml.* filenames. Leave blank to derive it from the submitted alignment name.

Native controls

Collapsed option groups expose the native controls below. Native default or an empty optional numeric/text field leaves that argument out of the command. Automatic model selection requires model and branch optimization to remain enabled.

SettingDescription
Alignment inputSelect standard FASTA/PHYLIP checks or the native alignment parser.
Alignment parserSelect auto, FASTA, long-label FASTA, PHYLIP, CATG, VCF, or RBA. Auto leaves native format detection unchanged.

Model and branch options

SettingDescription
Optimize modelNative default: on. Fixed models can disable optimization.
Optimize branchesNative default: on.
Partition branch linkageNative default: scaled.
Minimum branch lengthNative default: 1e-6 substitutions per site.
Maximum branch lengthNative default: 100 substitutions per site.
Branch optimizerSelect the native branch-length optimizer.
Likelihood epsilonNative default: 10 log-likelihood units for search/bootstrap.
Triplet likelihood epsilonNative default: 1000 log-likelihood units.
FreeRate optimizerNative default: auto.
Model selection optionsNative options separated by /, for example criterion=AIC/rhas=G/substitution-models=GTR. Omit to preserve native defaults.
Model selection reportNative model-selection report format when emitted.

Topology search options

SettingDescription
Topology optimizerNative default: adaptive.
Adaptive searchNative default is unchanged. Start uses adaptive starting-tree selection only.
SPR radiusNative default: auto.
SPR likelihood cutoffA non-negative real number or off. Native default: 1.0.
Search stopping ruleUse the native SPR stopping criterion.
NNI toleranceNative NNI tolerance.
NNI epsilonNative NNI likelihood epsilon.
Pythia parsimony treesNumber of native parsimony trees used for alignment difficulty prediction.
Parsimony SPRNative parsimony starting-tree SPR refinement.
Initial branch lengthsNative initialization of branch lengths.
Alignment difficulty predictionNative Pythia control within tree inference.

Bootstrap and support options

SettingDescription
MRE convergence cutoffNative default: 0.03.
Download bootstrap alignmentsPreserve every native bootstrap alignment as a downloadable file.
SH-aLRT replicatesNative default: 1000. Hosted maximum: 1000.
SH-aLRT epsilonNative default: 0.1 log-likelihood units.
Bootstrap starting treesNative bootstrap starting-tree strategy.

Alignment and output options

SettingDescription
Probabilistic alignmentForward native probabilistic CATG/VCF handling.
Pattern compressionNative default: on.
Site repeatsNative default: on.
Tip-inner optimizationNative default: off.
Rate-category scalersLeave native automatic scalers unchanged unless explicitly selected.
Output decimal placesNative default: 6.
Outgroup taxaComma-separated native taxon names. Changes the tree drawing/rooting only, without rerunning inference.
Fully undetermined taxaNative treatment of fully undetermined taxa. Default preserves the current early error.
Duplicate sequencesNative treatment of identical sequences; this does not permit duplicate taxon names.

Outputs

Output fileWhen it appearsMeaning
prefix.raxml.bestTreeML search or combined modeBest maximum-likelihood tree in Newick format.
prefix.raxml.bestTreeCollapsedML search or combined modeBest tree with near-zero branches collapsed.
prefix.raxml.startTreeML search or combined modeStarting trees generated or used by the search. This can contain more than one tree.
prefix.raxml.mlTreesML search or combined modeCandidate ML trees from the starting-tree searches.
prefix.raxml.bootstrapsBootstrap or combined modeComplete bootstrap replicate tree collection. The result reports the number actually generated when automatic stopping is used.
prefix.raxml.support or metric-specific support treeCombined modeFinal support-annotated tree, including suffixes such as supportTBE, supportRBS, supportPS, or supportPBS.
prefix.raxml.bestModelWhen emitted by RAxML-NGOptimized model parameters and the effective model reported in the result summary.
prefix.raxml.rbaWhen emitted by RAxML-NGNative binary alignment used for efficient reuse or diagnosis.
prefix.raxml.reduced.phy and prefix.raxml.reduced.partitionWhen RAxML-NG removes fully undetermined columnsReduced alignment and matching partition definition.
prefix.raxml.ckpWhen retained by RAxML-NGNative checkpoint for resuming or diagnosing an analysis.
prefix.raxml.logWhen emitted, including failed runsFull native log, including final log-likelihood, AIC, and BIC when available.

Failed or timed-out runs retain the native log, any partial/checkpoint files, and captured command output as diagnostic downloads. They do not produce a successful scientific result.

The tree viewer opens only a single final tree. Bootstrap-only runs return a multi-tree collection and are shown as downloadable files instead of being misread as one tree.

Understanding the results

RAxML-NG results are easiest to interpret in three layers: topology, branch lengths, and branch support.

Topology

The branching pattern is the inferred evolutionary hypothesis. Internal nodes define clades. A change in topology is biologically meaningful, so any region of the tree with weak support should be treated as unresolved rather than overinterpreted.

Branch lengths

Branch lengths are reported in substitutions per site. Longer branches indicate more inferred evolutionary change. Extremely long terminal branches often signal problematic sequences, alignment issues, contamination, or highly divergent taxa.

Support values

Branch support is available in combined mode. FBP, RBS, TBE, PS, and PBS use resampled data or parsimony trees; EBG predicts bootstrap support and SH reports an SH-like aLRT. IC1 and ICA quantify internode certainty. These metrics have different meanings and should not be treated as interchangeable. The percentage conventions below concern bootstrap support, rather than internode certainty.

Support valueInterpretation
>= 95Strong support for that clade in most datasets
80-94Reasonable support, often usable but worth checking against alignment quality
70-79Weak to moderate support, commonly treated with caution
< 70Unstable split, usually not strong evidence for that relationship

Those cutoffs are conventions, not laws. Deep trees with uneven taxon sampling can show lower classical bootstrap support even when the overall signal is meaningful. That is one reason TBE exists.

FBP vs TBE vs RBS

MetricWhat it emphasizesWhen it is useful
FBPExact recovery of the same bipartition across replicatesStandard reporting and direct comparison with older phylogenetics literature
TBESimilarity between splits rather than exact matchingLarge trees where a few unstable taxa would otherwise deflate support for deep branches
RBSRapid bootstrap workflowFaster support estimation when runtime matters more than strict comparability with classical bootstrap

TBE is not a valid metric for bootstrap-only generation in RAxML-NG 2.0.2. Use the combined mode when TBE support is required.

When to use RAxML-NG vs alternatives

RAxML-NG occupies the middle ground between very fast approximate tree builders and feature-rich ML packages with their own model-selection ecosystems.

ToolBest use caseTradeoff
RAxML-NGMaximum-likelihood inference when a solid ML search and standard bootstrap workflow are the priorityRequires a pre-aligned dataset and is slower than approximate methods
IQ-TREEAnalyses where built-in model selection and ultrafast bootstrap are centralDifferent search heuristics and support framework, often more feature-focused on model testing
FastTreeVery large alignments where speed matters more than exact ML optimizationMuch faster, but approximate

RAxML-NG is a strong default when the alignment is already prepared and the goal is a conventional ML tree with explicit bootstrap support. IQ-TREE is often the better choice when systematic model testing is part of the analysis plan. FastTree is better for exploratory work on very large datasets where approximate topology is good enough.

Related tools

  • MAFFT: Builds multiple sequence alignments before phylogenetic inference.
  • MUSCLE5: Alternative MSA method for protein or nucleotide datasets.
  • Clustal Omega: Scalable alignment tool that fits naturally before tree building.
  • IQ-TREE: Another maximum-likelihood phylogeny tool with strong model-selection features.
  • FastTree: Approximate maximum-likelihood trees for very large alignments.

Based on the RAxML-NG paper by Kozlov et al. (2019) in Bioinformatics and the official RAxML-NG source repository.

Table of contents

Related tools

DockQ

DockQ

Assess docking quality between model and native structures

MAFFT

MAFFT

Align protein or nucleotide sequences with selectable accuracy and speed trade-offs.

MMseqs2

MMseqs2

Search and cluster protein or nucleotide sequences for homology discovery at large scale.

MUSCLE5

MUSCLE5

Align multiple protein or nucleotide sequences with high-accuracy PPP refinement.

pyRMSD

pyRMSD

Pairwise RMSD matrices for PDB structure ensembles

RNAdistance

RNAdistance

Compare RNA secondary structures by base-pair and tree distance.

AF-Cluster

AF-Cluster

Cluster MSAs to predict alternative protein conformations with AlphaFold2

ORF Finder

ORF Finder

Identify potential protein-coding regions in DNA across all six reading frames with NCBI ORFfinder.

DR-BERT

DR-BERT

Predict intrinsically disordered regions and per-residue disorder probabilities from protein sequences.

IgBLAST

IgBLAST

Analyze antibody and T cell receptor variable domain sequences