Tip labels

Print tip labels of a tree

Command identity

Canonical command:

tip_labels

Handler:

tip_labels

Aliases:

labels, tl, tree_labels

Standalone executables:

pk_tip_labels, pk_labels, pk_tl, pk_tree_labels

Categories:

Tree manipulation & utilities

Runtime interface

Synopsis

phykit tip_labels <tree> [--json]

Arguments

This table is generated from the live command parser. It is the authoritative source for accepted spellings, required arguments, types, defaults, and choices.

Argument

Required

Type

Default

Choices

tree

true

str

required

any

--json

false

boolean

false

any

Output and errors

--json provides the command's structured JSON representation. Unless the guidance below states otherwise, results are emitted as command output. Invalid command syntax exits with status 2. Input validation and scientific limitations are described in the guidance below.

Guidance, interpretation, and examples

Prints the tip labels (or names) of a phylogeny.

phykit tip_labels <tree> [--json]

Options:
<tree>: first argument after function name should be a tree file
--json: optional argument to print results as JSON