Giter VIP home page Giter VIP logo

Comments (5)

ewachtel avatar ewachtel commented on August 14, 2024

from edlib.

mehdiborji avatar mehdiborji commented on August 14, 2024

Thank you @ewachtel for your response. Is this feature also part of the python wrapper?
Here's an example where I introduce one mismatch in my query and edlib fails to report it because a perfect alignment exists elsewhere:

C='GTGTGCTCTTCCGATCT'
V='TCTTCAGCGTTCCCGAGA'
my_string=2*C+V+C+'A'+V[1:]+C
edlib.align(V, my_string,'HW','locations',1)
{'editDistance': 0,
 'alphabetLength': 4,
 'locations': [(34, 51)],
 'cigar': None}

from edlib.

ewachtel avatar ewachtel commented on August 14, 2024

from edlib.

cherryamme avatar cherryamme commented on August 14, 2024

Did you find anyway to solve this problem? @mehdiborji
I want result to report all possible site too

from edlib.

Martinsos avatar Martinsos commented on August 14, 2024

Hey @cherryamme @mehdiborji !
So edlib (C version) does return multiple locations: either just their ends, or their ends + starts, depends on what you tell it to do.
When returning alignment, it does it only for one of those however.
It has been some time since I have worked on edlib so I can't remember 100%, but I believe alignments for other end locations could probably also be obtained. However Edlib doesn't do that at the moment, and it would require some changes to the codebase. I currently don't have time to work on this, but if somebody wants to take it on I can try to help.

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.