Giter Site home page Giter Site logo

benkaehler / q2-clawback Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 2.0 500 KB

This is a QIIME 2 plugin. For details on QIIME 2, see https://qiime2.org.

License: BSD 3-Clause "New" or "Revised" License

Python 98.71% TeX 0.74% Makefile 0.24% HTML 0.31%

q2-clawback's People

Contributors

benkaehler avatar nbokulich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

q2-clawback's Issues

Cross-assembling weights for difference reference databases causes issues

In some instances it is useful to assemble weights using amplicons from one set of primers, then use them to train a classifier for a amplicons from a different set of primers.

If we do that at the moment, it causes issues downstream because the sets of taxa are slightly different for the trimmed reference data sets.

So, it would be good to have a utility that takes a training reference database and a target reference database and makes sure that the training reference database cannot generate taxa that are not in the target reference database.

The cross-reference database so assembled could then be used to train the uniform classifier that is responsible for assigning taxa prior to assembling weights.

assemble-weights-from-Qiita: make more efficient

Evidently 400 GB of RAM is inadequate for assemble-weights-from-Qiita with the SILVA reference db + various EMPO3 types.

Either this command should be more efficient, or else expose options to control memory usage. E.g., I suspect the bespoke classifier training step is where we are running out of memory... just expose reads-per-batch?

ENH: devise method for intelligent assignment of `unobserved_weight`

I am seeing some cases where unobserved_weight's default setting (1e-6) is actually higher than some observed weights (of very rare species obviously).

It would be useful to automatically set this based on some intelligent approach. Some ideas:

  1. set to the lowest observed weight (or some value below that?)
  2. set to 1 / N where N = the total number of sequences observed?

Maybe this does not really substantially impact performance, but I wonder if it could impact classification of rare SVs.

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.