---
name: "tree2leafnames"
section: "1"
platform: "linux"
package: "prime-phylo"
version: "1.0.11-13+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tree2leafnames"
---

# tree2leafnames(1)

List the leaves of a tree

## NAME

tree2leafnames - List the leaves of a tree

## SYNOPSIS

**tree2leafnames** \[*OPTIONS*\] *\[treefile*\]

## DESCRIPTION

List the leaves of a tree

*treefile* is the filename of the file containing trees in PRIME or XML format.

## OPTIONS

- **--help**

  Display help (this text).

- **-V**, **--version**

  Print version and exit

- **-f**, **--input-format** **primeOrHybrid\|inputxml**

  The input format. Default is primeOrHybrid

## EXIT STATUS

- **0**

  Successful program execution.

- **1**

  Some error occurred

## URL

- The prime-phylo home page: http://prime.sbc.su.se

  ## SEE ALSO

[**primeDTLSR**(1)](/primeDTLSR/1.md), [**primeDLRS**(1)](/primeDLRS/1.md), [**primeGEM**(1)](/primeGEM/1.md), [**chainsaw**(1)](/chainsaw/1.md), [**reconcile**(1)](/reconcile/1.md), [**reroot**(1)](/reroot/1.md), [**showtree**(1)](/showtree/1.md), [**treesize**(1)](/treesize/1.md)
