# Taxon Tree: Can't merge species with subspecies

**URL:** <https://speciforum.org/t/taxon-tree-cant-merge-species-with-subspecies/971>\
**Category:** Get Help\
**Created:** [January 5, 2023, 9:05am UTC](https://speciforum.org/t/taxon-tree-cant-merge-species-with-subspecies/971 "2023-01-05T09:05:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fedoras](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/fedoras/32/455_2.png) [@fedoras](https://speciforum.org/u/fedoras)\
**Post date:** [January 5, 2023, 9:05am UTC](https://speciforum.org/t/taxon-tree-cant-merge-species-with-subspecies/971/1 "2023-01-05T09:05:43Z")

</div>

I am trying to merge a species with associated records (“Luzula frigida”) to a subspecies (“Luzula multiflora frigida”), but I’m prevented by the system. Is it not possible to merge taxa of different rank and what to do then?

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/0/03abd774e5945ddd4d18c4f7b74c59406b9b2497.png)

---

<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:** [January 12, 2023, 2:49pm UTC](https://speciforum.org/t/taxon-tree-cant-merge-species-with-subspecies/971/2 "2023-01-12T14:49:04Z")

</div>

Hi @fedoras,

You cannot merge a node with a node at a lower rank in the tree (with or without children) using the tree editor directly.

In situations where you would like to accomplish this action, you can edit the taxon form for the first record directly and change the parent to the parent of the node you wish to merge it with.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/8/8b4dcfa2f20687502965dc7acf7ffc516a8d3ccf.jpeg)

Once you select the correct parent using the query combo box, you can change the rank to the same rank as the record you wish to merge this record into. Now in the tree interface you should be able to merge the two nodes.

---

<div class="post-metadata">

**Author:** ![fedoras](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/fedoras/32/455_2.png) [@fedoras](https://speciforum.org/u/fedoras)\
**Post date:** [January 13, 2023, 12:27pm UTC](https://speciforum.org/t/taxon-tree-cant-merge-species-with-subspecies/971/3 "2023-01-13T12:27:26Z")

</div>

Thank you. I did try this, but whenever I search for the parent taxon “Luzula multiflora” it only hands me the genus:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/b/bfcd2d49e5ffccff35f219805ece433bc425448e.png)

If this is because the rank of the taxon is species, then I have the additional problem not being able to change the rank of this taxon from species to subspecies:

![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/6/600e62cb45e1e770d1c5ca672f9e91b83c33a027.png)

Then what do I do?

---

<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:** [January 13, 2023, 6:03pm UTC](https://speciforum.org/t/taxon-tree-cant-merge-species-with-subspecies/971/4 "2023-01-13T18:03:26Z")

</div>

Does your tree structure have Species as “Enforced” in the Taxon Tree Definition? That would explain why you must have a Species as a parent before it can be a Subspecies.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/1/110cf0053a131250ef4e91ba21c4484889c9d14d.png)

It looks like the parent needs to be “Luzula multiflora” as that is the species that it needs to be a child of to perform the merge.

---

<div class="post-metadata">

**Author:** ![fedoras](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/fedoras/32/455_2.png) [@fedoras](https://speciforum.org/u/fedoras)\
**Post date:** [January 16, 2023, 12:48pm UTC](https://speciforum.org/t/taxon-tree-cant-merge-species-with-subspecies/971/5 "2023-01-16T12:48:10Z")

</div>

Hmm… I’m not sure where to find these settings in Specify7, but in Specify6 it indeed appeared that Species was enforced, so I changed this accordingly:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/4/4beb286a9fe6b89615e04b167dbaff4f1df03b18.png)

I restarted the Specify7 server and tried again, and then I could change the rank to subspecies, after which I could move the branch in the tree. I could, however, not change the parent taxon during taxon editing, because it still only served me the genus and not the species.

---

<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:** [January 16, 2023, 9:41pm UTC](https://speciforum.org/t/taxon-tree-cant-merge-species-with-subspecies/971/6 "2023-01-16T21:41:12Z")

</div>

Hi @fedoras,

Did you try to use the Query Builder option rather than the standard form search to find “Luzula multiflora”?

 ![Query Builder in form search](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/9/947090506eb8e25454181c8ddfaa2d71cfee383d.png)

This allows you to access the full query builder system in a dialog which can help narrow down the correct parent. If it comes down to it, you can even query the specific ID of the parent record you wish to associate it with.

---

<div class="post-metadata">

**Author:** ![fedoras](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/fedoras/32/455_2.png) [@fedoras](https://speciforum.org/u/fedoras)\
**Post date:** [January 17, 2023, 1:25pm UTC](https://speciforum.org/t/taxon-tree-cant-merge-species-with-subspecies/971/7 "2023-01-17T13:25:21Z")

</div>

I had no idea… Thanks!
