How to combine 3 chips as one?

Dear everyone,

I´m new to qiime and I don’t understand anything on this forum. Forgive me if I sound ignorant but I really need help and my supervisor is asking me to check on the forum on how to combine 3 sequence runs as one. I just want to ask for advice since we run 3 chips already. (1st chip has few good sequence count, 2nd chip has also few sequence count and the 3rd chip has a 75% readable sequence count.)

So what I did was to remove or eliminate the bad sequence count (anything below 1,700 sequence count) by editing the metadata file and choosing the samples which are the good one and re-running them again. But my main problem is how do I combine all the 3 chips ( which have the good sequence count) into 1? How do I merge them??

If someone could explain in a comprehensible way then that would be perfect. And also pls. let me know on what code to write on qiime2 to merge all the three. Thank you so much for your help!

Best regards

Welcome @ssbbrr!

Follow along with this tutorial, specifically the “merging” step that I am linking to below. This tutorial gives an example of how to merge multiple sequencing runs after denoising. If you are importing the raw fastq data into QIIME 2, you can follow all of the steps leading up to merging in this tutorial (whereby each sequencing run is denoised independently). If you have already done denoising outside of QIIME 2, import the results of each run into QIIME 2 as a FeatureTable[Frequency] and then use the merge method to merge these features tables into one:

There are lots of great tutorials on the QIIME 2 website, including some intended to orient beginners. Read through this one, which gives more of a conceptual overview, and then proceed to the others in the tutorial to get a better understanding of how to use QIIME 2 powerfully:

Good luck!

Thanks Nicholas,

So I can combine 3 chips with these codes:

qiime feature-table merge
–i-tables table-1.qza
–i-tables table-2.qza
–I-tables table-3.qza \
–o-merged-table table.qza

qiime feature-table merge-seqs
–i-data rep-seqs-1.qza
–i-data rep-seqs-2.qza
–I-data rep-sees-3.qza
–o-merged-data rep-seqs.qza

And then generate a summary

qiime feature-table summarize
–i-table table.qza
–o-visualization table.qzv
–m-sample-metadata-file sample-metadata.tsv

So my question is, do I have to combine all the metadata set from chip1,chip2, and chip3 ? So I will put them all 3 into one tsv file??



Yes, you should, if only because this is a good opportunity to make sure everything is correct and you have all the same metadata across runs. Make a single TSV out of the 3 and your life will be much easier after that!

Thank you! I will combine all the 3 metadata file into 1 tsv file.

Another question, will there be an overlap between samples with the same barcode sequence or not?

For example:

In my metadata1.tsv,

SampleID BarcodesSequence LinkerPrimerSequence BodySite Days Subject Description
2 TAAGGAGAAC ATTAGATACCCYGGTAGTCC left belly 1 FB1 subject-1.left-belly

In my metadata2.tsv
2 TAAGGAGAAC ATTAGATACCCYGGTAGTCC palm 12 C112 286 subject-3.palm

In my metadata3.tsv
2 TAAGGAGAAC ATTAGATACCCYGGTAGTCC sole 26 A326 688 subject-4.sole

Combining them all in one tsv file will work just fine even though they have the same barcode sequence and sample id, should I change something?


In general, no: the barcodes do not matter at this point, since you have already demultiplexed.


Yes! Change the sample IDs so that all samples have unique IDs. In general, integers make bad sample IDs — use a more readily identifiable or at least unique sample ID. Using an integer ID will not only result in naming conflicts like this, it can also cause some downstream analyses to bug out (and I don’t mean just in QIIME 2 — I mean everywhere: if you use R, statistical software, even Excel for downstream analyses)

1 Like

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