Giter VIP home page Giter VIP logo

Comments (2)

johnne avatar johnne commented on June 21, 2024

Hi,
Yes we implemented this additional chimera removal step via vsearch in this ASV-clustering workflow. See here in the Readme for an overview, and the relevant rules are in workflow/rules/chimeras.smk. Briefly, chimera detection is run either in 'batchwise' or 'samplewise' mode where the former runs the algorithm on ASVs found in all samples together, while the latter first splits the ASV input into one file per sample (based on ASV presence determined from a counts-file) then runs chimera detection on each of those file.

The output from vsearch chimera detection is then used to filter out chimeric ASVs using different parameters such as

  • number/fraction of samples shared between chimera and parents
  • number of samples in which an ASV has to be marked as chimeric

Let me know if you want to discuss this and how to implement it in ampliseq.

from ampliseq.

d4straub avatar d4straub commented on June 21, 2024

Hi!
Chimera removal is important, so I think this is indeed interesting.

Running uchime_denovo in vsearch seems to work well in removing remaining chimeric ASVs in our data (this allows for some mismatches between parents and children, which default removeBimeraDenovo does not) without removing "true" ASVs.

Yes, indeed default removeBimeraDenovo does not allow mismatches between chimera and parent, but using a config one could modify this behavior in ampliseq by overwriting that line, e.g. by using -c chimera.config that contains

process {
    withName: DADA2_RMCHIMERA {
        ext.args = 'method="consensus", minSampleFraction = 0.9, ignoreNNegatives = 1, minFoldParentOverAbundance = 2, minParentAbundance = 8, allowOneOff = TRUE, minOneOffParentDistance = 4, maxShift = 16'
    }
}

Would you be able to test whether that doesnt improve the chimera removal for your case in a similar manner? (Just want to make sure existing settings are not already covering this.)

from ampliseq.

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.