Closed y9c closed 6 years ago
btw, the code in readme is of bugs...
Just CodonOptimize
as an objective is not enough to conserve translation, you also need to have EnforceTranslation
in your constraints:
constraints=[
EnforceTranslation(),
AvoidPattern(enzyme="BsaI"),
EnforceGCContent(mini=0.3, maxi=0.7, window=50)
]
It works, I just checked.
Thanks for the notification regarding the readme, I'll have a look.
Indeed the readme code was full of bugs, I fixed them, thanks for that.
It works fine now. Thank you @Zulko
test code