# Can QIIME 2 read Nucleotides?

**URL:** <https://forum.qiime2.org/t/can-qiime-2-read-nucleotides/21400>\
**Category:** User Support\
**Created:** [November 19, 2021, 8:01am UTC](https://forum.qiime2.org/t/can-qiime-2-read-nucleotides/21400 "2021-11-19T08:01:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgcx](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/j/e47774/32.png) [@jgcx](https://forum.qiime2.org/u/jgcx)\
**Post date:** [November 19, 2021, 8:01am UTC](https://forum.qiime2.org/t/can-qiime-2-read-nucleotides/21400/1 "2021-11-19T08:01:50Z")

</div>

If I have a primer that has nucleotides like the one below can QIIME 2 read the nucleotides or do I have to give all the combinations of that nucleotide?

Primer with nucleotides:  
GTG **Y** CAGC **M** GCCGCGGTAA

All the combos it could be: Y(c or t) and M (a or c)  
GTGcCAGCaGCCGCGGTAA

GTGcCAGCcGCCGCGGTAA

GTGtCAGCaGCCGCGGTAA

GTGtCAGCcGCCGCGGTAA

If I do have to indicate all the combos what is the best way to do that in QIIME2?

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [November 22, 2021, 2:59pm UTC](https://forum.qiime2.org/t/can-qiime-2-read-nucleotides/21400/2 "2021-11-22T14:59:52Z")

</div>

Hi @jgcx - I'm not sure we can answer this question without knowing what command or commands you're interested in - can you please provide us with additional context? Plugins like q2-cutadapt are definitely able to interpret IUPAC wildcards, but others don't need to, so it really just depends. Thanks!

---

<div class="post-metadata">

**Author:** ![jgcx](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/j/e47774/32.png) [@jgcx](https://forum.qiime2.org/u/jgcx)\
**Post date:** [November 22, 2021, 9:28pm UTC](https://forum.qiime2.org/t/can-qiime-2-read-nucleotides/21400/3 "2021-11-22T21:28:55Z")

</div>

@thermokarst Hello, can you please explain what you mean by **wildcards**? Do you mean that all of your commands if given a primer sequence can distinguish between a nucleotide and base pair? I would like to know if all the commands that utilize primer sequence information can recognize a nucleotide (Y, M, P, etc) vs a base pair (A, T, G, C) since the nucleotide code for different base pairs, Y(c or t) and M (a or c)?

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [November 23, 2021, 2:48pm UTC](https://forum.qiime2.org/t/can-qiime-2-read-nucleotides/21400/4 "2021-11-23T14:48:31Z")

</div>

> [@jgcx](#):
>
> can you please explain what you mean by **wildcards**?

Sure!

- [IUPAC Codes](http://www.bioinformatics.org/sms/iupac.html)
- [IUPAC codes](https://www.drive5.com/usearch/manual/IUPAC_codes.html)
- [Nucleic acid notation - Wikipedia](https://en.wikipedia.org/wiki/Nucleic_acid_notation) (the "degenerate base" table, in particular)

> [@jgcx](#):
>
> I would like to know if all the commands that utilize primer sequence information can recognize a nucleotide

It depends! Please see my previous answer. As well, I encourage you to read up on the ethos and design of QIIME 2:

[https://docs.qiime2.org/2021.8/tutorials/overview/](https://docs.qiime2.org/2021.8/tutorials/overview/)

---

<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:** [December 24, 2021, 8:49pm UTC](https://forum.qiime2.org/t/can-qiime-2-read-nucleotides/21400/5 "2021-12-24T20:49:11Z")

</div>

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