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

Choosing an algorithm #74

Open
ghost opened this issue Mar 8, 2020 · 6 comments
Open

Choosing an algorithm #74

ghost opened this issue Mar 8, 2020 · 6 comments

Comments

@ghost
Copy link

ghost commented Mar 8, 2020

Hello,
this could be a silly question. According to the documentation, one can choose between three algorithms: Dekker, Needleman-Wunsch and MEDITE. I do not know how to specify that in the python collate function. Any idea?

@djbpitt
Copy link
Collaborator

djbpitt commented Mar 8, 2020

@moh55m55 @rhdekker Not a silly question at all. The Java version of CollateX lets the user select different collation methods. The Python version supports a single method, so there is no need to specify.

@ghost
Copy link
Author

ghost commented Mar 8, 2020

Thanks. What is the method the python version supports?
I see two methods: EditGraphAligner and ExperimentalAstarAligner

@djbpitt
Copy link
Collaborator

djbpitt commented Mar 8, 2020

@moh55m55 @rhdekker The default in the CollateX Python port is EditGraphAligner. You can use ExperimentalAstarAligner by specifying astar=True as a parameter to the collate() function. I haven’t tested the Astar aligner and I don’t know how “experimental” it is, that is, whether it is sufficiently functional to produce useful output.

@ghost
Copy link
Author

ghost commented Mar 8, 2020

Thanks. Is the EditGraphAligner based on the Needleman algorithm?

@rhdekker
Copy link
Member

rhdekker commented Mar 9, 2020

@moh55m55 @djbpitt Yes, but with enhancements to lower the cost of the token matching and to align more than two witnesses.

@ghost
Copy link
Author

ghost commented Jul 3, 2020

Thanks,
What is the alignment score used in EditGraphAligner? the scoring schemes (match, mismatch, and gap)?

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