<?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_gen_bank_8h">
<title>/Users/bernard/b20/bsoft/include/rwGenBank.h File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/include/rwGenBank.h</primary></indexterm>
<para>

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

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

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

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

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

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

<para>Created: 20030308 </para>

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

<para>Reads GenBank 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>GenBank format:
LOCUS       NP_039940                284 aa            linear   VRL 13-FEB-2003
DEFINITION  UL6 [Human herpesvirus 5].
ACCESSION   NP_039940
ORIGIN      
        1 mhakmngwag vrlvthclnt rsrtyvalnm lafartprgv psclfnkvwv sryalvlilm
       61 vcasesstsw avtsnrlpnc stitttagqd aelhgpapls cnvtqwgrye ngstpvlwct
      121 lwgsrtrvsl ghrvafgcsw ktffiynvse ssggty
</computeroutput></literallayout> </para>
</formalpara>
</para>
<para>
Definition at line 33 of file rwGenBank.cpp.</para>
    </section><anchor xml:id="_rw_gen_bank_8h_1a8cc7cb4acdcc102e1cb40027ebd50d8f"/>    <section>
    <title>writeGenBank()</title>
<indexterm><primary>writeGenBank</primary><secondary>rwGenBank.h</secondary></indexterm>
<indexterm><primary>rwGenBank.h</primary><secondary>writeGenBank</secondary></indexterm>
<para><computeroutput>int writeGenBank (<link linkend="_class_bstring">Bstring</link> &amp; filename, <link linkend="_struct_bmolgroup">Bmolgroup</link> * molgroup)</computeroutput></para><para>

<para>Writes GenBank 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 123 of file rwGenBank.cpp.</para>
</section>
</section>
</section>
