[Bioperl-l] three letter codes for amino acids?
Heikki Lehvaslaiho
heikki@ebi.ac.uk
Thu, 11 Jan 2001 12:00:26 +0000
> Considering sequence atoms as symbols seems the most natural
> concept to me. Having single letters representing each symbol
> makes symbol arrays and strings more or less equivalent in Perl.
> This might not hold for multi-letter representations, so in the
> first place I'd expect an array to be returned. However, this is
> inconsistent with $seq->seq(), and reportedly inefficient due to
> Perl's array implementation.
>
> I know you could still split at every 3rd letter as a simple way
> to get an array. I'd nevertheless accept a third optional
> parameter denoting the 'join' character, with a default of ''.
Can be done.
In my mind the main use of this function is in displaying translations
on top of nucleotide sequnces. Gaps inside codons are clearer with
the three letter coding.
-Heikki
--
______ _/ _/_____________________________________________________
_/ _/ 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
___ _/_/_/_/_/________________________________________________________