# Reading variable length barcodes

**URL:** <https://forum.mothur.org/t/reading-variable-length-barcodes/279>\
**Category:** Commands in mothur\
**Created:** [July 14, 2010, 1:52pm UTC](https://forum.mothur.org/t/reading-variable-length-barcodes/279 "2010-07-14T13:52:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jangidk](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jangidk](https://forum.mothur.org/u/jangidk)\
**Post date:** [July 14, 2010, 1:52pm UTC](https://forum.mothur.org/t/reading-variable-length-barcodes/279/1 "2010-07-14T13:52:43Z")

</div>

I tried to search for it, but am not sure whether MOTHUR allows variable length barcodes to be included in the same oligos file? Also, if my forward primer is denegerate and i include it as part of the barcode sequence, would it allow the degenracy in the barcode during trim.seqs? I know that i could use the degenrate portion of the sequence as a partial forward primer, and use only the non-degenerate potion of the primer as a part of barcode to avoid this.

---

<div class="post-metadata">

**Author:** ![pschloss](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/pschloss/32/4_2.png) [@pschloss](https://forum.mothur.org/u/pschloss)\
**Post date:** [July 14, 2010, 7:20pm UTC](https://forum.mothur.org/t/reading-variable-length-barcodes/279/2 "2010-07-14T19:20:38Z")

</div>

Yup, you can have mixed length barcodes and degeneracies in your primers. But you don’t want to have degeneracies in your barcode. You should be able to have multiple barcodes for the same sample.
