Giter VIP home page Giter VIP logo

Comments (3)

iAvicenna avatar iAvicenna commented on August 11, 2024

I was also looking for an answer to this question. Aligning a long DNA sequence against a version of its self with only substitutions can many lead to many indels instead (rightfully so with even better alignment scores most of the time but biologically non-reasonable). It would super useful if it was possible to implement indel weights in edlib

from edlib.

rob-p avatar rob-p commented on August 11, 2024

I would doubt this would be supported here. Edlib is an edit distance based alignment library, not an arbitrary alignment scoring library. The fact that it computes edit distances allows substantial practical optimizations, which it's what makes this so fast. Many of these wouldn't be possible in the same way with general linear or affine scoring parameters. If you need those other scoring functions, perhaps give https://github.com/smarco/WFA2-lib a try.

from edlib.

Martinsos avatar Martinsos commented on August 11, 2024

Thanks @rob-p , that is very correct! Edlib gets its speed from the properties of edit distance, and there is no intention to support different scoring mechanisms -> there are other solutions that are better at that, edlib instead focuses on edit distance (notice the name -> Edit Distance LIBrary -> EDLIB!).
If you want a wider array of alignment methods / scoring systems, check out https://www.seqan.de/ .

from edlib.

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.