# how to deal with technical replicates

**URL:** https://forum.qiime2.org/t/how-to-deal-with-technical-replicates/19837
**Category:** General Discussion
**Created:** [June 8, 2021, 4:43pm UTC](https://forum.qiime2.org/t/how-to-deal-with-technical-replicates/19837 "2021-06-08T16:43:16Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Ming](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@Ming](https://forum.qiime2.org/u/Ming)
#### Post date: [June 8, 2021, 4:43pm UTC](https://forum.qiime2.org/t/how-to-deal-with-technical-replicates/19837/1 "2021-06-08T16:43:16Z")

</div>

Hi all,

I am doing rumen microbiome analysis. And I would like to extract rumen fluid from cattle to do in vitro analysis. For rumen fluid collected from each of the cattle, I would like do compare the effect of treatment to the microbiome profiles and fermentation characteristics using in vitro culture. So I think rumen fluid from different cattle can be considered as biological replicates. For chemical data, I can simply average the technical replicates. My question is how do I deal with the technical replicates for microbiome data? Should I compare the similarity of the sample and choose only one of the replicates or should I merge them? or can I simply combine the DNA from each replicates as one sample for sequencing?

> [@The effect of duplicate and triplicate samples in 16S downstream analysis](https://forum.qiime2.org/t/the-effect-of-duplicate-and-triplicate-samples-in-16s-downstream-analysis/7029):
>
> Hi, I would like to get input concerning handling of duplicate/triplicate samples in microbiome data analysis. So I had a total of 56 samples of which I decided to sequence some of them (their DNA) in duplicate and triplicate (19 samples in duplicate and 4 samples in triplicate). The idea was just to check for reproducibility of the sequencing. However, I am in a bit of a dilemma whether to do my final analysis including the duplicate and triplicate samples or whether I should just choose a r…

I have came across this post, however, they were talking about simply sequence the same sample for multiple times while in my case, the samples are actually from different replicates.

Thanks,  
Ming

---

<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: [June 8, 2021, 5:39pm UTC](https://forum.qiime2.org/t/how-to-deal-with-technical-replicates/19837/2 "2021-06-08T17:39:35Z")

</div>

Hi, Ming!  
Currently I am analyzing a rumen microbiome as well 👋.  
I am treating rumen fluid samples from different cows as biological replicates. I did not pool DNA in one sample, neither I merge them in my table. To perform any statistical analysis, or to get an overview of microbiome it is better to have replicates, rather than pool them together.

---

<div class="post-metadata">

### Author: ![Ming](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@Ming](https://forum.qiime2.org/u/Ming)
#### Post date: [June 8, 2021, 7:05pm UTC](https://forum.qiime2.org/t/how-to-deal-with-technical-replicates/19837/3 "2021-06-08T19:05:52Z")

</div>

Hi @timanix, thank you for your reply.  
I am not talking about merging biological replicates, I am talking about technical replicates. Say for rumen fluid collect from each cattle, I am doing in vitro culture and inhibition study. So rumen fluid from one cattle will be used in multiple in vitro culture as technical replicates.

---

<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: [June 9, 2021, 7:14am UTC](https://forum.qiime2.org/t/how-to-deal-with-technical-replicates/19837/4 "2021-06-09T07:14:37Z")

</div>

Sorry, I misread your post.  
Hope, this time I understood you correctly: You have biological replicates from different cows, plus technical replicates (rumen fluid from one cow divided for replicates in _in vitro_ system). In such case, I would sequence each replicate (biological and technical) separately.  
In our case, we sampled rumen fluids for sequencing before _in vitro_ system, and mixed them (same breed). Mixed rumen fluids were replicated in _in vitro_ system and sequenced separately.

---

<div class="post-metadata">

### Author: ![Ming](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@Ming](https://forum.qiime2.org/u/Ming)
#### Post date: [June 9, 2021, 1:01pm UTC](https://forum.qiime2.org/t/how-to-deal-with-technical-replicates/19837/5 "2021-06-09T13:01:45Z")

</div>

Hi @timanix , that's what I thought, but after gone through the post I mentioned in my post, I am not sure about what to do. They argued about the biases from technical replicates as microbiome analysis is sample size dependent. However, what they talked about is sequencing the same sample multiple times while mine is not exactly the "same" samples. They are from different in vitro cultures. For chemical data from technical replicates we usually average them for stats, but I am not sure how to deal with sequencing data.

---

<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: [June 9, 2021, 1:32pm UTC](https://forum.qiime2.org/t/how-to-deal-with-technical-replicates/19837/6 "2021-06-09T13:32:03Z")

</div>

> [@Ming](#):
>
> They argued about the biases from technical replicates as microbiome analysis is sample size dependent. However, what they talked about is sequencing the same sample multiple times while mine is not exactly the “same” samples. They are from different in vitro cultures.

In my opinion, all your replicates are in fact biological replicates, since they are sampled from different _in vitro_ cultures, even if some of them are originated from one cow, and other from different cows. I would treat them accordingly, and you always will have an information about the origin of each sample (cow + _in vitro_ culture) in your metadata file, so you will be able to merge this samples later if necessary.  
It is different from technical replicates in the discussion, since in their case it were the same samples, sequenced multiple times.

---

<div class="post-metadata">

### Author: ![Ming](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@Ming](https://forum.qiime2.org/u/Ming)
#### Post date: [June 9, 2021, 2:22pm UTC](https://forum.qiime2.org/t/how-to-deal-with-technical-replicates/19837/7 "2021-06-09T14:22:02Z")

</div>

Thanks @timanix , that makes sense. However, can you specify how would you like to deal with the variation among cows. Do you mean merged the biom table from _in vitro_ replicates from same cows? For example, for constructing PCoA plot for beta-diversity, will you treat culture replicates as individual points (if you do so, how do you deal with the variation from cows), or merge them? For me, merge the table make more sense.

Best,  
Ming

---

<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: [June 9, 2021, 2:42pm UTC](https://forum.qiime2.org/t/how-to-deal-with-technical-replicates/19837/8 "2021-06-09T14:42:51Z")

</div>

I would prefer not to merge at all. So, my answer on this question:

> [@Ming](#):
>
> For example, for constructing PCoA plot for beta-diversity, will you treat culture replicates as individual points (if you do so, how do you deal with the variation from cows)

will be that I would keep them as separate points. You can differentiate cows by color, size or shape of points.  
But, if it is necessary, or you want to clean mess in PCoA, you will be able to merge samples by any metadata column (for example, merge samples from one cow, as you described). Note that by merging you will decrease statistical power of the analysis, but it depends on your setup.

PS. In case (only) if there is a limit in the number of samples to sequence, I would also consider choosing representative samples from in-vitro replicates or pooling a DNA to one sample.

---

<div class="post-metadata">

### Author: ![Ming](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@Ming](https://forum.qiime2.org/u/Ming)
#### Post date: [June 9, 2021, 3:06pm UTC](https://forum.qiime2.org/t/how-to-deal-with-technical-replicates/19837/9 "2021-06-09T15:06:36Z")

</div>

Thank you very much @timanix for your detail explanation.  
Just to verify one last thing, I could treat all samples within same treatment from different cows as replicates when comparing control vs. treatment no matter microbiome data or chemical data as they are all the biological replicates. Is that correct?  
Sorry, my stats knowledges is restricted to nutritional and chemical data. Normally, I would use mixed model and with RCBD to treat different cows as block. However, as microbiome data are usually non-normally distributed, my knowledge is limited regarding non normally distributed data.

Thanks,  
Ming

---

<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: [June 9, 2021, 6:46pm UTC](https://forum.qiime2.org/t/how-to-deal-with-technical-replicates/19837/10 "2021-06-09T18:46:43Z")

</div>

> [@Ming](#):
>
> Just to verify one last thing, I could treat all samples within same treatment from different cows as replicates when comparing control vs. treatment no matter microbiome data or chemical data as they are all the biological replicates. Is that correct?

I suppose so  
For alpha and beta diversity metrics Kruskal Wallis and permanova tests are implemented in alpha and beta group significance plugins.
