Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to report all possibale positions not only the best one ? #216

Open
cherryamme opened this issue May 29, 2023 · 1 comment
Open

How to report all possibale positions not only the best one ? #216

cherryamme opened this issue May 29, 2023 · 1 comment

Comments

@cherryamme
Copy link

Hello
I try to get multiple possible positions at which the alignment ends, but it seems like edlib.align only report the most possible site. the k arg is just a cut steps to filter.
can I get all possible positions ? for example : when I set a arg k=2 , it will report sites combine editDistance=0 editDistance=1 and editDistance=2.
@Martinsos Thanks

@Martinsos
Copy link
Owner

Hi @cherryamme !
Sorry, I am not sure I understand the question. Did you say you would like to get the solution for distance = 0, distance = 1 and so on?
That is not how edlib works -> it looks for the smallest edit distance. It can report multiple end locations, but they will all be optimal solutions.

Why would you be interested into finding suboptimal solutions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants