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

Is it possible to set the 'match' and 'mismatch' scores? #1

Closed
mantzaris opened this issue Sep 21, 2020 · 2 comments
Closed

Is it possible to set the 'match' and 'mismatch' scores? #1

mantzaris opened this issue Sep 21, 2020 · 2 comments

Comments

@mantzaris
Copy link

Using bb = align(read = "AAAA", reference = "AAAA")

then the score produced via: bb$alignment$optimal_score is 8. It seems that the match score is set to 2. Is it possible to set it to 1? Also is it possible to set the 'mismatch score'? The other score values and the start and stop are understood how they can be edited via align(read = "AAAA", reference = "AAAA", gap_open = 5L, gap_extension = 2L, start_idx = 0L, end_idx = 0L)

@nanxstats
Copy link
Owner

Fixed in 53b1c5e. Please try it out.

@mantzaris
Copy link
Author

Works perfectly, thank you for the modification

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