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

Get positions of subsequences #10

Open
MitraDarja opened this issue Nov 2, 2021 · 0 comments
Open

Get positions of subsequences #10

MitraDarja opened this issue Nov 2, 2021 · 0 comments

Comments

@MitraDarja
Copy link
Collaborator

In order to analyze the coverage of the subsequences over a sequence, it is helpful to know their positions. There are two ways to do so:
a) Write a second function to every function returning the positions instead of the subsequences.
b) Write one function, getting the sequence and the subsequences and align them in order to get the positions.

The drawback of b) is that it takes more time to compute because the initial function needs to be called and then an alignment is applied, but its advantage is that it is only one function to implement, which then should work with every method.

For now, I think b) is the easier option. Should it be necessary to get the positions in a more efficient way, a) can still be implemented.

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

1 participant