-
Notifications
You must be signed in to change notification settings - Fork 45
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
can I generate a sequence with a sequence with 'medium' score? #27
Comments
That's a complex problem, and I don't think it can be done efficiently by changing how A lot of the optimization efficiency comes from the way the specifications work, not the The other question is how you determine a specification's "worst score". That can be complicated, as the worst score can depend on your constraints. The way I would approach it is by defining an anti-specification and running the optimization once with only the anti-specification. The final score is the worst score, and a medium score is anything in-between. The last point is how you reach a given "medium" score. Here it is even more complicated, because the regions to mutate depend on whether you are currently above or below the score. The closest I have done to that is If you don't want to dive into all this yet, there may be an quicker solution (but it is untested). You can try using |
Thanks |
Let's keep this open as an un-resolved issue at the moment for other people to find. |
By default, dnachisel gives a 'best' sequence with score close to 0.
I can get a 'worst' sequence by
new_score < score
.If i want a 'medium' sequence , i can set a target score,
and set the if condition to
abs(new_score - target) < abs(score - target)
.Since scores varies from objectives, I have to get worset score first to determint the target score.
Is there any solution to generate 3 sequences just using optimize() once?
The text was updated successfully, but these errors were encountered: