Sophie

Sophie

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

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.LocusLink.locus_format</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.LocusLink-module.html">Package&nbsp;LocusLink</a> ::
        Module&nbsp;locus_format
      </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.LocusLink.locus_format-module.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1 class="epydoc">Module locus_format</h1><p class="nomargin-top"><span class="codelink"><a href="Bio.LocusLink.locus_format-pysrc.html">source&nbsp;code</a></span></p>
<pre class="literalblock">
Martel based parser to read LocusLink flat files.

This is a huge regular expression for LocusLink,
built using the 'regular expressions on steroids' capabilities of
Martel.

A description of the format can be found in the 'ligand.doc' file
from the Ligand distribution, available from:

 http://www.ncbi.nih.gov/LocusLink

</pre>

<!-- ==================== FUNCTIONS ==================== -->
<a name="section-Functions"></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">Functions</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Functions"
         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="define_locus_line"></a><span class="summary-sig-name">define_locus_line</span>(<span class="summary-sig-arg">entry_tag</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Bio.LocusLink.locus_format-pysrc.html#define_locus_line">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="define_locus_group"></a><span class="summary-sig-name">define_locus_group</span>(<span class="summary-sig-arg">entry_name</span>,
        <span class="summary-sig-arg">entry_tag</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Bio.LocusLink.locus_format-pysrc.html#define_locus_group">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== VARIABLES ==================== -->
<a name="section-Variables"></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">Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Variables"
         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">
        <a name="INDENT"></a><span class="summary-name">INDENT</span> = <code title="12">12</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="blank_spaces"></a><span class="summary-name">blank_spaces</span> = <code title="Rep(Str1(&quot; &quot;))">Rep(Str1(&quot; &quot;))</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="point"></a><span class="summary-name">point</span> = <code title="Str1(&quot;.&quot;)">Str1(&quot;.&quot;)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="white_space"></a><span class="summary-name">white_space</span> = <code title="Rep(Any(&quot; 	&quot;))">Rep(Any(&quot; 	&quot;))</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Bio.LocusLink.locus_format-module.html#locus_keys" class="summary-name">locus_keys</a> = <code title="['LOCUSID',
 'LOCUS_CONFIRMED',
 'LOCUS_TYPE',
 'ORGANISM',
 'STATUS',
 'NM',
 'NP',
 'CDD',
..."><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">LOCUSID</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">LOCUS_CONFIRMED</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">LOCUS_TYPE</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">ORG</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="accnum_block_keys"></a><span class="summary-name">accnum_block_keys</span> = <code title="['ACCNUM', 'TYPE', 'PROT']"><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">ACCNUM</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">TYPE</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">PROT</code><code class="variable-quote">'</code><code class="variable-group">]</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="phenotype"></a><span class="summary-name">phenotype</span> = <code title="Str1('PHENOTYPE')">Str1('PHENOTYPE')</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="db"></a><span class="summary-name">db</span> = <code title="Str1('DB')">Str1('DB')</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="accnum_block_key"></a><span class="summary-name">accnum_block_key</span> = <code title="Str(* accnum_block_keys)">Str(* accnum_block_keys)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="valid_locus_key"></a><span class="summary-name">valid_locus_key</span> = <code title="Str(* locus_keys)">Str(* locus_keys)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Bio.LocusLink.locus_format-module.html#accnum_block" class="summary-name">accnum_block</a> = <code title="Group('accnum_block', define_locus_line('ACCNUM')+ define_locus_line('\
TYPE')+ Opt(define_locus_line('PROT')))">Group('accnum_block', define_locus_line('ACCNUM<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Bio.LocusLink.locus_format-module.html#phenotype_block" class="summary-name">phenotype_block</a> = <code title="Group('phenotype_block', define_locus_line('PHENOTYPE')+ Opt(define_lo\
cus_line('PHENOTYPE_ID')))">Group('phenotype_block', define_locus_line('<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Bio.LocusLink.locus_format-module.html#db_block" class="summary-name">db_block</a> = <code title="Group('db_block', define_locus_line('DB_DESCR')+ define_locus_line('DB\
_LINK'))">Group('db_block', define_locus_line('DB_DESCR')+ de<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="begin_record_line"></a><span class="summary-name">begin_record_line</span> = <code title="Str1('&gt;&gt;')+ ToEol()">Str1('&gt;&gt;')+ ToEol()</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Bio.LocusLink.locus_format-module.html#locus_line" class="summary-name">locus_line</a> = <code title="Group('locus_line', white_space+ AssertNot(accnum_block_key)+ AssertNo\
t(phenotype)+ AssertNot(db)+ Word()+ white_space+ Str1(':')+ ToEol())">Group('locus_line', white_space+ AssertNot(accnum<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Bio.LocusLink.locus_format-module.html#locus_record" class="summary-name">locus_record</a> = <code title="begin_record_line+ Rep(Alt(locus_line, accnum_block, phenotype_block, \
db_block))">begin_record_line+ Rep(Alt(locus_line, accnum_b<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Bio.LocusLink.locus_format-module.html#__warningregistry__" class="summary-name">__warningregistry__</a> = <code title="{('Bio.LocusLink was deprecated, as NCBI\'s LocusLink was superceded b\
y Entrez Gene. If you still need this module, please get in touch with\
 the Biopython developers (biopython-dev@biopython.org) to avoid perma\
nent removal of this module',
  &lt;type 'exceptions.DeprecationWarning'&gt;,
  34): 1}"><code class="variable-group">{</code><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">Bio.LocusLink was deprecated, as NCBI</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
</table>
<!-- ==================== VARIABLES DETAILS ==================== -->
<a name="section-VariablesDetails"></a>
<table class="details" 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">Variables Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-VariablesDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="locus_keys"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">locus_keys</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">LOCUSID</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">LOCUS_CONFIRMED</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">LOCUS_TYPE</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">ORGANISM</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">STATUS</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">NM</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">NP</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">CDD</code><code class="variable-quote">'</code><code class="variable-op">,</code>
<code class="variable-ellipsis">...</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="accnum_block"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">accnum_block</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
Group('accnum_block', define_locus_line('ACCNUM')+ define_locus_line('<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
TYPE')+ Opt(define_locus_line('PROT')))
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="phenotype_block"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">phenotype_block</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
Group('phenotype_block', define_locus_line('PHENOTYPE')+ Opt(define_lo<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
cus_line('PHENOTYPE_ID')))
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="db_block"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">db_block</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
Group('db_block', define_locus_line('DB_DESCR')+ define_locus_line('DB<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
_LINK'))
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="locus_line"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">locus_line</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
Group('locus_line', white_space+ AssertNot(accnum_block_key)+ AssertNo<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
t(phenotype)+ AssertNot(db)+ Word()+ white_space+ Str1(':')+ ToEol())
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="locus_record"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">locus_record</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
begin_record_line+ Rep(Alt(locus_line, accnum_block, phenotype_block, <span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
db_block))
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="__warningregistry__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">__warningregistry__</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-group">{</code><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">Bio.LocusLink was deprecated, as NCBI\'s LocusLink was superceded b</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
<code class="variable-string">y Entrez Gene. If you still need this module, please get in touch with</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
<code class="variable-string"> the Biopython developers (biopython-dev@biopython.org) to avoid perma</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
<code class="variable-string">nent removal of this module</code><code class="variable-quote">'</code><code class="variable-op">,</code>
  &lt;type 'exceptions.DeprecationWarning'&gt;<code class="variable-op">,</code>
  34<code class="variable-group">)</code><code class="variable-op">: </code>1<code class="variable-group">}</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== 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:24 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>