CAMI-challenge / OPAL

OPAL: Open-community Profiling Assessment tooL
https://cami-challenge.github.io/OPAL/
Apache License 2.0
25 stars 6 forks source link

Add ability to not normalize when computing EMDUnifrac #34

Closed dkoslicki closed 2 years ago

dkoslicki commented 4 years ago

Will need to make a clone of this block of code, but strip out the normalization.

Will also need to detect if normalization is on/off from CLI

dkoslicki commented 4 years ago

Note: for unweighted unifrac, this makes no difference whatsoever. For weighted unifrac, a choice will need to be made to "add back" the missing mass somehow. Eg. gold standard sums to 1, but sample1 sums to 0.4, you can do weighted unifrac on these as is, but what do you do with the missing 0.6 mass? Treat it as sitting at the root node (i.e. unclassified?)

dkoslicki commented 4 years ago

Can close after merge to master pending coordination with @fernandomeyer after Friday meeting.

fernandomeyer commented 4 years ago

Normalization selection (on/off) is passed on to unifrac computation with commit e9d555e78b616e75341ee1c60ed27a9694829ddc.