ó
›™xTc           @   sŸ  d  d l  m Z d  d l m Z d  d l Z iÙ d d g  d d d g d 6d d	 g  d e d g d
 6d d g  d e d g d 6d d g  d e d g d 6d d g  d e d g d 6d d g  d e d g d 6d d g  d d d g d 6d d g  d e d g d 6d d g  d d d g d 6d d d g d d d g d 6d  d g  d e d g d! 6d" d g  d e d g d# 6d$ d g  d d d g d% 6d& d' g  d e d g d( 6d d	 g  d e d g d) 6d* d+ g  d e d g d, 6d- d g  d e d g d. 6d/ d g  d e d g d0 6d1 d g  d e d g d2 6d3 d g  d d d g d4 6d5 d g  d e d g d6 6d7 d	 g  d e d g d8 6d  d g  d e d g d9 6d: d; g  d d d g d< 6d= d> g  d d d g d? 6d@ d g  d d d g dA 6d d g  d d d g dB 6dC dD g  d e d g dE 6dF dG g  d e d g dH 6d d g  d e d g dI 6dJ d g  d e d g dK 6d& d' g  d e d g dL 6d1 d g  d e d g dM 6dN dO g  d e d g dP 6dC dD g  d e d g dQ 6d@ d g  d d d g dR 6d5 d g  d e d g dS 6d" d g  d e d g dT 6dU dD g  d e d g dV 6dW d	 g  d d d g dX 6dC dD g  d e d g dY 6d* d+ g  d e d g dZ 6d[ d g  d d d g d\ 6d] d g  d e d g d^ 6d_ d g  d e d g d` 6d d g  d d d g da 6d5 d g  d e d g db 6dc dO g  d d d g dd 6de d> g  d d d g df 6d1 d g  d e d g dg 6dh dD g  d e d g di 6dW d	 g  d d d g dj 6dk dl g  d d d g dm 6dn d g  d e d g do 6dp dq g  d e d g dr 6dF dG g  d e d g ds 6d d g  d e d g dt 6du dD g  d d d g dv 6dF dG g  d e d g dw 6dx dG g  d e d g dy 6d d g  d e d g dz 6d{ d g  d d d g d| 6d} d g  d d d g d~ 6d d	 g  d e d g d 6d€ dq g  d e d g d� 6d_ d g  d e d g d‚ 6d  d g  d e d g dƒ 6d] d g  d e d g d„ 6d d d… g d d d g d† 6dh dD g  d e d g d‡ 6d5 d g  d e d g dˆ 6d d	 g  d e d g d‰ 6dŠ dq d‹ g d d d g dŒ 6d� dG g  d d d g dŽ 6d� dG g  d d d g d� 6d� d g  d e d g d‘ 6dN dO g  d e d g d’ 6dk dl g  d d d g d“ 6d= d> g  d d d g d” 6d- d g  d e d g d• 6d– d; g  d d d g d— 6d[ d g  d d d g d˜ 6d™ dD g  d d d g dš 6d d	 g  d e d g d› 6d d g  d d d g dœ 6d1 d g  d e d g d� 6d d g  d e d g dž 6dŸ d g  d d d g d  6d{ d g  d d d g d¡ 6d¢ dD g  d e d g d£ 6d$ d g  d d d g d¤ 6d d g  d e d g d¥ 6d d g  d d d g d¦ 6d€ dq g  d e d g d§ 6d d	 g  d e d g d¨ 6d d g  d d d g d© 6d] d g  d e d g dª 6d™ dD g  d d d g d« 6dC dD g  d e d g d¬ 6dF dG g  d e d g d­ 6d� d g  d e d g d® 6d¯ d> g  d d d g d° 6d5 d g  d e d g d± 6d™ dD g  d d d g d² 6d³ d g  d e d g d´ 6d™ dD g  d d d g dµ 6d d g  d d d g d¶ 6d* d+ g  d e d g d· 6d& d' g  d e d g d¸ 6d* d+ g  d e d g d¹ 6d" d g  d e d g dº 6d3 d g  d d d g d» 6d¼ d g  d e d g d½ 6dh dD g  d e d g d¾ 6d¿ d+ g  d e d g dÀ 6du dD g  d d d g dÁ 6d d g  d e d g dÂ 6dN dO g  d e d g dÃ 6d� dG g  d d d g dÄ 6d³ d g  d e d g dÅ 6d– d; g  d d d g dÆ 6dÇ dG g  d e d g dÈ 6d" d g  d e d g dÉ 6d d g  d e d g dÊ 6d� d g  d e d g dË 6d d g  d e d g dÌ 6d³ d g  d e d g dÍ 6d  d g  d e d g dÎ 6d  d g  d e d g dÏ 6d] d g  d e d g dÐ 6d@ d g  d d d g dÑ 6d1 d g  d e d g dÒ 6d� d g  d e d g dÓ 6d d g  d e d g dÔ 6dp dq g  d e d g dÕ 6d: d; g  d d d g dÖ 6d] d g  d e d g d× 6d* d+ g  d e d g dØ 6d d g  d e d g dÙ 6d& d' g  d e d g dÚ 6dx dG g  d e d g dÛ 6dÜ d g  d e d g dÝ 6d d g  d d d g dÞ 6dn d g  d e d g dß 6d d g  d e d g dà 6dá dâ g  d d d g dã 6d1 d g  d e d g dä 6d* d+ g  d e d g då 6dF dG g  d e d g dæ 6dc dO g  d d d g dç 6dc dO g  d d d g dè 6d¼ d g  d e d g dé 6d d g  d e d g dê 6d1 d g  d e d g dë 6dU dD g  d e d g dì 6d" d g  d e d g dí 6d- d g  d e d g dî 6d- d g  d e d g dï 6d5 d g  d e d g dð 6dn d g  d e d g dñ 6dF dG g  d e d g dò 6dó d g  d d d g dô 6d& d' g  d e d g dõ 6d d g  d e d g dö 6d¢ dD g  d e d g d÷ 6d1 d g  d e d g dø 6dù d g  d e d g dú 6d$ d g  d d d g dû 6d_ d g  d e d g dü 6d5 d g  d e d g dý 6dþ d g  d d d g dÿ 6dJ d g  d e d g d 6d¢ dD g  d e d g d6d5 d g  d e d g d6dh dD g  d e d g d6dŠ dq dg d d d g d6dd' g  d e d g d6dÜ d g  d e d g d6d1 d g  d e d g d	6d& d' g  d e d g d
6d¢ dD g  d e d g d6dá dâ g  d d d g d6dn d g  d e d g d6d$ d g  d d d g d6de d> g  d d d g d6dN dO g  d e d g d6dd' g  d e d g d6d¿ d+ g  d e d g d6d@ d g  d d d g d6d³ d g  d e d g d6dÇ dG g  d e d g d6dù d g  d e d g d6d7 d	 g  d e d g d6d_ d g  d e d g d6d� dG g  d d d g d6d" d g  d e d g d6d/ d g  d e d g d6dc dO g  d d d g d6d¯ d> g  d d d g d6dó d g  d d d g d6d d g  d e d g d6d  d g  d e d g d 6d!d+ g  d e d g d"6d#d g  d e d g d$6d%d g  d e d g d&6d'd; g  d d d g d(6d%d g  d e d g d)6d%d g  d e d g d*6d%d g  d e d g d+6d#d g  d e d g d,6d%d g  d e d g d-6d'd; g  d d d g d.6d%d g  d e d g d/6d%d g  d e d g d06d%d g  d e d g d16d2d g  d d d g d36d%d g  d e d g d46Z e d5k r›e e j	 d6d7d8d9e ƒn  d S(:  iÿÿÿÿ(   t   division(   t   runNt   CYSi   t   peptidet   cys_chain_all_h_1so9_v3s   PHE%NH3i   t   phe_nterm_all_h_1g7a_v3s   ILE%NH3i   t   ile_nterm_all_h_1v1c_v3t   ile_nterm_all_h_1ghx_v2t   ile_nterm_all_h_1v1c_v2s   MET%COOHi   t   met_cterm_all_h_1hz3_v2t   HISi   t   his_chain_all_h_1g7e_v2s   ARG%NH3i   t   arg_nterm_all_h_5pti_v2t   TRPi   t   trp_chain_all_h_1hdp_v2t   ASPi   s    HD1t   asp_chain_all_h_2izb_v2s   VAL%NH3t   val_nterm_all_h_1qn1_v3s   LYS%NH3t   lys_nterm_all_h_1gcc_v2t   LEUt   leu_chain_all_h_1ozo_v3s   GLY%NH3i	   t   gly_nterm_all_h_1qg1_v3t   phe_nterm_all_h_1e0e_v3s   TYR%NH3i   t   tyr_nterm_all_h_1d1n_v2s   GLU%ACID-GLU%NH3t   glu_nterm_all_h_2bic_v2s   ILE%COOHt   ile_cterm_all_h_1pog_v3s   MET%NH3t   met_nterm_all_h_1qqi_v2t   SERt   ser_chain_all_h_1o8t_v2s   ALA%NH3t   ala_nterm_all_h_1blq_v2s   PHE%COOHt   phe_cterm_all_h_2jnr_v2t   val_nterm_all_h_1ylb_v2t   METi   t   met_chain_all_h_1ozo_v3t   ASNi   t   asn_chain_all_h_1o8t_v3t   TYRt   tyr_chain_all_h_1ozo_v3t   cys_chain_all_h_1so9_v2s   THR%NH3i   t   thr_nterm_all_h_1o8t_v3s   SER%NH3i   t   ser_nterm_all_h_1gkt_v3t   arg_nterm_all_h_1dpu_v3s   VAL%COOHt   val_cterm_all_h_1cz2_v2t   gly_nterm_all_h_3ins_v2t   met_nterm_all_h_2j46_v3s   HIS%NH3i   t   his_nterm_all_h_2j5p_v2t   thr_nterm_all_h_2g3q_v3t   tyr_chain_all_h_1cx1_v3t   ala_nterm_all_h_1vcx_v3t   lys_nterm_all_h_2bvb_v2s   ASN%COOHt   asn_cterm_all_h_2cdx_v2t   LYSt   lys_chain_all_h_1o8t_v3t   thr_nterm_all_h_2g3q_v2t   tyr_nterm_all_h_1qo6_v2t   ARGt   arg_chain_all_h_1o8t_v3s   TRP%NH3t   trp_nterm_all_h_1fi6_v2s   LEU%NH3t   leu_nterm_all_h_2bun_v3t   trp_chain_all_h_1cx1_v2t   ala_nterm_all_h_2bw2_v3t   PHEt   phe_chain_all_h_1hdj_v2t   THRt   thr_chain_all_h_1o8t_v3t   met_nterm_all_h_1d7q_v3s   PRO%NH2t   pro_nterm_all_h_2lhb_v2t   lys_chain_all_h_1o8t_v2t   ALAi
   t   ala_chain_all_h_1ozo_v2s   ALA%COOHt   ala_cterm_all_h_1eio_v2s   ASP%COOH%ACID-ASPi   t   asp_cterm_all_h_1kb8_v2t   ser_nterm_all_h_1gkt_v2t   ile_nterm_all_h_1ghx_v3t   VALt   val_chain_all_h_1ozo_v3t   ser_nterm_all_h_1goe_v3s   CYS%NH3t   cys_nterm_all_h_1b9q_v2t   ile_nterm_all_h_1tkw_v2s   ILE%NH2NOTPROt   ile_nterm_all_h_1c2l_v2s   ARG%NH2NOTPROt   arg_nterm_all_h_1i9f_v2t   phe_nterm_all_h_3ins_v2s   ASP%ACID-ASP%NH3t   asp_nterm_all_h_1x9v_v2t   leu_nterm_all_h_1edv_v3t   val_nterm_all_h_2mb5_v2t   trp_nterm_all_h_1c95_v3s   2HD t   asp_chain_all_h_1jjx_v2t   pro_nterm_all_h_2gs0_v3t   ala_nterm_all_h_1dgn_v2t   phe_nterm_all_h_3ins_v3t   GLUs   2HE t   glu_chain_all_h_1jjx_v2s   ASP%ACID-ASPt   asp_chain_all_h_1kgl_v3t   asp_chain_all_h_1jjx_v3s   GLN%NH3t   gln_nterm_all_h_1w4h_v2t   his_nterm_all_h_1c17_v3t   ala_chain_all_h_1ozo_v3t   asn_chain_all_h_1o8t_v2t   glu_nterm_all_h_2bic_v3t   GLNt   gln_chain_all_h_1o8t_v2t   arg_chain_all_h_1o8t_v2s   GLU%ACID-GLUt   glu_chain_all_h_1bm4_v3t   phe_nterm_all_h_1e0e_v2t   cys_chain_all_h_1rfa_v2t   met_nterm_all_h_1qqi_v3t   ile_nterm_all_h_1ntp_v3s   TRP%NH2NOTPROt   trp_nterm_all_h_1c95_v2t   ile_nterm_all_h_1p57_v2s   ASN%NH3t   asn_nterm_all_h_1cej_v2t   leu_chain_all_h_2sn3_v3t   arg_nterm_all_h_1gxe_v2t   cys_chain_all_h_1rfa_v3t   asp_nterm_all_h_1x9v_v3t   phe_nterm_all_h_1g7a_v2t   his_chain_all_h_1g7e_v3t   trp_nterm_all_h_1haj_v2t   glu_chain_all_h_1jjx_v3t   thr_nterm_all_h_1o8t_v2t   ser_nterm_all_h_1goe_v2t   gln_nterm_all_h_1fmy_v2t   PROt   pro_chain_all_h_1a03_v2t   ala_nterm_all_h_1dgn_v3t   glu_chain_all_h_1tmr_v3s   LYS%COOHt   lys_cterm_all_h_1aze_v3t   glu_chain_all_h_1bm4_v2t   trp_chain_all_h_1hdp_v3t   tyr_nterm_all_h_1qo6_v3t   gly_nterm_all_h_1o7b_v3t   tyr_nterm_all_h_1lxh_v2t   lys_nterm_all_h_1io5_v2t   ser_chain_all_h_1o8t_v3s   ARG%COOHt   arg_cterm_all_h_1mmc_v3t   pro_nterm_all_h_2lhb_v3s   TYR%COOHt   tyr_cterm_all_h_1fu6_v3t   val_chain_all_h_1ozo_v2t   ile_nterm_all_h_1p57_v3t   his_nterm_all_h_2j5p_v3t   asp_chain_all_h_2izb_v3t   lys_cterm_all_h_1gkt_v2t   gln_chain_all_h_1o8t_v3s   SER%COOHt   ser_cterm_all_h_2jnr_v3t   lys_nterm_all_h_1io5_v3t   ile_nterm_all_h_1tkw_v3t   gln_nterm_all_h_1fmy_v3t   met_cterm_all_h_1hz3_v3t   lys_cterm_all_h_1aze_v2t   val_nterm_all_h_2mb5_v3t   val_nterm_all_h_1ylb_v3t   trp_nterm_all_h_1haj_v3t   tyr_chain_all_h_1ozo_v2t   met_nterm_all_h_1euw_v2t   gln_nterm_all_h_1w4h_v3t   arg_nterm_all_h_1i9f_v3t   asp_cterm_all_h_1kb8_v3t   met_chain_all_h_1ozo_v2t   trp_nterm_all_h_1fi6_v3t   tyr_nterm_all_h_1d1n_v3t   arg_nterm_all_h_1gxe_v3t   gly_nterm_all_h_1o7b_v2t   cys_nterm_all_h_1b9q_v3s   LEU%COOHt   leu_cterm_all_h_2oyw_v3t   trp_chain_all_h_1cx1_v3t   ala_cterm_all_h_1jdk_v2t   arg_nterm_all_h_5pti_v3t   GLYi   t   gly_chain_all_h_1ozo_v3t   met_nterm_all_h_1c15_v3t   tyr_nterm_all_h_1lxh_v3t   ser_nterm_all_h_1bl1_v3t   phe_chain_all_h_1hdj_v3t   phe_chain_all_h_1hdp_v3t   arg_cterm_all_h_1mmc_v2t   ile_nterm_all_h_1ntp_v2t   met_nterm_all_h_2j46_v2t   asn_cterm_all_h_2cdx_v3t   lys_nterm_all_h_2bvb_v3t   glu_nterm_all_h_1agg_v2t   glu_nterm_all_h_1agg_v3t   ala_nterm_all_h_1vcx_v2t   ala_cterm_all_h_1eio_v3t   ser_nterm_all_h_1bl1_v2t   ILEt   ile_chain_all_h_1ozo_v3t   gly_nterm_all_h_1qg1_v2t   arg_nterm_all_h_1dpu_v2t   asn_nterm_all_h_1w4g_v3t   met_nterm_all_h_1c15_v2s   TRP%COOHt   trp_cterm_all_h_6cmh_v2t   leu_chain_all_h_2sn3_v2t   leu_nterm_all_h_2bun_v2t   ala_nterm_all_h_2bw2_v2s   MET%NH2NOTPROt   met_nterm_all_h_1d7q_v2t   val_cterm_all_h_1cz2_v3t   asn_nterm_all_h_1w4g_v2t   ala_nterm_all_h_1blq_v3t   pro_nterm_all_h_2gs0_v2s    HE1t   glu_chain_all_h_1tmr_v2s   GLY%COOHt   gly_cterm_all_h_1sbu_v3t   leu_cterm_all_h_2oyw_v2t   met_nterm_all_h_1euw_v3t   gly_nterm_all_h_3ins_v3t   asn_nterm_all_h_1cej_v3t   gly_chain_all_h_1ozo_v2t   ala_cterm_all_h_1jdk_v3t   leu_chain_all_h_1ozo_v2t   thr_chain_all_h_1o8t_v2t   his_nterm_all_h_1c17_v2t   gly_cterm_all_h_1sbu_v2t   tyr_cterm_all_h_1fu6_v2t   tyr_chain_all_h_1cx1_v2t   lys_cterm_all_h_1gkt_v3t   ser_cterm_all_h_2jnr_v2t   trp_cterm_all_h_6cmh_v3t   phe_cterm_all_h_2jnr_v3t   leu_nterm_all_h_1edv_v2t   asp_chain_all_h_1kgl_v2t   lys_nterm_all_h_1gcc_v3t   ile_cterm_all_h_1pog_v2t   phe_chain_all_h_1hdp_v2t   pro_chain_all_h_1a03_v3t   ile_chain_all_h_1ozo_v2t   ile_nterm_all_h_1c2l_v3t   val_nterm_all_h_1qn1_v2s   PHE%COO%NH3t   phe_n_ter_c_ter_with_hydrogenss   MSE%COOHt   mse_cterm_all_h_1hz3_v2s   MSE%NH3t   mse_nterm_all_h_1qqi_v2t   MSEt   mse_chain_all_h_1ozo_v3t   mse_nterm_all_h_2j46_v3t   mse_nterm_all_h_1d7q_v3t   mse_nterm_all_h_1qqi_v3t   mse_cterm_all_h_1hz3_v3t   mse_nterm_all_h_1euw_v2t   mse_chain_all_h_1ozo_v2t   mse_nterm_all_h_1c15_v3t   mse_nterm_all_h_2j46_v2t   mse_nterm_all_h_1c15_v2s   MSE%NH2NOTPROt   mse_nterm_all_h_1d7q_v2t   mse_nterm_all_h_1euw_v3t   __main__i   t   residue_typet   proteint   expected_results(
   t
   __future__R    t0   mmtbx.monomer_library.tst_rna_dna_interpretationR   t   syst   Nonet   TrueRô   t   __name__t   argv(    (    (    s^   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/mmtbx/monomer_library/tst_protein_interpretation.pyt   <module>   s¼  