From: cochran@sjh.bi.umist.ac.uk (Duncan Cochran)
Newsgroups: comp.sys.hp48
Subject: PEPdir: compute polypeptide molecular weight
Date: 26 Mar 1999 14:38:58 GMT
Organization: Sirius Cybernetics Corporation
Lines: 83
Message-ID: <7dg662$223e$1@probity.mcc.ac.uk>
NNTP-Posting-Host: dac1.bi.umist.ac.uk
X-Posted-From: InterNews 1.0.7@dac1.bi.umist.ac.uk
Xdisclaimer: No attempt was made to authenticate the sender's name.
Xref: republic.btigate.com comp.sys.hp48:23170

Hi

This is the first time I have contributed a program to this group.

PEPdir is a very simple INFORM program which calculates the average
molecular weight of any sequence of amino acids.  I have adjused it to
calculate the MW for peptides with an n-terminal acetyl group and a
c-terminal amide group.

The directory contains the molecular weights of all the common amino
acids plus some componds used in peptide synthesis.  It is a bit slow
and the INFORm is clumsy..the sequence must be input in "".

If anybody improves on this design I would appreciate a copy.  Thanks

Duncan Cochran

cochran@sjh.bi.umist.ac.uk

%%HP: T(3)A(D)F(.);
DIR
 PPMT
 \<< CLEAR
"CH3CO-PEPTIDE-NH2 MW ?"
{ { "Seq :"
"ENTER SEQ" 2 } } 1
{ "" } { "" }
 IF INFORM
 THEN OBJ\->
DROP
 \<< DUP SIZE
\-> n
 \<< n { 1 n
 FOR i
DUP i DUP SUB 39
CHR SWAP + OBJ\->
SWAP
 NEXT }
IFT DROP n \->LIST
 \>> EVAL
 \>> EVAL
DEPTH \-> n
 \<< DEPTH
\->LIST \GSLIST \-> m 'm-
n*H2O+NH2+CH3CO'
\->NUM "Av. MW ="
\->TAG n
"check length ="
\->TAG
 \>>
 END
 \>>
 A 89.095
 Acetyl 43.046
 C 121.159
 CH3CO 43.046
 CHO 29.018
 D 133.105
 E 147.132
 F 165.194
 FMOC 223.254
 G 75.068
 H 155.158
 H2O 18.0152
 I 131.176
 K 146.191
 L 131.176
 M 149.213
 N 132.12
 NH2 16.01
 P 115.133
 Q 146.147
 R 174.204
 S 105.094
 T 119.121
 Trt 243.331
 V 117.149
 W 204.23
 Y 181.193
END


------------------------------