Donezo! Great suggestions guys!


On (May-11-14|14:55), Jorge Cañardo Alastuey wrote:
> > +                                                        len(code_sequence)))
> > +
> > +        self.code_sequence = code_sequence
> > +        self.id = id
> > +        self.name = name
> > +        self.start_codon_sequence = start_codon_sequence
> > +        start_codons = {}
> > +        if start_codon_sequence:
> > +            for codon, aa in zip(self._codons, start_codon_sequence):
> > +                if aa != '-':
> > +                    start_codons[codon] = aa
> > +        self.start_codons = start_codons
> > +        codon_lookup = dict(zip(self._codons, code_sequence))
> > +        self.codons = codon_lookup
> > +        # create synonyms for each aa
> > +        aa_lookup = {}
> 
> I like that!
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/biocore/scikit-bio/pull/310/files#r12510977