# Aldex2 error when processing picrust2 output

**URL:** <https://forum.qiime2.org/t/aldex2-error-when-processing-picrust2-output/14104>\
**Category:** Library Support\
**Created:** [March 18, 2020, 12:33pm UTC](https://forum.qiime2.org/t/aldex2-error-when-processing-picrust2-output/14104 "2020-03-18T12:33:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)\
**Post date:** [March 18, 2020, 3:31pm UTC](https://forum.qiime2.org/t/aldex2-error-when-processing-picrust2-output/14104/2 "2020-03-18T15:31:04Z")

</div>

Hi @didietkeren,  
I have moved this topic to "community plugin support" because it concerns q2-picrust2 and q2-aldex2, both of which are community plugins.

The error message is quite clear:

> [@didietkeren](#):
>
> Error in aldex.clr.function(as.data.frame(reads), conds, mc.samples, denom, :  
> not all reads are integers

aldex2 is looking for integer counts, but picrust2 can output non-integer values as described here:

> [@why PICRUSt2 ko\_metagenome prediction generates non-integer result?](https://forum.qiime2.org/t/why-picrust2-ko-metagenome-prediction-generates-non-integer-result/13105/2):
>
> Hi @Lennon_Lee, The output predicted abundances are the result of multiplying the normalized # of 16S reads for each ASV by the number of KO copies per predicted genome for that ASV. The output is non-integers because the the normalized 16S read counts are generated by dividing the raw 16S abundances by the predicted number of 16S copies in that ASV's genome. I think it's reasonable to round the counts if you want to use DEseq2. I would be more worried about which model to use with DEseq2 bec…

This is why an ASV table works (all values are integers) but picrust2 output does not. Looks like you will need to round those results somehow before passing to aldex2.

Good luck!

cc: @dgiguer and @gmdouglas in case you have anything to add.

---

_[View the full topic](https://forum.qiime2.org/t/aldex2-error-when-processing-picrust2-output/14104)._
