# Filtering Samples in a Metabarcoding Dataset by Source Without Restarting the Pipeline

**URL:** <https://forum.qiime2.org/t/filtering-samples-in-a-metabarcoding-dataset-by-source-without-restarting-the-pipeline/25545>\
**Category:** User Support\
**Tags:** filtering\
**Created:** [February 18, 2023, 6:19am UTC](https://forum.qiime2.org/t/filtering-samples-in-a-metabarcoding-dataset-by-source-without-restarting-the-pipeline/25545 "2023-02-18T06:19:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Antani](https://forum.qiime2.org/user_avatar/forum.qiime2.org/antani/32/11545_2.png) [@Antani](https://forum.qiime2.org/u/Antani)\
**Post date:** [February 18, 2023, 6:19am UTC](https://forum.qiime2.org/t/filtering-samples-in-a-metabarcoding-dataset-by-source-without-restarting-the-pipeline/25545/1 "2023-02-18T06:19:56Z")

</div>

Hello everyone,

I'm currently working with a large metabarcoding dataset consisting of over 300 samples from three distinct biological sources, which I'll refer to as A, B, and C. While all of this information is available in my sample metadata file, which contains numerous variables, my goal is to analyze only the samples from source A. My question is whether it's possible to filter out the samples from source A without needing to start the entire pipeline from scratch by reimporting all of the sequences?

Thank you so much for the support!

---

<div class="post-metadata">

**Author:** ![timanix](https://forum.qiime2.org/user_avatar/forum.qiime2.org/timanix/32/17879_2.png) [@timanix](https://forum.qiime2.org/u/timanix)\
**Post date:** [February 18, 2023, 7:37am UTC](https://forum.qiime2.org/t/filtering-samples-in-a-metabarcoding-dataset-by-source-without-restarting-the-pipeline/25545/2 "2023-02-18T07:37:21Z")

</div>

Hello!

Please, check Qiime2 [filtering tutorial](https://docs.qiime2.org/2022.11/tutorials/filtering/) - one can filter feature table based on metadata values, that's mean that you can create a new feature table from the table with all samples which will contain only the samples of the interest.

Best,

---

<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:** [March 21, 2023, 1:37pm UTC](https://forum.qiime2.org/t/filtering-samples-in-a-metabarcoding-dataset-by-source-without-restarting-the-pipeline/25545/3 "2023-03-21T13:37:49Z")

</div>

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