Coder Social home page Coder Social logo

Simplifying codon table interface about poly HOT 2 CLOSED

cachemoi avatar cachemoi commented on August 26, 2024
Simplifying codon table interface

from poly.

Comments (2)

Koeng101 avatar Koeng101 commented on August 26, 2024

The fix package seems to be updating the weights with more data, we should consider putting all the functions which updates those amino acid weights in the same struct for a less leaky abstraction

Could you be more specific on the line? I don't recall it updating the weight table with more data, just getting out which new codon it should use based on the data, then applies biases.

Agreed it should be updated though.

from poly.

cachemoi avatar cachemoi commented on August 26, 2024

I assumed it was updating the weights with some other heuristics but after reading more carefully I see it's not, I thought it would be a duplicate of the codon picking mechanism in optimize

If I understand well the package is using the weighted AAs to get the highest weighted codon in a set of potential codon replacements gotten with other methods (gc bias ect...) here.

I don't really see a straightforward way to get rid of this in a way that make things noticably better since it's using the fix.Change struct so I think it's best to leave things as is 👍

from poly.

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.