Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 763d6289e1351f2d34257ce697a3ccb7 > files > 1449

biopython-doc-1.47-2mdv2008.1.x86_64.rpm

<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Bio.SeqUtils.ProtParam.ProteinAnalysis</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="Bio-module.html">Package&nbsp;Bio</a> ::
        <a href="Bio.SeqUtils-module.html">Package&nbsp;SeqUtils</a> ::
        <a href="Bio.SeqUtils.ProtParam-module.html">Module&nbsp;ProtParam</a> ::
        Class&nbsp;ProteinAnalysis
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="Bio.SeqUtils.ProtParam.ProteinAnalysis-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class ProteinAnalysis</h1><p class="nomargin-top"><span class="codelink"><a href="Bio.SeqUtils.ProtParam-pysrc.html#ProteinAnalysis">source&nbsp;code</a></span></p>
<p>This class contains methods for protein analysis.  The class init 
  method takes only one argument, the protein sequence as a string and 
  build a sequence object using the Bio.Seq module. This is done just to 
  make sure the sequence is a protein sequence and not anything else.</p>
  <p>methods:</p>
  <p>count_amino_acids:</p>
  <p>Simply counts the number times an amino acid is repeated in the 
  protein sequence. Returns a dictionary {AminoAcid:Number} and also stores
  the dictionary in self.amino_acids_content.</p>
  <p>get_amino_acids_percent:</p>
  <p>The same as count_amino_acids only returns the Number in percentage of
  entire sequence. Returns a dictionary and stores the dictionary in 
  self.amino_acids_content_percent.</p>
  <p>molecular_weight: Calculates the molecular weight of a protein.</p>
  <p>aromaticity:</p>
  <p>Calculates the aromaticity value of a protein according to Lobry, 
  1994. It is simply the relative frequency of Phe+Trp+Tyr.</p>
  <p>instability_index:</p>
  <p>Implementation of the method of Guruprasad et al. (Protein Engineering
  4:155-161,1990). This method tests a protein for stability. Any value 
  above 40 means the protein is unstable (=has a short half life).</p>
  <p>flexibility: Implementation of the flexibility method of Vihinen et 
  al. (Proteins. 1994 Jun;19(2):141-9).</p>
  <p>isoelectric_point: This method uses the module IsoelectricPoint to 
  calculate the pI of a protein.</p>
  <p>secondary_structure_fraction: This methods returns a list of the 
  fraction of amino acids which tend to be in Helix, Turn or Sheet. Amino 
  acids in helix: V, I, Y, F, W, L. Amino acids in Turn: N, P, G, S. Amino 
  acids in sheet: E, M, A, L. The list contains 3 values: [Helix, Turn, 
  Sheet].</p>
  <p>protein_scale(Scale, WindwonSize, Edge):</p>
  <p>An amino acid scale is defined by a numerical value assigned to each 
  type of amino acid. The most frequently used scales are the 
  hydrophobicity or hydrophilicity scales and the secondary structure 
  conformational parameters scales, but many other scales exist which are 
  based on different chemical and physical properties of the amino acids.  
  You can set several  parameters that control the computation  of a scale 
  profile, such as the window size and the window edge relative weight 
  value.  WindowSize: The window size is the length of the interval to use 
  for the profile computation. For a window size n, we use the i- ( n-1)/2 
  neighboring residues on each side of residue it compute the score for 
  residue i. The score for residue is  the sum of the scale values for 
  these amino acids,  optionally weighted according to their position in 
  the window.  Edge: The central amino acid of the window always has a 
  weight of 1. By default, the amino acids at the remaining window 
  positions have the same weight, but  you can make the residue at the 
  center of the window  have a larger weight than the others by setting the
  edge value for the  residues at the beginning and end of the interval to 
  a value between 0 and 1. For instance, for Edge=0.4 and a window size of 
  5 the weights will be: 0.4, 0.7, 1.0, 0.7, 0.4.  The method returns a 
  list of values which can be plotted to view the change along a protein 
  sequence.  Many scales exist. Just add your favorites to the 
  ProtParamData modules.</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">ProtSequence</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Bio.SeqUtils.ProtParam-pysrc.html#ProteinAnalysis.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="count_amino_acids"></a><span class="summary-sig-name">count_amino_acids</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Bio.SeqUtils.ProtParam-pysrc.html#ProteinAnalysis.count_amino_acids">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_amino_acids_percent"></a><span class="summary-sig-name">get_amino_acids_percent</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Bio.SeqUtils.ProtParam-pysrc.html#ProteinAnalysis.get_amino_acids_percent">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="molecular_weight"></a><span class="summary-sig-name">molecular_weight</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Bio.SeqUtils.ProtParam-pysrc.html#ProteinAnalysis.molecular_weight">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="aromaticity"></a><span class="summary-sig-name">aromaticity</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Bio.SeqUtils.ProtParam-pysrc.html#ProteinAnalysis.aromaticity">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="instability_index"></a><span class="summary-sig-name">instability_index</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Bio.SeqUtils.ProtParam-pysrc.html#ProteinAnalysis.instability_index">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="flexibility"></a><span class="summary-sig-name">flexibility</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Bio.SeqUtils.ProtParam-pysrc.html#ProteinAnalysis.flexibility">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="gravy"></a><span class="summary-sig-name">gravy</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Bio.SeqUtils.ProtParam-pysrc.html#ProteinAnalysis.gravy">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_weight_list"></a><span class="summary-sig-name">_weight_list</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">window</span>,
        <span class="summary-sig-arg">edge</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Bio.SeqUtils.ProtParam-pysrc.html#ProteinAnalysis._weight_list">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="protein_scale"></a><span class="summary-sig-name">protein_scale</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">ParamDict</span>,
        <span class="summary-sig-arg">Window</span>,
        <span class="summary-sig-arg">Edge</span>=<span class="summary-sig-default">1.0</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Bio.SeqUtils.ProtParam-pysrc.html#ProteinAnalysis.protein_scale">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="isoelectric_point"></a><span class="summary-sig-name">isoelectric_point</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Bio.SeqUtils.ProtParam-pysrc.html#ProteinAnalysis.isoelectric_point">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="secondary_structure_fraction"></a><span class="summary-sig-name">secondary_structure_fraction</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Bio.SeqUtils.ProtParam-pysrc.html#ProteinAnalysis.secondary_structure_fraction">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Sep 15 09:26:38 2008
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>