# PICRUST2 removing all ASV sequence

**URL:** <https://forum.qiime2.org/t/picrust2-removing-all-asv-sequence/23537>\
**Category:** Other Bioinformatics Tools\
**Tags:** dada2, asv, picrust\
**Created:** [July 2, 2022, 7:58pm UTC](https://forum.qiime2.org/t/picrust2-removing-all-asv-sequence/23537 "2022-07-02T19:58:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shandry123](https://forum.qiime2.org/user_avatar/forum.qiime2.org/shandry123/32/12060_2.png) [@Shandry123](https://forum.qiime2.org/u/Shandry123)\
**Post date:** [July 2, 2022, 7:58pm UTC](https://forum.qiime2.org/t/picrust2-removing-all-asv-sequence/23537/1 "2022-07-02T19:58:08Z")

</div>

Dear Qiime 2 community,

I'm trying to do pathway analysis using PICRUST2. All files are changed to the required format which is .fna and biom. However, when I apply this command " place\_seqs.py -s seqtablefungi.fna -o out.tre -p 2" all the sequences are removed and only one is retained for downstream analysis. How can I solve this problem? The output message says "This is the set of poorly aligned input sequences".

I would really appreciate your assistance. here is there image of my codes and output.

 ![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/d/d1e07fabbd3fac4247794151fc9110eb816aa18c.jpeg)

---

<div class="post-metadata">

**Author:** ![colinbrislawn](https://forum.qiime2.org/user_avatar/forum.qiime2.org/colinbrislawn/32/6221_2.png) [@colinbrislawn](https://forum.qiime2.org/u/colinbrislawn)\
**Post date:** [July 3, 2022, 6:27pm UTC](https://forum.qiime2.org/t/picrust2-removing-all-asv-sequence/23537/2 "2022-07-03T18:27:42Z")

</div>

Good afternoon,

The reason is hiding in the warning message: 🔍  
`Warning - 1448 input sequences aligned poorly to the reference sequences. ... will be excluded from downstream steps.`

As also mentioned in the error, consider adjusting the `--min_align` option.

Also check that your ASVs are in the same direction as the reference, as reverse and reverse complemented orientations are not considered! 🔁

---

<div class="post-metadata">

**Author:** ![Shandry123](https://forum.qiime2.org/user_avatar/forum.qiime2.org/shandry123/32/12060_2.png) [@Shandry123](https://forum.qiime2.org/u/Shandry123)\
**Post date:** [July 4, 2022, 4:57am UTC](https://forum.qiime2.org/t/picrust2-removing-all-asv-sequence/23537/3 "2022-07-04T04:57:12Z")

</div>

Hi Colin, thanks for the response. Do you think if I use the code min\_align, it will also include the sequences that are poorly aligned?

How do I check if ASVs are in the same direction with reference?

---

<div class="post-metadata">

**Author:** ![colinbrislawn](https://forum.qiime2.org/user_avatar/forum.qiime2.org/colinbrislawn/32/6221_2.png) [@colinbrislawn](https://forum.qiime2.org/u/colinbrislawn)\
**Post date:** [July 4, 2022, 3:59pm UTC](https://forum.qiime2.org/t/picrust2-removing-all-asv-sequence/23537/5 "2022-07-04T15:59:10Z")

</div>

> [@Shandry123](#):
>
> Hi Colin, thanks for the response. Do you think if I use the code min\_align, it will also include the sequences that are poorly aligned?

Yes. You could pass `--min_align 0.7` to drop the inclusion threshold to 70%, or `--min_align 0.6` to drop the inclusion threshold to 60% similar to reference.

However, it's pretty strange for almost none of your reads to be matching against the references. This is why we should check if something else is going on.

> [@Shandry123](#):
>
> How do I check if ASVs are in the same direction with reference?

There's a few ways I've done this before, but I'm not sure what's the recomended pipeline with Qiime2.

---

<div class="post-metadata">

**Author:** ![Shandry123](https://forum.qiime2.org/user_avatar/forum.qiime2.org/shandry123/32/12060_2.png) [@Shandry123](https://forum.qiime2.org/u/Shandry123)\
**Post date:** [July 4, 2022, 6:50pm UTC](https://forum.qiime2.org/t/picrust2-removing-all-asv-sequence/23537/6 "2022-07-04T18:50:02Z")

</div>

Thanks so much Colin, could you kindly share the ways you know and the type of pipeline? Because I used DADA2 to generate these ASVs.

Thank you!!

---

<div class="post-metadata">

**Author:** ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)\
**Post date:** [August 5, 2022, 4:56pm UTC](https://forum.qiime2.org/t/picrust2-removing-all-asv-sequence/23537/10 "2022-08-05T16:56:18Z")

</div>



---

<div class="post-metadata">

**Author:** ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)\
**Post date:** [March 21, 2023, 5:30pm UTC](https://forum.qiime2.org/t/picrust2-removing-all-asv-sequence/23537/11 "2023-03-21T17:30:51Z")

</div>


