[Bioperl-l] One to three letter code for amino acids

Heikki Lehvaslaiho heikki@ebi.ac.uk
Wed, 12 Dec 2001 09:30:06 +0000


Kris,

I brought this up a year or so ago. The consensus then was that we should
not overload current interfaces but instead collect these utility functions
in a separate place. I've put several, including this one, into
Bio::SeqUtils. 

There is  no three-to-one public method in CodonTable and there really
should not be.

	-Heikki

Kris Boulez wrote:
> 
> What is the best place to put a method which returns the three letter
> code of an amino acid starting from the one letter code (i.e. return
> 'ala' when input is 'A'). I've found the complement (three to one) in
> Bio::Tools::CodonTable.pm
> 
> I'll need this for writing out PDB structures.
> 
> Kris,
> --
> Kris Boulez                             Tel: +32-9-241.11.00
> AlgoNomics NV                           Fax: +32-9-241.11.02
> Technologiepark 4                       email: kris.boulez@algonomics.com
> B 9052 Zwijnaarde                       http://www.algonomics.com/
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l

-- 
______ _/      _/_____________________________________________________
      _/      _/                      http://www.ebi.ac.uk/mutations/
     _/  _/  _/  Heikki Lehvaslaiho          heikki@ebi.ac.uk
    _/_/_/_/_/  EMBL Outstation, European Bioinformatics Institute
   _/  _/  _/  Wellcome Trust Genome Campus, Hinxton
  _/  _/  _/  Cambs. CB10 1SD, United Kingdom
     _/      Phone: +44 (0)1223 494 644   FAX: +44 (0)1223 494 468
___ _/_/_/_/_/________________________________________________________