# Subset anaysis: p-sampling-depth 0 for some samples

**URL:** <https://forum.qiime2.org/t/subset-anaysis-p-sampling-depth-0-for-some-samples/4796>\
**Category:** User Support\
**Created:** [June 29, 2018, 12:21pm UTC](https://forum.qiime2.org/t/subset-anaysis-p-sampling-depth-0-for-some-samples/4796 "2018-06-29T12:21:29Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [July 6, 2018, 2:20pm UTC](https://forum.qiime2.org/t/subset-anaysis-p-sampling-depth-0-for-some-samples/4796/6 "2018-07-06T14:20:16Z")

</div>

Hi @Christian_Boedeker,  
What is the command that you wish to use after this? I may be able to suggest a workaround.

This filtering behavior is intended, I would say — there is usually no reason to hang on to samples that contain zero sequences.

You could also try filtering out taxa using `filter-features` as described here:

> [@Error while using metadata-based filtering](https://forum.qiime2.org/t/error-while-using-metadata-based-filtering/3476/17):
>
> Hey there @MartinLubell! Hopefully we can help you out! Hidden away at the end of [this section of the Filtering data tutorial](https://docs.qiime2.org/2018.4/tutorials/filtering/#taxonomy-based-filtering-of-tables-and-sequences) is this little hint: If your filtering query is more complex than those supported through qiime taxa filter-table, you should use qiime feature-table filter-features. Sounds like you are a perfect candidate for this, since your query is becoming a bit complex now, and feature-table filter-features supports [SQL-based queries](https://docs.qiime2.org/2018.4/tutorials/filtering/#metadata-based-filtering), which are super powerful! So, let's rew…

That might not drop samples with zero sequences.

Let us know if that helps!

---

_[View the full topic](https://forum.qiime2.org/t/subset-anaysis-p-sampling-depth-0-for-some-samples/4796)._
