Giter Club home page Giter Club logo

Comments (2)

RitchieLabIGH avatar RitchieLabIGH commented on June 16, 2024

Hi Jake,
iMOKA normalizes the data dividing each count by the total sum of k-mer counts and not by the number of k-mers:
equaimage
Where n_i is the normalized count of the k-mer i, c_i and c_j are the raw counts of a k-mer i and j.
This allows normalizing in one go for the read length and count.
We have tested it with datasets having samples sequenced three times deeper than the ones with the lowest depth and it works fine: the signal we see was not biased by the sequencing depth and the abundances of k-mers representative of a given gene across the samples is similar to the one computed using Salmon.
Nevertheless, if the groups are unbalanced, for example one group has the majority of the samples with high depth sequences, you might have false signals of lowly expressed k-mers because they might not have been detected by the low depth samples due to the reduced resolution.
In the previous formula, we can replace the detected count ( c ) by the abundance of the k-mer (a ) times the resolution of the current sample (r):
image
image
image

As you can see, the normalized count is independent of the resolution.
For a k-mer with an abundance of 0.5, you need at least an r of 2 in order to have at least one k-mer in your sample. Furthermore, in the preprocessing step of iMOKA there is a min_count filter ( 5 is the default ) that ignores the k-mers with a count lower than 5. In this case, you need an r of 10 to consider the k-mer having an abundance of 0.5.

Cheers,
Claudio

from imoka.

jakewendt avatar jakewendt commented on June 16, 2024

Understood. Thank you.

from imoka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.