Taxonomic analysis could not exclude samples with lower sampling depths


Hi,
How to exclude the lower sampling depth from taxonomic analysis? You could see the bars only contains one order is the one only contain few counts with lower sampling depth, how to exclude them in the taxa-bar-plot?
Thank you.
Best,
Qiong

Hi @doudou2047,

You need to filter your table.

I suggest going into a feature table summary and looking at the sequencing depth distribution. I also like to check a rarefaction curve to see how much diversity I’ll capture. And then, after you figure out your filtering parameters (i.e. each sample needs at least 1000 seqs/sample), I would run qiime feature-table filter-table. There’s a filtering tutorial here.

Best,
Justine

3 Likes

Hi, @jwdebelius
I tested rarefy the feature table yesterday.


I am not sure it is the same thing with filter-table.
The sampling depth (5000) I choose is based on the feature table.
And I am not sure how to choose the parameters from the rarefaction curve.

S.5763.V10 5,492
S.1136.V13 5,460
S.5649.V8 4,898
S.7733.V1 3,255
S.5981.V6 3,070
S.5488.V9 2,682
S.7825.V2 2,507
S.4890.V2 2,262
S.7789.V2 2,184
S.4907.V5 2,112
S.5095.V14 1,740
S.5081.V11 1,630
S.7696.V1 1,178
S.1868.V5 378
S.5486.V10 342
S.4875.V2 308
S.1012.V20 255
S.1107.V16 127
S.7720.V1 56
S.6055.V5 50
S.4904.V3 48
S.4928.V3 36

Thank you so much for your patience.
Best,
Qiong

Hi @doudou2047,

Thanks so much for the additional information! When you look at your rarefied table, have you gotten rid of the samples that have low sequencing depth?

You’re right, it’s not the same as filtering your table. You want to explore qiime feature-table filter-samples to get rid of your low abundance samples and keep a matched set with your rarefied table.

Best,
Justine

Hi, @jwdebelius,
Thank you for your reply. The rarefy table seems already filtered all the low sequencing depth samples.
I think it works too…
However, I have no idea about the difference of two of them “feature-table-filter-samples” and the “feature-table rarefy”. Seem I am not fully understand what the rarefy table mean.
I will try filter the feature table and update later.
Thank you,
Best,
Qiong

Hi @doudou2047,

Rarefaction is subsampling without replacement to a sequencing depth. It gives you an approximately even number of sequences, so that everything is weighted. Rarefaction works in two steps. First, it removes any sample below the specified rarefaction depth. And then, it subsamples without replacement ot the specified depth. So, it will automatically filter out your low abundance samples.

Rarefaction is contraversial. It’s generally recommended for diversity analysis (except q2-breakaway), because otherwise you see the difference in sequencing depth driving the observed differences in diversity.

In general, even if you’re using relative abundance data, you still want to filter out low abundance samples (which you do with filter samples). This removes the samples below the specified threshhold but doesn’t alter the counts.

Hope this is somewhat helpful.

Best,
Justine

2 Likes

An off-topic reply has been split into a new topic: Taxonomy assignment and rarefying

Please keep replies on-topic in the future.

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