Giter Site home page Giter Site logo

Comments (3)

jwierz avatar jwierz commented on July 18, 2024 1

Hi Anton!
Thank you for your quick reply! Adding dummy counts of 0 helped indeed to run the script.

However, this resulted in a new problem: all samples with a non-high read count in a specific ASV had their reads counts corrected to 0 in this ASV. We don't believe this is correct, as we expect some true positive reads among the non-high samples. Is this also fixable by setting the spreading_rate and is this scientifically sound?

Again, thank you for your help!
cheers

from spreading-correction.

AntonJMLarsson avatar AntonJMLarsson commented on July 18, 2024

Hi!
The equation does assume that that all combinations of all the indexes are used. However, adding dummy counts of 0 where there is missing data is will work. The correction itself only removes counts and will never add them. The estimation of the rate will still work if it finds any ASV that it can use.

If unspread.py doesn't find anything but you still think you have it (which is possible), you can quite easily figure out roughly what the spreading rate is by manually inspecting the count tables and find the samples with a high count and then dividing the samples with low counts with the samples of high counts. If you do that, it's possible to edit the script to hard-code the spreading rate by setting the spreading_rate variable explicitly.

Hope this helps.

Best Regards,

Anton

from spreading-correction.

rturba avatar rturba commented on July 18, 2024

Did you figure it out, @jwierz ? I'm curious to use this program with my metabarcode dataset as well.

from spreading-correction.

Related Issues (6)

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.