[Biopython] codon-optimization method

Alex Crocker <[email protected]> Thu, 20 Jul 2023 12:09:56 -0400
Newsgroups gmane.comp.python.bio.general
Message-ID <CAM2fN=QY5xmfERquWtR__wW9wW5wVYKMWcaWpGDSMDmuyk7yog@mail.gmail.com>
Hello,

I have added a method for codon optimization of a given sequence (DNA or
protein) using the codon preferences contained in a CodonAdaptationIndex
object.

I created the method because existing fluorophore sequences were not
functional in an organism I work with, and I wanted to quickly generate
codon-optimized versions of the fluors for my organism.

I included the method in biopython/Bio/SeqUtils/__init__.py, inside the
CodonAdaptationIndex class. I also added a couple of lines in
biopython/Tests/test_SeqUtils.py to apply the method to a sequence and
assert that the calculated CAI after optimizing is equal to 1.

I read the guidelines for contributing, but am not entirely clear on what I
should do next. Would it be appropriate to go ahead and make a pull
request?

Thank you!
Alex

_______________________________________________
Biopython mailing list  -  [email protected]
https://mailman.open-bio.org/mailman/listinfo/biopython