---
name: "all_dists"
section: "1"
platform: "linux"
package: "phast"
version: "1.7+dfsg-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/all_dists"
---

# all\_dists(1)

Given a tree in Newick (\*.nh) format, report distances

## NAME

all\_dists - Given a tree in Newick (\*.nh) format, report distances

## DESCRIPTION

Given a tree in Newick (\*.nh) format, report distances between all pairs of leaves. If multiple files are given, then distances are computed by averaging across models, and statistics describing the errors in the estimates are reported (can be useful for bootstrapping; see 'phyloBoot **--dump-mods**').

## USAGE

all\_dists \<tree.nh\> \[\<tree2.nh\> \<tree3.nh\>...\]

## OPTIONS

**--mod**, **-m**

-

  Read from tree model (\*.mod) file(s) instead of Newick file.

**--tree**, **-t** \<file\>\|\<string\>

- Use leaf names from given tree.

  Useful when primary files

-

  use numbers rather than names.

**--help**, **-h** Print this help message.
