<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_rw_p_i_r_8h">
<title>/Users/bernard/b20/bsoft/include/rwPIR.h File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/include/rwPIR.h</primary></indexterm>
<para>

<para>Header file for reading and writing PIR sequence files. </para>
 
</para>
<programlisting>#include &quot;rwmolecule.h&quot;
</programlisting><simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_rw_p_i_r_8h_1a91afca56471e394bd2018b692bc3903a">readPIR</link> (<link linkend="_class_bstring">Bstring</link> &amp;filename, <link linkend="_struct_bmolgroup">Bmolgroup</link> *molgroup)</para>

<para>Reads PIR format sequence files. </para>
</listitem>
            <listitem><para>int <link linkend="_rw_p_i_r_8h_1a39ad32028179b1c01b821e920a1c3b80">writePIR</link> (<link linkend="_class_bstring">Bstring</link> &amp;filename, <link linkend="_struct_bmolgroup">Bmolgroup</link> *molgroup)</para>

<para>Writes PIR format sequence files. </para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>Header file for reading and writing PIR sequence files. </para>

<para><formalpara><title>Author: </title>

<para>Bernard Heymann </para>
</formalpara>
<formalpara><title>Date: </title>

<para>Created: 19990123 </para>

<para>Modified: 20000729 Format: Protein sequence file format </para>
</formalpara>
</para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_rw_p_i_r_8h_1a91afca56471e394bd2018b692bc3903a"/>    <section>
    <title>readPIR()</title>
<indexterm><primary>readPIR</primary><secondary>rwPIR.h</secondary></indexterm>
<indexterm><primary>rwPIR.h</primary><secondary>readPIR</secondary></indexterm>
<para><computeroutput>int readPIR (<link linkend="_class_bstring">Bstring</link> &amp; filename, <link linkend="_struct_bmolgroup">Bmolgroup</link> * molgroup)</computeroutput></para><para>

<para>Reads PIR format sequence files. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>&amp;filename</entry>
                                <entry>
<para>sequence file name. </para>
</entry>
                            </row>
                            <row>
                                <entry>*molgroup</entry>
                                <entry>
<para>molecule group. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int number of molecules read (&lt;0 if reading failed). <literallayout><computeroutput>PIR format:
&gt;P1;BAC1_HALS1
BAC1_HALS1, 308 bases, DC74A5E6 checksum.
 -------&#8212; &#8212;MDPIALT AAVGADLLGD GRPETLWLGI GTLLMLIGTF
 ASAAD&#8212;*
</computeroutput></literallayout> </para>
</formalpara>
</para>
<para>
Definition at line 29 of file rwPIR.cpp.</para>
    </section><anchor xml:id="_rw_p_i_r_8h_1a39ad32028179b1c01b821e920a1c3b80"/>    <section>
    <title>writePIR()</title>
<indexterm><primary>writePIR</primary><secondary>rwPIR.h</secondary></indexterm>
<indexterm><primary>rwPIR.h</primary><secondary>writePIR</secondary></indexterm>
<para><computeroutput>int writePIR (<link linkend="_class_bstring">Bstring</link> &amp; filename, <link linkend="_struct_bmolgroup">Bmolgroup</link> * molgroup)</computeroutput></para><para>

<para>Writes PIR format sequence files. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>&amp;filename</entry>
                                <entry>
<para>sequence file name. </para>
</entry>
                            </row>
                            <row>
                                <entry>*molgroup</entry>
                                <entry>
<para>molecule group. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int number of molecules written (&lt;0 if writing failed). </para>
</formalpara>
</para>
<para>
Definition at line 109 of file rwPIR.cpp.</para>
</section>
</section>
</section>
