Re: [Biopython] codon-optimization method

Peter Cock <[email protected]> Fri, 21 Jul 2023 09:48:26 +0100
Newsgroups gmane.comp.python.bio.general
Message-ID <CAKVJ-_4y0ie4vX17M=rPr_=Vn3M8czh8nSj-XnGA0R8zWyKxyQ@mail.gmail.com>
Hello Alex,

Yes, you can go ahead and make a pull request:

https://github.com/biopython/biopython/pull/4368

Depending on the nature of the change you have in mind, a little
disccusion before coding may make sense - especially if there is
more than one obvious way to tackle something.

It is also encouraging for us as maintainers if another user
on the mailing list (or via GitHub) shows support for some proposed
functionality (as we as individuals may not have a use for it).

Thanks,

Peter

On Thu, Jul 20, 2023 at 5:10 PM Alex Crocker <[email protected]> wrote:
>
> 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
_______________________________________________
Biopython mailing list  -  [email protected]
https://mailman.open-bio.org/mailman/listinfo/biopython