# Appropriate method for running MaAsLin3 on metagenome counts normalized to reads per million

**URL:** <https://forum.biobakery.org/t/appropriate-method-for-running-maaslin3-on-metagenome-counts-normalized-to-reads-per-million/9080>\
**Category:** MaAsLin\
**Created:** [October 6, 2026, 2:13pm UTC](https://forum.biobakery.org/t/appropriate-method-for-running-maaslin3-on-metagenome-counts-normalized-to-reads-per-million/9080 "2026-10-06T14:13:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jordan.thakar](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jordan.thakar](https://forum.biobakery.org/u/jordan.thakar)\
**Post date:** [October 6, 2026, 2:13pm UTC](https://forum.biobakery.org/t/appropriate-method-for-running-maaslin3-on-metagenome-counts-normalized-to-reads-per-million/9080/1 "2026-10-06T14:13:31Z")

</div>

Hello,

I am working on a longitudinal microbiome study with metagenomic/metatranscriptomic data. I am looking to test if there are significant associations in the prevalence/abundance of certain gene types with my treatments. Is it appropriate to use mapped read counts that have been converted to reads per million/transcripts per million? This way I can account for differences in gene length and library size/total number of reads mapped.

Just wondering if the per million scaling would mess anything up in the modelling that MaAsLin3 does?

Thanks!  
Jordan

---

<div class="post-metadata">

**Author:** ![WillNickols](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/willnickols/32/3223_2.png) [@WillNickols](https://forum.biobakery.org/u/WillNickols)\
**Post date:** [October 6, 2026, 3:23pm UTC](https://forum.biobakery.org/t/appropriate-method-for-running-maaslin3-on-metagenome-counts-normalized-to-reads-per-million/9080/2 "2026-10-06T15:23:09Z")

</div>

Hi,

If you’re using the usual TSS normalization, this should be fine since (reads of target / million reads) / (total reads / million reads) = reads of target / total reads.

Will

---

<div class="post-metadata">

**Author:** ![jordan.thakar](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jordan.thakar](https://forum.biobakery.org/u/jordan.thakar)\
**Post date:** [October 6, 2026, 4:05pm UTC](https://forum.biobakery.org/t/appropriate-method-for-running-maaslin3-on-metagenome-counts-normalized-to-reads-per-million/9080/3 "2026-10-06T16:05:25Z")

</div>

Hi Will,

Thanks for the quick response. I am using the following normalization:

```
                                              RPK = RM · (L · 1000<sup>\-1</sup>)<sup>\-1</sup> (1)

                                                 SF= (∑ RPK) · 1x10<sup>\-6</sup> (2)

                                                    RPM= RPK · SF<sup>\-1</sup> (3)

```

where RPK is reads per kilobase, RM is the count of reads mapped to the gene region, L is the gene length, RM is the number of read pairs mapped, SF is the scaling factor, and RPM is the reads per million.

Only thing that is different to what you mentioned is that I am normalizing by length as well. I presume it shouldn’t be an issue since I am testing for significant associations in the RPM values between different genes and sample groups.

Thanks,

Jordan

---

<div class="post-metadata">

**Author:** ![WillNickols](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/willnickols/32/3223_2.png) [@WillNickols](https://forum.biobakery.org/u/WillNickols)\
**Post date:** [October 6, 2026, 4:28pm UTC](https://forum.biobakery.org/t/appropriate-method-for-running-maaslin3-on-metagenome-counts-normalized-to-reads-per-million/9080/4 "2026-10-06T16:28:18Z")

</div>

Sorry for the ambiguity; by “reads of target” I meant RPK (i.e. normalized for length), so normalizing by length is expected and will work as intended.

Will

---

<div class="post-metadata">

**Author:** ![jordan.thakar](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jordan.thakar](https://forum.biobakery.org/u/jordan.thakar)\
**Post date:** [October 6, 2026, 4:43pm UTC](https://forum.biobakery.org/t/appropriate-method-for-running-maaslin3-on-metagenome-counts-normalized-to-reads-per-million/9080/5 "2026-10-06T16:43:57Z")

</div>

Thanks for the quick responses, this sounds good!

Jordan
