# Indexing DNA sequences

**URL:** <https://discuss.elastic.co/t/indexing-dna-sequences/63087>\
**Category:** Elasticsearch\
**Created:** [October 14, 2016, 9:27pm UTC](https://discuss.elastic.co/t/indexing-dna-sequences/63087 "2016-10-14T21:27:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![YOUDONG\_ZHANG1](https://avatars.discourse-cdn.com/v4/letter/y/b5ac83/32.png) [@YOUDONG\_ZHANG1](https://discuss.elastic.co/u/YOUDONG_ZHANG1)\
**Post date:** [October 14, 2016, 9:27pm UTC](https://discuss.elastic.co/t/indexing-dna-sequences/63087/1 "2016-10-14T21:27:47Z")

</div>

Hi all,

The current data that I am working with includes DNA\_sequence as one of its Json fields.  
Currently, I am not able to search subsequences of the DNA sequence, and I suspect es turned off analysis for this field because it was so long and void of spaces.  
How would I go about allowing subsequence searches for this field?

These subsequences should be no longer than 2000-5000 characters  
Thank you!

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 15, 2016, 6:17am UTC](https://discuss.elastic.co/t/indexing-dna-sequences/63087/2 "2016-10-15T06:17:55Z")

</div>

@polyfractal did a demo / presentation about this. You can find the slides here: [http://fr.slideshare.net/ZacharyTong/boston-meetupgoingorganic](http://fr.slideshare.net/ZacharyTong/boston-meetupgoingorganic)

I'm sure he can help here if needed 😛

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:12pm UTC](https://discuss.elastic.co/t/indexing-dna-sequences/63087/3 "2017-07-05T22:12:05Z")

</div>


