FAQ

Are the results really identical to pplacer’s?

Yes. On 127,343 genomes placed on the 8 GTDB R09-RS226 class-level trees, and 10,000 genomes on the full GTDB R09-RS226 bacterial tree, every placement matched pplacer v1.1.alpha19’s output: the same edges, likelihoods, weights and branch lengths, down to the last printed digit. The same holds for every other model and option pplacer supports (see Validation). gplace test repeats this check on bundled data.

Does the output file look exactly like pplacer’s?

Every value and the tree are identical. However, the spacing and the order of the genomes in the jplace file can differ.

Can I use my pplacer command lines?

Yes: replace pplacer with gplace place. gPlace accepts pplacer’s options (-c, -o, -j, --out-dir, -t/-r/-s, -p, --keep-at-most, …) and query files, and names its jplace files as pplacer does. A few rarely used pplacer options are not implemented and stop the run with a message (see pplacer’s options).

How much memory do I need?

It depends on the tree. For larger trees, such as the full GTDB bacterial tree, tell gPlace how much it may use, e.g. --max_memory 64G, and it stays within it. To get an estimate for your data before running, use gplace benchmark --refpkg <refpkg> --queries <number of genomes>. See Large trees and memory limits.

How many CPUs should I use?

Use --cpus auto, or run gplace benchmark once on each type of machine. More is not always faster: on a 64-core server, 32-40 workers were fastest. Memory barely grows with --cpus.

Which computers does gPlace run on?

64-bit Linux (x86-64 or ARM64) and macOS (Apple Silicon or Intel), the platforms pplacer runs on. The results are the same on all of them; gplace check_install verifies this on yours.

Can I place on my own tree, or other kinds of data?

Yes: protein and DNA alignments, with every model pplacer has (WAG, LG, JTT, GTR; see Models), on trees from FastTree, RAxML, PhyML, IQ-TREE or RAxML-NG (see Using your own tree). Codon, binary and morphology data are not supported.

Technical questions

How was identity established?

By comparing against jplace files written by pplacer v1.1.alpha19 and against fresh runs of its release binary, and, where results differed, by tracing that binary under gdb (it is statically linked and ships debug symbols) and comparing every likelihood evaluation bit for bit. The scripts are in scripts/validation.

Why does gPlace build its own GSL?

pplacer’s binary contains GSL 1.16. GSL 2.x computes the WAG eigenvectors differently in the last bits, which is enough to change some secondary placements.

Which CPU features are used?

gPlace picks an engine to suit the CPU:

  • x86-64 CPUs with AVX2 and FMA use the AVX2 engine.

  • ARM64 CPUs, including Apple Silicon, use the NEON engine.

  • Other x86-64 CPUs use the portable engine, which has scalar kernels.

All three engines perform the same operations in the same order, so their results are identical. To force the portable engine (for example, to compare its results), set GPLACE_ENGINE_VARIANT=portable.

Which IQ-TREE and RAxML-NG models can gPlace use?

When IQ-TREE or RAxML-NG infers a tree, it also fits a substitution model to the alignment, such as LG+F+I+G4. By default, gPlace does what pplacer does: it uses only the substitution matrix, the gamma rate model and, for GTR, the fitted rates, and ignores the rest of the model (for example +I and +R). The placements are then identical to pplacer’s.

With --full_model, gPlace uses the complete fitted model. This includes IQ-TREE’s and RAxML-NG’s other matrices, +I, +R and protein mixture models. The placements then differ from pplacer’s.

Using your own tree lists the supported models in full, and the ones that are not supported yet.