IUBio

1 letter -> 3 letter amino acid code

Pierre Scotney bipds at zeus.bris.ac.uk
Tue Aug 12 10:54:56 EST 1997


Pierre Scotney (bipds at zeus.bris.ac.uk) wrote:
: Is there a program in the GCG package that can convert peptide sequences
: from the one-letter amino acid code to the three-letter amino acid code?

Just found that REFORMAT does the trick!  So I wrote a small shell script:

----------
1to3 [infile] [outfile]
----------

reformat -in=$1 -out=$2 -oneintothree -protein -nonumber -linesize=3
         -blanklines=0

----------

and it works like a charm :)

Bye!

-- 
Pierre.Scotney at bristol.ac.uk

Biomolecular Structures
Department of Biochemistry
The University of Bristol



More information about the Info-gcg mailing list

Send comments to us at biosci-help [At] net.bio.net