Documentation ¶
Overview ¶
Package rotate implements a command to rotate the points of a range distribution.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &command.Command{
Usage: `rotate --model <motion-model> --ages <file>
[-o|--output <file>] [<rng-file>...]`,
Short: "rotate range using a plate motion model",
Long: `
Command rotate reads one or more geographic range files, with present
locations, and produce a new range file with the pixels rotated to an
indicated age.
One or more range files can be given as arguments. If no file is given, the
range will be read from the standard input.
The flag --model is required and defines a pixelated plate motion model. The
model must be compatible with the pixelation defined by the range files.
The flag --ages define the name of the file file with the ages for each taxon
to be rotated. The age files is a TSV file without header, and the following
columns:
- name name of the taxon
- age the age (in million years) of the taxon
By default the output will be printed in the standard output. If the flag
--output, or -o, is defined, the indicated file will be used as output. If the
file exists, existing taxons will be replaced, and new taxon will be added to
the indicated file.
`,
SetFlags: setFlags,
Run: run,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.