# GeneMaskLFCScorer AggregationType

**URL:** <https://www.alphagenomecommunity.com/t/genemasklfcscorer-aggregationtype/690>\
**Category:** Help & Support\
**Created:** [October 10, 2025, 4:21pm UTC](https://www.alphagenomecommunity.com/t/genemasklfcscorer-aggregationtype/690 "2025-10-10T16:21:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joshua\_Park](https://yyz2.discourse-cdn.com/watermelon/user_avatar/www.alphagenomecommunity.com/joshua_park/32/605_2.png) [@Joshua\_Park](https://www.alphagenomecommunity.com/u/Joshua_Park)\
**Post date:** [October 10, 2025, 4:21pm UTC](https://www.alphagenomecommunity.com/t/genemasklfcscorer-aggregationtype/690/1 "2025-10-10T16:21:19Z")

</div>

[CenterMaskScorer(requested\_output=ATAC, width=501, aggregation\_type=DIFF\_LOG2\_SUM), CenterMaskScorer(requested\_output=DNASE,width=501,aggregation\_type=DIFF\_LOG2\_SUM),  
CenterMaskScorer(requested\_output=CHIP\_TF,width=501,aggregation\_type=DIFF\_LOG2\_SUM),  
CenterMaskScorer(requested\_output=CHIP\_HISTONE,width=2001,aggregation\_type=DIFF\_LOG2\_SUM),  
CenterMaskScorer(requested\_output=CAGE, width=501,aggregation\_type=DIFF\_LOG2\_SUM), CenterMaskScorer(requested\_output=PROCAP,width=501,aggregation\_type=DIFF\_LOG2\_SUM),  
GeneMaskLFCScorer(requested\_output=RNA\_SEQ),  
GeneMaskSplicingScorer(requested\_output=SPLICE\_SITES, width=None),  
GeneMaskSplicingScorer(requested\_output=SPLICE\_SITE\_USAGE, width=None),  
SpliceJunctionScorer(),  
PolyadenylationScorer()]

These are the recommended scorers provided. Notably the last five scorers don’t have an aggregation\_type provided. Do you have any recommendations on what aggregation\_type is best? I am curious because if I look at the contingency table of gene strand and track strand, it’s not immediately obvious what is going on within each track. I would also be curious to know what the track\_strand = ‘.’ indicates?

 ![For a single variant, this is a contingency table (gene_strand x track_strand) for all scores provided with output_type = RNA_SEQ](https://canada1.discourse-cdn.com/watermelon/original/1X/6b11d816d73ee8af11ee2e3ad647f73a40662b8f.png)

---

<div class="post-metadata">

**Author:** ![tward](https://yyz2.discourse-cdn.com/watermelon/user_avatar/www.alphagenomecommunity.com/tward/32/17_2.png) [@tward](https://www.alphagenomecommunity.com/u/tward)\
**Post date:** [October 11, 2025, 6:31pm UTC](https://www.alphagenomecommunity.com/t/genemasklfcscorer-aggregationtype/690/2 "2025-10-11T18:31:23Z")

</div>

Hi @Joshua_Park, welcome to the community!

So the GeneMaskLFCScorer, SpliceJunctionScorer and PolyadenylationScorer don’t have any configurable aggregation which is why they’re not defined: we only have the ones we used in the paper available (see supplementary figures 12 and 13 for schematics on what aggregation is applied for each scorer).

As for the contingency table, the `.` strand [indicates unstranded](https://www.alphagenomedocs.com/api/generated/alphagenome.data.genome.Strand.html#alphagenome.data.genome.Strand), and if you’re using the [tidy\_scores](https://www.alphagenomedocs.com/api/generated/alphagenome.models.variant_scorers.tidy_scores.html#alphagenome.models.variant_scorers.tidy_scores) function, this by default removes scores with mis-matched genes and track strands, which would be why you have zeros for the mis-matched +/- entries.

Hope that helps!

---

<div class="post-metadata">

**Author:** ![Joshua\_Park](https://yyz2.discourse-cdn.com/watermelon/user_avatar/www.alphagenomecommunity.com/joshua_park/32/605_2.png) [@Joshua\_Park](https://www.alphagenomecommunity.com/u/Joshua_Park)\
**Post date:** [October 15, 2025, 9:40am UTC](https://www.alphagenomecommunity.com/t/genemasklfcscorer-aggregationtype/690/3 "2025-10-15T09:40:56Z")

</div>

Hi @tward,

Thank you so much for your answer. I understand why aggregation methods aren’t provided. But, if I did still want to aggregate, do you have a suggested approach? Where I’m having trouble is extending the batch variant scoring tutorial: [Batch variant scoring — AlphaGenome](https://www.alphagenomedocs.com/colabs/batch_variant_scoring.html)

After scoring multiple variants, I’m not exactly sure how one might compare them to each other. And so my initial thought was to try to get a single scalar value for each output\_type for every variant. Which is why I am interested in aggregating all gene scores for every track into a single track score, and ultimately compute a single ‘output\_type’ score. Is this something that’s been attempted/done previously?

---

<div class="post-metadata">

**Author:** ![tward](https://yyz2.discourse-cdn.com/watermelon/user_avatar/www.alphagenomecommunity.com/tward/32/17_2.png) [@tward](https://www.alphagenomecommunity.com/u/tward)\
**Post date:** [October 18, 2025, 5:23pm UTC](https://www.alphagenomecommunity.com/t/genemasklfcscorer-aggregationtype/690/4 "2025-10-18T17:23:01Z")

</div>

So I guess you could take the ABS\_MAX over the gene axis to attain the largest score for a gene region, and then I guess do the same for the track axis? It’s not something we typically do, but should somewhat provide a single score per output type.

You might also want to consider using the [quantile scores](https://www.alphagenomedocs.com/faqs.html#what-is-the-difference-between-a-quantile-score-and-raw-score) in order to better compare scores across tracks and variant scorers, depending on the kind of analysis you’re performing.

Hope this helps!
