# Merging data from different datasets

**URL:** https://forum.qiime2.org/t/merging-data-from-different-datasets/24780
**Category:** User Support
**Created:** [November 16, 2022, 5:40pm UTC](https://forum.qiime2.org/t/merging-data-from-different-datasets/24780 "2022-11-16T17:40:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![karina\_F](https://forum.qiime2.org/user_avatar/forum.qiime2.org/karina_f/32/14340_2.png) [@karina\_F](https://forum.qiime2.org/u/karina_F)
#### Post date: [November 16, 2022, 5:40pm UTC](https://forum.qiime2.org/t/merging-data-from-different-datasets/24780/1 "2022-11-16T17:40:37Z")

</div>

Hi!  
I have 2 datasets from iluminaseq and I need to merge them into a single feature table, is it possible to do that, and if so would it be at the time of writing the code to generate a feature table, or is there a previous step?

I remain attentive to any help

thanks to all

---

<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: [November 16, 2022, 6:15pm UTC](https://forum.qiime2.org/t/merging-data-from-different-datasets/24780/2 "2022-11-16T18:15:14Z")

</div>

Hey Karina,

Because the error pattern is unique to each run, it's recommended to denoise each run separately and then merge your feature tables.

This only works if the _exact_ same region is sequenced on both runs and the same trimming settings are used! (See [this forum thread](https://forum.qiime2.org/t/dada2-merging-and-comparing-different-data-sets/18326/2) and [GitHub issue](https://github.com/benjjneb/dada2/issues/716).)

After dada2, run  
[merge: Combine multiple tables — QIIME 2 2022.8.3 documentation](https://docs.qiime2.org/2022.8/plugins/available/feature-table/merge/) and  
[merge-seqs: Combine collections of feature sequences — QIIME 2 2022.8.3 documentation](https://docs.qiime2.org/2022.8/plugins/available/feature-table/merge-seqs/)  
then continue on to tax classification and diversity analysis.

(When I merge Illumina runs, I add a column to my metadata like `runNumber` so that I test for run-to-run variation after I merge.)

---

<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 18, 2022, 12:15am UTC](https://forum.qiime2.org/t/merging-data-from-different-datasets/24780/3 "2022-12-18T00:15:58Z")

</div>

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