ó
ŠßIc           @   s   d  d l  m Z m Z d „  Z e j d ƒ Z d Ge e j ƒ  ƒ d Ge e j ƒ  ƒ d Ge j ƒ  GHd e j	 ƒ  GHd e j
 ƒ  GHd	 Ge e j ƒ  ƒ GHd
 e j ƒ  GHe j ƒ  \ Z Z Z d e GHd e GHd e GHd GHx) e j e j d d ƒ D] Z d e GHqõ Wd GHd e j ƒ  GHd S(   iÿÿÿÿ(   t	   ProtParamt   ProtParamDatac         C   s3   x' |  j  ƒ  D] } d | |  | f GHq Wd GHd  S(   Ns   %s	%.2ft    (   t   keys(   t   MyDictt   i(    (    s   test_ProtParam.pyt   PrintDictionary   s    t˜   MAEGEITTFTALTEKFNLPPGNYKKPKLLYCSNGGHFLRILPDGTVDGTRDRSDQHIQLQLSAESVGEVYIKSTETGQYLAMDTSGLLYGSQTPSEECLFLERLEENHYNTYTSKKHAEKNWFVGLKKNGSCKRGPRTHYGQKAILFLPLPVs   Amino acid	Count
s   Amino acid	Fraction
s!   Molecular weight of test protein:s!   Aromaticity of test protein: %.2fs'   Instability index of test protein: %.2fs   length of flexibility list:s2   The isoelectric point of the test protein is: %.2fs&   Fraction of amino acids in Helix: %.2fs%   Fraction of amino acids in Turn: %.2fs&   Fraction of amino acids in Sheet: %.2fs"   
Kyte and Doolittle protein scale:i	   gš™™™™™Ù?s   % 0.2fs   
GRAVY:s   %0.4fN(   t   Bio.SeqUtilsR    R   R   t   ProteinAnalysist   Xt   count_amino_acidst   get_amino_acids_percentt   molecular_weightt   aromaticityt   instability_indext   lent   flexibilityt   isoelectric_pointt   secondary_structure_fractiont   Helixt   Turnt   Sheett   protein_scalet   kdR   t   gravy(    (    (    s   test_ProtParam.pyt   <module>   s(   				