# Sequences disappeared after running qiime feature-table merge-seqs

**URL:** <https://forum.qiime2.org/t/sequences-disappeared-after-running-qiime-feature-table-merge-seqs/19965>\
**Category:** Technical Support\
**Tags:** merge, feature-table\
**Created:** [June 22, 2021, 11:59am UTC](https://forum.qiime2.org/t/sequences-disappeared-after-running-qiime-feature-table-merge-seqs/19965 "2021-06-22T11:59:04Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_Kostovcik](https://forum.qiime2.org/user_avatar/forum.qiime2.org/martin_kostovcik/32/5446_2.png) [@Martin\_Kostovcik](https://forum.qiime2.org/u/Martin_Kostovcik)\
**Post date:** [June 22, 2021, 11:59am UTC](https://forum.qiime2.org/t/sequences-disappeared-after-running-qiime-feature-table-merge-seqs/19965/1 "2021-06-22T11:59:05Z")

</div>

Hi Team,  
I'm experiencing similar/same issue as mentioned in topic : [sequences disappear with this command: qiime feature-table merge-seqs](https://forum.qiime2.org/t/sequences-disappear-with-this-command-qiime-feature-table-merge-seqs/18678)  
which wasn't resolved. After merging several representative\_sequences.qza artifacts it turned out that 2 of the sequences disappeared in the merged file - the features are present in merged table artifact and the way I discovered it was after getting error message when trying to run qiime taxa barplot fot the merged feature table with taxonomy created from merged representative\_sequences.qza artifact.  
My commands were:

```bash
qiime feature-table merge --i-tables /media/storage/Galanova_0520/H4/dada2out/table.qza /media/storage/Galanova_0520/H5/dada2out/table.qza /media/storage/Galanova_0520/H6/dada2out/table.qza --o-merged-table /media/storage/Galanova_0520/Fungi_joined/merged_table --p-overlap-method sum;
qiime feature-table summarize --i-table /media/storage/Galanova_0520/Fungi_joined/merged_table.qza --m-sample-metadata-file /media/storage/Galanova_0520/Fungi_all_mapping.txt --o-visualization /media/storage/Galanova_0520/Fungi_joined/merged_table;
qiime feature-table merge-seqs --i-data /media/storage/Galanova_0520/H4/dada2out/representative_sequences_H4.qza /media/storage/Galanova_0520/H5/dada2out/representative_sequences_H5.qza /media/storage/Galanova_0520/H6/dada2out/representative_sequences_H6.qza --o-merged-data /media/storage/Galanova_0520/Fungi_joined/rep-seqs-dada2_full_merged;
qiime feature-table tabulate-seqs --i-data /media/storage/Galanova_0520/Fungi_joined/rep-seqs-dada2_full_merged.qza --o-visualization /media/storage/Galanova_0520/Fungi_joined/rep-seqs-dada2_full_merged;

```

I'm running qiime2-2021.4 nativelly installed.  
Thanks for any advice.  
Martin

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [June 24, 2021, 11:57pm UTC](https://forum.qiime2.org/t/sequences-disappeared-after-running-qiime-feature-table-merge-seqs/19965/2 "2021-06-24T23:57:23Z")

</div>

Hi @Martin_Kostovcik - can you please share the two summary QZVs you listed above:

1. `merged_table.qzv`
2. `rep-seqs-dada2_full_merged.qzv`

---

<div class="post-metadata">

**Author:** ![Martin\_Kostovcik](https://forum.qiime2.org/user_avatar/forum.qiime2.org/martin_kostovcik/32/5446_2.png) [@Martin\_Kostovcik](https://forum.qiime2.org/u/Martin_Kostovcik)\
**Post date:** [June 25, 2021, 12:13pm UTC](https://forum.qiime2.org/t/sequences-disappeared-after-running-qiime-feature-table-merge-seqs/19965/3 "2021-06-25T12:13:48Z")

</div>

> [@Martin\_Kostovcik](#):
>
> `/media/storage/Galanova_0520/Fungi_joined/merged_table`

Hi,  
here it is. Thanks for looking into it and eny clues about the issue.  
Martin[rep-seqs-dada2\_full\_merged[1].qzv](https://forum.qiime2.org/uploads/short-url/d6zOZn9TZUgFJPQplSv7nmtG8B.qzv) (523.0 KB) [merged\_table[1].qzv](https://forum.qiime2.org/uploads/short-url/jjf0vErN5iTEOeGt2UQZVuW6H5j.qzv) (572.2 KB)

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [June 30, 2021, 6:35pm UTC](https://forum.qiime2.org/t/sequences-disappeared-after-running-qiime-feature-table-merge-seqs/19965/4 "2021-06-30T18:35:43Z")

</div>



---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [June 30, 2021, 6:40pm UTC](https://forum.qiime2.org/t/sequences-disappeared-after-running-qiime-feature-table-merge-seqs/19965/5 "2021-06-30T18:40:54Z")

</div>

Thanks for sharing those files @Martin_Kostovcik!

> [@Martin\_Kostovcik](#):
>
> it turned out that 2 of the sequences disappeared in the merged file

Can you elaborate further on why you think you're missing features? The two visualizations you shared indicate that the feature count is matched between the two:

merged seqs:

 ![Screen Shot 2021-06-30 at 11.39.59 AM](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/4/4efbd57fd4fcee5876f988a2334c3abc93be4d5a.png)

merged tables:

 ![Screen Shot 2021-06-30 at 11.40.08 AM](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/8/8fe976faa7f5c47d7be8349d33fef8ae9b276812.png)

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [June 30, 2021, 6:40pm UTC](https://forum.qiime2.org/t/sequences-disappeared-after-running-qiime-feature-table-merge-seqs/19965/6 "2021-06-30T18:40:57Z")

</div>



---

<div class="post-metadata">

**Author:** ![Martin\_Kostovcik](https://forum.qiime2.org/user_avatar/forum.qiime2.org/martin_kostovcik/32/5446_2.png) [@Martin\_Kostovcik](https://forum.qiime2.org/u/Martin_Kostovcik)\
**Post date:** [July 1, 2021, 6:36am UTC](https://forum.qiime2.org/t/sequences-disappeared-after-running-qiime-feature-table-merge-seqs/19965/7 "2021-07-01T06:36:34Z")

</div>

Oooh,  
my fault. Sorry I was a bit confused with the identical name of the file and uploaded a different on. So once again and better attaching two rep\_seq files which after merging lost 2 features - fc57242f57cf161639b4180ff801742b and 355f5cde4f0b2ac57f32bb419ff55c33. I found out that after getting error from classification abous missing features. Those features are present in the first rep\_seq files being merged.....no idea what happened. Sorry once again for attaching incorrect file i was in hurry a bit.  
The command was : qiime feature-table merge-seqs --i-data /media/storage/Galanova\_0520/Fungi\_joined/rep-seqs-dada2\_full\_merged.qza /media/storage/Kostovcikova\_bobky\_0521/210510\_Kostovcikova20210510/raw\_fastq/Fungi/KostH4/dada2out/representative\_sequences.qza --o-merged-data /media/storage/Kostovcikova\_bobky\_0521/210510\_Kostovcikova20210510/raw\_fastq/Fungi/TD\_KK\_OLOMOUC\_FUNG\_JOINED\_W\_0520/rep-seqs-dada2\_full\_merged;  
[rep-seqs-dada2\_full\_merged[1].qzv](https://forum.qiime2.org/uploads/short-url/d6zOZn9TZUgFJPQplSv7nmtG8B.qzv) (523.0 KB) [rep-seqs-dada2\_full\_merged[1].qzv](https://forum.qiime2.org/uploads/short-url/7ZCim8tBe6Sr00sMQlo6DhPy46x.qzv) (683.3 KB)  
The second one is the merged file.  
Thanks for any clue.  
Martin

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [July 2, 2021, 4:19pm UTC](https://forum.qiime2.org/t/sequences-disappeared-after-running-qiime-feature-table-merge-seqs/19965/8 "2021-07-02T16:19:20Z")

</div>

Hi @Martin_Kostovcik - I suggest you double-check your book-keeping - these two visualizations have completely different provenance. If you trace back, even the import steps show that you imported different data between the two runs. Double-check that you have everything in order and let us know what you find.

---

<div class="post-metadata">

**Author:** ![Martin\_Kostovcik](https://forum.qiime2.org/user_avatar/forum.qiime2.org/martin_kostovcik/32/5446_2.png) [@Martin\_Kostovcik](https://forum.qiime2.org/u/Martin_Kostovcik)\
**Post date:** [July 20, 2021, 12:27pm UTC](https://forum.qiime2.org/t/sequences-disappeared-after-running-qiime-feature-table-merge-seqs/19965/9 "2021-07-20T12:27:14Z")

</div>

Hi Matt,  
so I double-checked the files renamed the outputs and it's working now by what I mean those two missing features are in the merged table as well as in merged rep\_seq file. I used exactly the same command as in a previous post just changed the name of the output file. I'm attaching once again both files - the old one with missing features (fc57242f57cf161639b4180ff801742b; 355f5cde4f0b2ac57f32bb419ff55c33) and the new one without missing features. Both files as I mentioned, were created using the same command : qiime feature-table merge-seqs --i-data /media/storage/Galanova\_0520/Fungi\_joined/rep-seqs-dada2\_full\_merged.qza /media/storage/Kostovcikova\_bobky\_0521/210510\_Kostovcikova20210510/raw\_fastq/Fungi/KostH4/dada2out/representative\_sequences.qza --o-merged-data /media/storage/Kostovcikova\_bobky\_0521/210510\_Kostovcikova20210510/raw\_fastq/Fungi/TD\_KK\_OLOMOUC\_FUNG\_JOINED\_W\_0520/rep-seqs-dada2\_full\_merged\_test; There is a difference of 5 extra features in the latter "test" file.[rep-seqs-dada2\_full\_merged[1].qzv](https://forum.qiime2.org/uploads/short-url/7ZCim8tBe6Sr00sMQlo6DhPy46x.qzv) (683.3 KB) [rep-seqs-dada2\_full\_merged\_test[1].qzv](https://forum.qiime2.org/uploads/short-url/ofRXLGe7XVRJDXztbi4AF81gtyb.qzv) (686.5 KB)  
No idea where was a problem but it's working now. Thanks for your help and guidance.

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [July 26, 2021, 5:36am UTC](https://forum.qiime2.org/t/sequences-disappeared-after-running-qiime-feature-table-merge-seqs/19965/10 "2021-07-26T05:36:26Z")

</div>



---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [July 27, 2021, 7:23pm UTC](https://forum.qiime2.org/t/sequences-disappeared-after-running-qiime-feature-table-merge-seqs/19965/11 "2021-07-27T19:23:30Z")

</div>

> [@Martin\_Kostovcik](#):
>
> No idea where was a problem but it's working now

Hi @Martin_Kostovcik - the _initial data import_ represented completely different data (I'll include just the md5 sums for the barcode files imported, for brevity)

- [viz #1](https://forum.qiime2.org/uploads/short-url/d6zOZn9TZUgFJPQplSv7nmtG8B.qzv) (UUID `193291cf-6b93-4f63-82bd-72d11f47f632`):
  - `7e4716b1a417ab41344a7c30dd4dd5df`
  - `9dca27c5264f9651a1f6be5dc3b2692a`
  - `a84ed9453e5a263ef12da9fc8de1b37c`

- [viz #2](https://forum.qiime2.org/uploads/short-url/7ZCim8tBe6Sr00sMQlo6DhPy46x.qzv) (UUID `416e832d-c25b-4b50-8645-61af65d31f3a`) (note, this file was shared twice in this thread):
  - `26f10d401ea1f3d1791b5b1a6e513775`
  - `442d55f690a8ce50fd91a23c98a37595`
  - `8d4a528bedb4426a364d5de895bbb0d1`
  - `f0c2f5321f4451ffd3efa29bf425836c`

- [viz #3](https://forum.qiime2.org/uploads/short-url/ofRXLGe7XVRJDXztbi4AF81gtyb.qzv) (UUID `c5d9035f-5774-4970-976c-8f5074154880`)
  - `7e4716b1a417ab41344a7c30dd4dd5df`
  - `8d4a528bedb4426a364d5de895bbb0d1`
  - `9dca27c5264f9651a1f6be5dc3b2692a`
  - `a84ed9453e5a263ef12da9fc8de1b37c`

This is why I'm thinking you have a book-keeping issue - it sounds like you got everything sorted out, but in case something like this happens again, pay careful attention to what files you are using, and where/when. Good luck!

:qiime2:

PS - you can see those md5sums here when you click on the "provenance" tab on [view.qiime2.org](http://view.qiime2.org) after loading a file:

![Screen Shot 2021-07-27 at 12.23.13 PM](https://forum.qiime2.org/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [July 27, 2021, 7:23pm UTC](https://forum.qiime2.org/t/sequences-disappeared-after-running-qiime-feature-table-merge-seqs/19965/12 "2021-07-27T19:23:33Z")

</div>



---

<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:** [August 28, 2021, 1:23am UTC](https://forum.qiime2.org/t/sequences-disappeared-after-running-qiime-feature-table-merge-seqs/19965/13 "2021-08-28T01:23:37Z")

</div>

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