# Q2-picrust2 error

**URL:** https://forum.qiime2.org/t/q2-picrust2-error/7333
**Category:** Library Support
**Created:** [December 7, 2018, 11:36pm UTC](https://forum.qiime2.org/t/q2-picrust2-error/7333 "2018-12-07T23:36:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ajiwahyu](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@ajiwahyu](https://forum.qiime2.org/u/ajiwahyu)
#### Post date: [December 7, 2018, 11:36pm UTC](https://forum.qiime2.org/t/q2-picrust2-error/7333/1 "2018-12-07T23:36:33Z")

</div>

The script worked well. But i got the follwoing error when running qiime picrust2 custom-tree-pipeline command. Any clue on this?

Warning messages:

1: In min(A) : no non-missing arguments to min; returning Inf

2: In max(A) : no non-missing arguments to max; returning -Inf

Error in FUN(X[[i]], ...) : ERROR: All tip states are hidden

Calls: lapply -\> FUN

Execution halted

Error running this command:

Rscript /Volumes/ARMS/18S\_data/Qiime2\_SERIBU/deblur\_results/deblur\_trial/pear\_output/picrust2-2.0.3-b/picrust2/Rscripts/castor\_hsp.R /var/folders/vs/0vv4fwcd6936b33m07w7ylwc0000gn/T/tmpr1l7nueh/placed\_seqs.tre /var/folders/vs/0vv4fwcd6936b33m07w7ylwc0000gn/T/tmpocikcixk/subset\_tab\_0 pic FALSE FALSE /var/folders/vs/0vv4fwcd6936b33m07w7ylwc0000gn/T/tmpk\_hnusep/predicted\_counts.txt /var/folders/vs/0vv4fwcd6936b33m07w7ylwc0000gn/T/tmpk\_hnusep/predicted\_ci.txt 100

Error running this command:

hsp.py -i 16S -t /var/folders/vs/0vv4fwcd6936b33m07w7ylwc0000gn/T/tmpr1l7nueh/placed\_seqs.tre -p 1 -n -o /var/folders/vs/0vv4fwcd6936b33m07w7ylwc0000gn/T/tmpr1l7nueh/picrust2\_out/16S\_predicted -m pic

Aji

---

<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: [December 7, 2018, 11:43pm UTC](https://forum.qiime2.org/t/q2-picrust2-error/7333/2 "2018-12-07T23:43:20Z")

</div>

Hi @ajiwahyu - please see this thread for more info:

> [@Picrust2 error, can't figure it out](https://forum.qiime2.org/t/picrust2-error-cant-figure-it-out/7316/2):
>
> Can you please re-reun this command with the --verbose flag, in case there is more info hiding in there to help diagnose the issue? Thanks!

---

<div class="post-metadata">

### Author: ![ajiwahyu](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@ajiwahyu](https://forum.qiime2.org/u/ajiwahyu)
#### Post date: [December 12, 2018, 6:15pm UTC](https://forum.qiime2.org/t/q2-picrust2-error/7333/3 "2018-12-12T18:15:10Z")

</div>

Hi @thermokarst, this was the output from the command with the verbose flag.

Aji

---

<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: [December 12, 2018, 6:46pm UTC](https://forum.qiime2.org/t/q2-picrust2-error/7333/4 "2018-12-12T18:46:31Z")

</div>

Sorry, please see the thread I linked to, not just that one post the solution is detailed there. Let us know if you get stuck.
