# How to filter OUTS based both length and frequence ？

**URL:** https://forum.qiime2.org/t/how-to-filter-outs-based-both-length-and-frequence/17332
**Category:** User Support
**Tags:** filtering
**Created:** [November 4, 2020, 9:05am UTC](https://forum.qiime2.org/t/how-to-filter-outs-based-both-length-and-frequence/17332 "2020-11-04T09:05:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![111](https://forum.qiime2.org/user_avatar/forum.qiime2.org/111/32/6624_2.png) [@111](https://forum.qiime2.org/u/111)
#### Post date: [November 4, 2020, 9:05am UTC](https://forum.qiime2.org/t/how-to-filter-outs-based-both-length-and-frequence/17332/1 "2020-11-04T09:05:34Z")

</div>

Hello，I have finished running the `vsearch`  
and got the outputs:

```auto
rep-seqs.qza
table.qza

```

How can I filtering the reads with length \< 1600 and frequence \> 3 and get the  
**new** files for

```auto
rep-seqs_filter.qza
table_filter.qza

```

Thanks!!!!

---

<div class="post-metadata">

### Author: ![SoilRotifer](https://forum.qiime2.org/user_avatar/forum.qiime2.org/soilrotifer/32/21071_2.png) [@SoilRotifer](https://forum.qiime2.org/u/SoilRotifer)
#### Post date: [November 4, 2020, 1:50pm UTC](https://forum.qiime2.org/t/how-to-filter-outs-based-both-length-and-frequence/17332/2 "2020-11-04T13:50:28Z")

</div>

Hi @111,

Take a look at our extensive [documentation](https://docs.qiime2.org/2020.8/) 📑 , specifically [filtering by frequency](https://docs.qiime2.org/2020.8/tutorials/filtering/#total-frequency-based-filtering). If you'd like to filter based on sequence length you can install the [RESCRIPt plugin](https://github.com/bokulich-lab/RESCRIPt) 📜 , and use either the [filter-seqs-length](https://forum.qiime2.org/t/processing-filtering-and-evaluating-the-silva-database-and-other-reference-sequence-data-with-rescript/15494#heading--twelfth-header) or [filter-seqs-length-by-taxon](https://forum.qiime2.org/t/processing-filtering-and-evaluating-the-silva-database-and-other-reference-sequence-data-with-rescript/15494#heading--fourth-header) actions 📏.

---

<div class="post-metadata">

### Author: ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)
#### Post date: [December 5, 2020, 7:50pm UTC](https://forum.qiime2.org/t/how-to-filter-outs-based-both-length-and-frequence/17332/3 "2020-12-05T19:50:35Z")

</div>

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