# Curious about how feature names are selected, technical question.

**URL:** https://forum.qiime2.org/t/curious-about-how-feature-names-are-selected-technical-question/29568
**Category:** User Support
**Created:** [March 13, 2024, 7:08pm UTC](https://forum.qiime2.org/t/curious-about-how-feature-names-are-selected-technical-question/29568 "2024-03-13T19:08:20Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Acelya\_Dalgic](https://forum.qiime2.org/user_avatar/forum.qiime2.org/acelya_dalgic/32/18003_2.png) [@Acelya\_Dalgic](https://forum.qiime2.org/u/Acelya_Dalgic)
#### Post date: [March 13, 2024, 7:08pm UTC](https://forum.qiime2.org/t/curious-about-how-feature-names-are-selected-technical-question/29568/1 "2024-03-13T19:08:20Z")

</div>

So let's say I am analyzing 2 sample groups that are from different regions of 16S. Before cryptic assignment, some cryptic names are assigned to the ASVs that are detected in my files. Let's say there are ASVs that will assign to E. coli later on with classifier. Should I expect for their cryptic ASV names to be same or is it randomly assigned to the each detected?  
I hope it's the right place to ask. I assume them not to be same. Thank you!

---

<div class="post-metadata">

### Author: ![timanix](https://forum.qiime2.org/user_avatar/forum.qiime2.org/timanix/32/17879_2.png) [@timanix](https://forum.qiime2.org/u/timanix)
#### Post date: [March 13, 2024, 7:21pm UTC](https://forum.qiime2.org/t/curious-about-how-feature-names-are-selected-technical-question/29568/2 "2024-03-13T19:21:55Z")

</div>

Hello!  
ASV IDs are generated based on the sequences itself. So, the same sequences (100% identity in length and letters order) will have the same IDs.

Please check [this topic](https://forum.qiime2.org/t/how-are-asv-ids-generated/6075).

---

<div class="post-metadata">

### Author: ![colinbrislawn](https://forum.qiime2.org/user_avatar/forum.qiime2.org/colinbrislawn/32/6221_2.png) [@colinbrislawn](https://forum.qiime2.org/u/colinbrislawn)
#### Post date: [March 13, 2024, 7:33pm UTC](https://forum.qiime2.org/t/curious-about-how-feature-names-are-selected-technical-question/29568/3 "2024-03-13T19:33:26Z")

</div>

This is the perfect place to ask! Welcome to the forums, Açelya. :qiime2:

* * *

Here's a real ASV with a cryptic name 🔐 and DNA sequence 🧬 :

```plaintext
>4b5eeb300368260019c1fbc7a3c718fc
TACGGAGGATCCGAGCGTTATCCGGATTTATTGGGTTTAAAGGGAGCGTAGATGGATGTTTAAGTCAGTTGTGAAAGTTTGCGGCTCAACCGTAAAATTGCAGTTGATACTGGATATCTT

```

The name (4b5ee...) is the MD5 hash of the sequence.

Try it for yourself with the Linux command `md5sum`:

```sh
echo -n TACGGAGGATCCGAGCGTTATCCGGATTTATTGGGTTTAAAGGGAGCGTAGATGGATGTTTAAGTCAGTTGTGAAAGTTTGCGGCTCAACCGTAAAATTGCAGTTGATACTGGATATCTT | md5sum
4b5eeb300368260019c1fbc7a3c718fc -

```

As Timur mentioned, that MD5 hash changes if a single basepair changes.  
But the same sequence always makes the same MD5 hash.

So to your question:

> [@Acelya\_Dalgic](#):
>
> Should I expect for their cryptic ASV names to be same or is it randomly assigned to the each detected?

Neither!  
It will not be the same (because the sequence is not the same).  
It will _look_ random (but once you know it's the MD5 hash, you know it's 100% deterministic).

'cryptic' is a great work because MD5 ["was widely used as a cryptographic hash function"!](https://en.wikipedia.org/wiki/MD5)

---

<div class="post-metadata">

### Author: ![Acelya\_Dalgic](https://forum.qiime2.org/user_avatar/forum.qiime2.org/acelya_dalgic/32/18003_2.png) [@Acelya\_Dalgic](https://forum.qiime2.org/u/Acelya_Dalgic)
#### Post date: [March 13, 2024, 8:33pm UTC](https://forum.qiime2.org/t/curious-about-how-feature-names-are-selected-technical-question/29568/7 "2024-03-13T20:33:57Z")

</div>

Thanks a lot! You mentioning it being MD5 hash of the sequence made a lot of sense to me!

---

<div class="post-metadata">

### Author: ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)
#### Post date: [April 14, 2024, 2:34am UTC](https://forum.qiime2.org/t/curious-about-how-feature-names-are-selected-technical-question/29568/8 "2024-04-14T02:34:45Z")

</div>

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
