# Trees in Specify

**URL:** <https://speciforum.org/t/trees-in-specify/534>\
**Category:** Trees\
**Tags:** Specify-7\
**Created:** [October 18, 2023, 5:00am UTC](https://speciforum.org/t/trees-in-specify/534 "2023-10-18T05:00:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grant](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/grant/32/4255_2.png) [@Grant](https://speciforum.org/u/Grant)\
**Post date:** [October 18, 2023, 5:00am UTC](https://speciforum.org/t/trees-in-specify/534/1 "2023-10-18T05:00:00Z")

</div>

> 📖 This guide explains the hierarchical Tree structures to manage data like **Taxon** , **Geography** , and **Storage**. It covers navigating the Tree viewer, search for specific nodes, and critical data management such as moving nodes, merging duplicates, and managing synonymy. The documentation also details Tree definitions (eg. rank enforcement) to ensure data consistency.

Specify 7 visually presents several data types as hierarchical trees.

Those data types include the information in the **Taxon** , **Geography** , **Storage (specimen location)**, **Chronostratigraphy** , **Lithostratigraphy** , and **Tectonic Unit** tables.

These data types are also visualized in forms, but the tree displays offer a more convenient single-screen view of all of the records in the table. Some data tasks are more intuitive and efficient when performed in tree displays as compared to forms.

The Taxon, Geography, Chronostratigraphy, Lithostratigraphy, and tectonic unit trees (and tables) are scoped at the **Discipline** level, meaning that all collections within a Discipline share the same tree.

Collection Objects in a particular collection that are associated with nodes on a tree shared across two or more collections, will only see the Collection Objects in that particular collection (Linked Collection Objects can be seen by selecting a tree node and clicking the :search_: **Search** icon in the tools area).

The Storage tree is scoped at the **Institution** level. However, similar to other trees, only the Collection Objects for the current collection will be found when selecting a tree node and clicking the :search_: **Search** icon in the tools section.

You can learn more about [data scoping in this topic](https://speciforum.org/t/specify-institutional-scopings/1046).

## Using Trees

You can navigate to the data trees interface by clicking the :trees_: **Trees** item in the navigation bar.

 ![Trees navigation menu item](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/2/20ab8f2d2d88017b332f894592854e5ae9abee38.png)

### Specify Tree Terminology

The various Trees show relationships in a hierarchical structure. The hierarchies are composed of levels or ranks represented by columns in the display. Data values (e.g. taxa) are referred to as “nodes,” and nodes are related to one another in “parent-child” relationships. Nodes within the next rank lower in the hierarchy are referred to as “children.” Every node, except the basal root node, has one “parent” node.

To see the accepted name for a synonym, you can hover over a node in the tree.

## Building Ranks

Each tree is visually displayed as hierarchical ranks. Ranks must first be defined in a tree definition, then nodes (data values) can be added.

Tree ranks are initially defined through the use of either the [Guided Setup](https://speciforum.org/t/guided-setup/3234) or [Specify 6 Setup Wizard](https://speciforum.org/t/specify-setup-wizard/240).

### Editing Tree Ranks

> [@Editing Tree Definitions / Ranks](https://speciforum.org/t/editing-tree-definitions-ranks-in-specify-7/1783):
>
> book This guide explains how to edit, add, and delete tree ranks. A Tree Definition defines the available levels or ranks in a tree, as well as how these ranks are enforced during data entry and used in aggregating the full name. Tree Definition tools are available for each tree. This video explains how to modify trees in Specify 7: To begin editing the Tree Definitions, click on Trees in the navigation bar, then select the tree you want to edit from the dialog.

## Deleting Nodes

Nodes on specific trees can only be deleted if the following trees are not used in the specified ways:

| Tree | Use |
| --- | --- |
| **Taxon** | - not used in a Determination.  
- not included in a Taxon citation.  
- not a parent node of a Hybrid.  
- not a preferred name of a Synonym.  
- not a parent Node. |
| **Geography** | - not used in a Locality.  
- not a preferred name of a Synonym.  
- not a parent Node. |
| **Storage** | - not used in a Preparation.  
- not a preferred name of a Synonym.  
- not a parent Node. |
| **Chronostratigraphy** | - not used in a Paleo Context.   
- not a preferred name of a Synonym.  
- not a parent Node. |
| **Lithostratigraphy** | - not used in a Paleo Context.   
- not a preferred name of a Synonym.  
- not a parent Node. |
| **Tectonic Unit** | - not used in a Paleo Context.   
- not a preferred name of a Synonym.  
- not a parent Node. |

Before deleting the tree node, you must remove records that prevent the deletion. For instance, to delete an undesired taxon record, you would need to open any associated Collection Object record and delete or reassign the determination.

It is important to remember that the Storage tree is shared by all collections in an Institution and all other trees are shared by all collections within a single Discipline. Nodes that are not being used by your collection may have associations in other collections and therefore cannot be deleted.

## Tree Actions :trees_:

| Icon | Action | Description |
| --- | --- | --- |
| :double_chevron_: | **Collapse All** | Collapse all items in the tree to the root node |
| :search_: | **Search** | Run a query to show associated collection object records |
| :pencil_: | **Edit** | Edit the selected node |
| :trash_: | **Delete** | Delete the selected node |
| :plus_: | **Add Child** | Create a new node below the currently selected node |
| :move_: | **Move** | Move the selected node to a new parent (the second node chosen after clicking “Move”) |
| :truck_: | **Move Items** | Within the storage tree move all preparations inside one storage node to another |
| :merge_: | **Merge** | Merge the selected node with the second node chosen after clicking “Merge” |
| :synonymize_: | **Synonymize** | Synonymize the selected node with the second node chosen after clicking “Synonymize” |
| :unsynonymize_: | **Undo Synonymy** | Undo the synonymy when clicked after selecting a synonymized node |

> [!Tip]  
> You can select a node without expanding it by holding the Shift key and clicking on a node.

After selecting a node in a tree, the action buttons will become active in the tools area:

 ![Tree items](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/a/aa07c409d67e6cab3bc713b2b5c440bc1aef291c.png)

### Move :move_:

Move a node (and its child nodes) to a new parent. This is useful when a data entry error has occurred, or a new node has been introduced while uploading from the WorkBench. Nodes may be moved between ranks, but enforced ranks may not be skipped.

### Bulk Move Items :truck_:

Available only in the Storage tree, this tool allows you to move all preparations from one storage location to another in the tree. This is useful if you have a box containing several preparations and want to transfer all of them to a different box.

Select a storage node that contains the preparations you want to move, click “Move Items” :truck_:, select the new location to move the items to, click “Move items from {Current Location} here” in the toolbar.

Both storage locations will still exist at the end of this interaction. However, the preparations that previously pointed to the first location should now point to the new one.

### Synonymize :synonymize_:

Synonymize the node (in the Geography and Taxon trees only). The node that is selected first will become a synonym of the second node selected. This new preferred node is called the accepted, or target node.

> [@Synonyms and Synonymy in Specify](https://speciforum.org/t/synonymy-in-specify/2725):
>
> book This guide uses taxonomic examples to explain how synonymy works in Specify 7. It explains how synonyms are represented in different areas, walks through how to synonymize a taxon, and explains the rules and restrictions with synonyms. Understanding Synonymy in Specify 7 [!note] Synonymy is supported in all Specify trees, and the fundamental logic is consistent across all of them. This document specifically focuses on synonymy using taxonomic examples and describes its interaction wi…

In this instance, I first selected _Polistotrema stoutii_, then selected _Eptatretus stoutii_. After clicking :synonymize_: **Synonymize** , I confirmed this node synonymization. Now, the node _Polistotrema stoutii_ is in red and references are now synonymized with _Eptatretus stoutii_. The target node is then the Preferred node.

Changes in taxonomy are represented in the fields of the Determinations table. The Taxon and Preferred Taxon fields capture determinations related to Collection Objects.

When a taxon is not a synonym, both fields will indicate the same taxon (A). However, if taxon (A) becomes a synonym of taxon (B), the Taxon field will still show taxon (A), while the Preferred Taxon field will be updated to taxon (B).

By default, you cannot add child nodes to a synonymized node. Similarly, parent nodes cannot be synonymized unless their child nodes are first synonymized. If you would like to change this behavior, please see [Collection Preferences](https://speciforum.org/t/collection-preferences/3281).

Synonyms are differentiated from non-synonyms by their text color (by default, red). Synonyms also show as a tooltip on the node. Tooltips are displayed by holding the mouse over a rank.

To undo a synonymy, select the node, then click :unsynonymize_: **Undo Synonymy** in the menu bar.

 ![Undo Synonymy button](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/9/9790505d32b2bb2bb8a3dab8909c267e93766928.png)

### Merge :merge_:

Merge parts of the tree. This is typically performed to correct parts of the tree that are duplicated. For instance, if the country of the United States of America were entered as both “United States” and “U.S.” and both included a large number of children (presumably U.S. states), a correction would require many distinct actions.

The :merge_: **Merge** function, however, allows users to combine all the child information and choose the accepted form of a parent. The children of the first node selected (unwanted node) will merge with those included in the node being targeted (remaining node), and the unwanted node will disappear.

For example, if the “United States” included the states of Ohio and Oregon and the “U.S.” included the states of California and Hawaii, and the user merged the “U.S.” node into the “United States” node by using the **Merge** :merge_: function, the tree will then have only the United States as a country (parent) with the states (children) California, Hawaii, Ohio, and Oregon. If both nodes originally contain Ohio with various children of that rank (in this case, U.S. Counties), they will be combined into a single node, and all Counties would be accumulated or merged if they were previously redundant.

Select Cancel on the dialog to leave the node in its original position.

### Collection Object Counts

Counts are displayed next to the Node as two numbers (X,Y):

- X represents the number of Collection Objects for the Node only.
- Y represents the number of Collection Objects for the Rank and all nodes beneath it.

The last node on the tree will only show the X value, as there are no nodes beneath it.

At the bottom of the tree there is a checkbox that says ‘Show only nodes with associated objects’. With this checked it will only show the nodes that have some record/object that is linked to them.

For example, in this video, when it’s checked all the taxa that had a count of zero are hidden.

## Hybrids

> [@Handling Hybrid Taxa](https://speciforum.org/t/handling-hybrid-taxa/2773):
>
> book This guide describes the two main approaches for cataloging hybrid taxa and the pros and cons of each. Specify provides two primary methods for cataloging hybrid organisms. Your choice will depend on your institution’s data management goals, specifically whether you prefer simplicity and direct searchability or a more structured, relational approach to your data. Approach 1: Simple Name Entry (Most Common) The most straightforward and common way to record a hybrid is to enter its sci…

## Split Tree Viewer :split_:

| Icon | Action | Description |
| --- | --- | --- |
| :split_: | **Split** | Split the tree and activate the “Split Tree Viewer” |
| :switchview_: | **Switch** | Change the split view from horizontal to vertical |
| :sync_: | **Sync** | Sync both selected nodes to match the last selected node in the tree |

### Split

You can select the :split_: **Split** icon to split the tree view.

### Switch Split Direction

You can select the :switchview_: **Switch** icon to switch between splitting the tree horizontally and vertically.

### Sync

You can select the :sync_: **Sync** icon to match the position of the most recently selected node on both sides of the split tree viewer.

## Search

 ![Taxonomy tree search](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/3/35581148658585001ae26af638d6cc413fbdc03c.png)

To find a node on the tree, you can use the **Search Tree** function in the top-left of the tree view. By default, Specify adds a wildcard at the end of a search term.

## Chronostratigraphy Features

The Chronostratigraphy (Geologic Time Period) tree has several unique features not available on other trees.

### Chronological Ordering

The Chronostratigraphy tree is always sorted by `startPeriod` (geologic time, oldest first). All other trees (Taxon, Geography, Storage, etc.) continue to respect the user’s sort preference.

### Show Start and End Periods

The default tree behavior is to **Show start and end periods** by default, but this can be toggled in [User Preferences](https://speciforum.org/t/user-preferences/3283).

 ![Show start and end periods preference](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/a/ac40db7e8c68aa083271ff3e4e7611f289ea95d8.jpeg)

When enabled, each Chronostratigraphy node displays its geologic time range in ICS format directly after the node name:

```auto
Phanerozoic (538.8 ± 0.2 – 0)
Campanian (83.6 ± 0.2 – 72.2 ± 0.2)

```

Hovering over a displayed time range shows a tooltip including:

- **Start Period** with the exact value and uncertainty.
- **End Period** with the exact value and uncertainty (if present).

### Biostratigraphy Filter

The Chronostratigraphy tree includes a **Filter by biostratigraphy** dropdown at the bottom of the tree view. This filter controls which nodes are visible:

| Option | Description |
| --- | --- |
| **All Nodes** | Shows all nodes regardless of biostratigraphic classification (default). |
| **Chronostratigraphy** | Shows only nodes classified as chronostratigraphic units. Biostratigraphic nodes with chronostratigraphic descendants are shown dimmed/italicized. |
| **Biostratigraphy** | Shows only nodes classified as biostratigraphic units. Chronostratigraphic nodes with biostratigraphic descendants are shown dimmed/italicized. |

When a filter is active:

- Nodes that match the filter are displayed normally.
- Nodes that do not match the filter but have descendants that do are **dimmed** (shown in italic gray) to indicate their position in the hierarchy while de-emphasizing them.
- Nodes that do not match and have no matching descendants are **hidden entirely**.

This is particularly useful for collections that need to distinguish between chronostratigraphic and biostratigraphic units within the same tree.

### ICS Chart

You can click on the :clock_: (clock icon) to open the [International Chronostratigraphic Chart](https://stratigraphy.org/chart), developed by the [International Commission on Stratigraphy (ICS)](https://www.iugs.org/ics).

## Tree Preferences

There are a lot of tree customizations that can be done in the Tree Editor section of [User Preferences](https://speciforum.org/t/user-preferences/3283).

 ![Tree Editor section in User Preferences](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/f/f11e21609c7f054c840923ce1438ce4ecf6c4d63.png)

You can configure the auto-scroll behavior for a focused node. You can also configure whether the search function is case-sensitive or not along with the search algorithm. If desired, the search field can be changed to look at the “Full Name” instead of the “Name”.

Tree nodes can be ordered by field to sort the tree based on different fields including: Full Name, Rank ID, and Node Number.

 ![Order By Rank ID](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/0/03ba903c8e970497cf20badf36805eea02a161d9.jpeg)

By default, Specify will sort by Rank ID and then alphabetically.

> [!NOTE]  
> The **Chronostratigraphy** tree ignores the **Sort by field** preference and always sorts nodes by `startPeriod` (geologic time, oldest first). This ensures proper chronological ordering regardless of the user’s sort setting.

 ![Taxon Tree Preferences](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/2/2b2aa473dab639bf39e3b331d9964616387e81b0.png)

By default, each tree has an accent color that matches its icon (e.g. Taxon is red, Storage is blue, Geography is purple, etc), but these can be customized to any color. You can also set the rank threshold for each tree by selecting a rank from the dropdown, this is the minimum rank to display the count.

### Chronostratigraphy Preferences

The Chronostratigraphy tree has an additional preference not available for other trees:

- **Show start and end periods** (enabled by default): When checked, each node in the Chronostratigraphy tree displays its geologic time range in ICS format (e.g., `(83.6 ± 0.2 – 72.2 ± 0.2)`). Hovering over the range shows a tooltip with the schema field labels and full values. Trailing zeros are automatically trimmed.

To display authorship in taxon tree(s) check **Show author in the tree.**

For information on enable creating children for synonymized nodes see [Collection Preferences](https://speciforum.org/t/collection-preferences/3281#p-6434-tree-management-4)

---

<div class="post-metadata">

**Author:** ![Grant](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/grant/32/4255_2.png) [@Grant](https://speciforum.org/u/Grant)\
**Post date:** [July 24, 2025, 3:56am UTC](https://speciforum.org/t/trees-in-specify/534/2 "2025-07-24T03:56:13Z")

</div>

Split this topic on July 24, 2025, 3:56am UTC

2 posts were merged into an existing topic: [Sp7 Workbench: Import taxa as synonyms](https://speciforum.org/t/sp7-workbench-import-taxa-as-synonyms/1425)

---

<div class="post-metadata">

**Author:** ![ehaston](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@ehaston](https://speciforum.org/u/ehaston)\
**Post date:** [October 19, 2023, 2:33am UTC](https://speciforum.org/t/trees-in-specify/534/3 "2023-10-19T02:33:12Z")

</div>

The ability to add children to synonyms is really critical for managing our collection. There are literally thousands of genera in our Taxon tree that are synonyms but not all the species have been added already. If we want to add those species (as synonyms), then we don’t want to have to desynonymise the genus first and then resynonymise it. We also want to be able to synonymise a parent without having to synonymise all the children since we often don’t know what the accepted taxa are for all the children. It sometimes takes more time to figure that out from the literature, especially with names that have not been included in a revision. Can the synonymy rules for the tree be relaxed?

---

<div class="post-metadata">

**Author:** ![Grant](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/grant/32/4255_2.png) [@Grant](https://speciforum.org/u/Grant)\
**Post date:** [October 19, 2023, 2:33am UTC](https://speciforum.org/t/trees-in-specify/534/5 "2023-10-19T02:33:12Z")

</div>

> [@ehaston](#):
>
> The ability to add children to synonyms is really critical for managing our collection. There are literally thousands of genera in our Taxon tree that are synonyms but not all the species have been added already. If we want to add those species (as synonyms), then we don’t want to have to desynonymise the genus first and then resynonymise it. We also want to be able to synonymise a parent without having to synonymise all the children since we often don’t know what the accepted taxa are for all the children. It sometimes takes more time to figure that out from the literature, especially with names that have not been included in a revision. Can the synonymy rules for the tree be relaxed?

Starting in Specify 7.8.4, [there is a secret preference](https://speciforum.org/t/enable-creating-children-for-synonymized-nodes/987) that allows synonymizing a node with children and adding children to a synonymized node. The children are not automatically synonymized themselves.

Does this preference not solve your issue described above?  
Are you looking to keep the full name the same for the children of the newly synonymized Genus?

Thank you for your reply!

---

<div class="post-metadata">

**Author:** ![Grant](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/grant/32/4255_2.png) [@Grant](https://speciforum.org/u/Grant)\
**Post date:** [August 20, 2026, 4:34pm UTC](https://speciforum.org/t/trees-in-specify/534/12 "2026-08-20T16:34:30Z")

</div>

Closed on August 20, 2026, 4:34pm UTC


