set

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2025 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package set implements a command to set node ages for the trees in PhyGeo project.

Index

Constants

This section is empty.

Variables

View Source
var Command = &command.Command{
	Usage: `set [--tozero] [-i|--input <file>]
	<project>`,
	Short: "set ages of the nodes of a tree",
	Long: `
Command set reads the trees from a PhyGeo project and a list of node ages to
update the age of the indicated nodes.

The argument of the command is the name of the project.

The ages of the nodes are read from an input file defined with the --input or
-i flag. The ages file is a TSV file without a header with the following
columns:

    -tree  the name of the tree
    -node  the ID of the node to set
    -age   the age (in million years) of the node

The node ages must be consistent with any other age already defined on the
tree. The changes are made sequentially.


As an usual operation is to set ages of all terminals to 0 (present), the flag
--tozero is provided to automate this action. Note that the flag will set all
terminals in the project.
	`,
	SetFlags: setFlags,
	Run:      run,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL