# SRS as a normalisation method.

**URL:** https://forum.qiime2.org/t/srs-as-a-normalisation-method/30531
**Category:** Developer Discussion
**Tags:** normalization
**Created:** [June 18, 2024, 4:18pm UTC](https://forum.qiime2.org/t/srs-as-a-normalisation-method/30531 "2024-06-18T16:18:07Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![MarwaTawfik](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/m/ee59a6/32.png) [@MarwaTawfik](https://forum.qiime2.org/u/MarwaTawfik)
#### Post date: [June 18, 2024, 4:18pm UTC](https://forum.qiime2.org/t/srs-as-a-normalisation-method/30531/1 "2024-06-18T16:18:07Z")

</div>

Hi team

I am interested to add [SRS](https://github.com/vitorheidrich/SRS) as a plug-in in qiime2 and would be appreciated if you could give me some guidance of how I can implement this as a plug-in in qiime2?

Thanks in advance  
Marwa

---

<div class="post-metadata">

### Author: ![jwdebelius](https://forum.qiime2.org/user_avatar/forum.qiime2.org/jwdebelius/32/9655_2.png) [@jwdebelius](https://forum.qiime2.org/u/jwdebelius)
#### Post date: [June 18, 2024, 4:40pm UTC](https://forum.qiime2.org/t/srs-as-a-normalisation-method/30531/2 "2024-06-18T16:40:57Z")

</div>

Hi @MarwaTawfik,

Not to discourage you, but have you seen q2-SRS?

[https://library.qiime2.org/plugins/q2-srs/31/](https://library.qiime2.org/plugins/q2-srs/31/)

Best,  
Justine

---

<div class="post-metadata">

### Author: ![MarwaTawfik](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/m/ee59a6/32.png) [@MarwaTawfik](https://forum.qiime2.org/u/MarwaTawfik)
#### Post date: [June 19, 2024, 5:04pm UTC](https://forum.qiime2.org/t/srs-as-a-normalisation-method/30531/3 "2024-06-19T17:04:31Z")

</div>

That is not discouraging, I just don't want to use rarefaction but SRS instead. Thanks for sharing this. I have been using nf-core/ampliseq so they haven't incorporated this yet. Do you contribute too to nf-core/ampliseq upgrades? as they are currenlty only using rarefaction option from qiime2.

---

<div class="post-metadata">

### Author: ![MarwaTawfik](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/m/ee59a6/32.png) [@MarwaTawfik](https://forum.qiime2.org/u/MarwaTawfik)
#### Post date: [June 19, 2024, 5:07pm UTC](https://forum.qiime2.org/t/srs-as-a-normalisation-method/30531/4 "2024-06-19T17:07:55Z")

</div>

Here is my thread awhile ago, regarding this.  
Could you please help with the container part?

 ![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/a/9/a9a5c6f79598ddda097d320313da49ba6692403f.png)

> I had a short look and found that SRS has an R package and is in conda-forge, see [r-srs - conda-forge | Anaconda.org](https://anaconda.org/conda-forge/r-srs), but I could not find a docker or singularity container, which is a prerequisite to integrate it (might have missed it, also possible to create own container ofc).  
> It also doesnt seem to be in any QIIME2 container, see [Index of /qiime2/](https://packages.qiime2.org/qiime2/)

---

<div class="post-metadata">

### Author: ![cherman2](https://forum.qiime2.org/user_avatar/forum.qiime2.org/cherman2/32/17129_2.png) [@cherman2](https://forum.qiime2.org/u/cherman2)
#### Post date: [June 20, 2024, 10:42pm UTC](https://forum.qiime2.org/t/srs-as-a-normalisation-method/30531/5 "2024-06-20T22:42:17Z")

</div>

Hi @MarwaTawfik,  
Have you looked at this post? It discusses how to install an r package in our docker image: [Install phyloseq in qiime2 docker container - #7 by thermokarst](https://forum.qiime2.org/t/install-phyloseq-in-qiime2-docker-container/2724/8)

Hope this helps!  
🐢

---

<div class="post-metadata">

### Author: ![gregcaporaso](https://forum.qiime2.org/user_avatar/forum.qiime2.org/gregcaporaso/32/17769_2.png) [@gregcaporaso](https://forum.qiime2.org/u/gregcaporaso)
#### Post date: [July 1, 2024, 10:38pm UTC](https://forum.qiime2.org/t/srs-as-a-normalisation-method/30531/6 "2024-07-01T22:38:21Z")

</div>

Hi @MarwaTawfik, You can also check out [_Developing with QIIME 2_](https://develop.qiime2.org/) for general information on creating QIIME 2 plugins, in case that is helpful for you. We should have a how-to article in there shortly that illustrates how to wrap R code in a QIIME 2 plugin. You can track progress on that [here](https://github.com/caporaso-lab/developing-with-qiime2/issues/98).
