1 /* index.h
2  *
3  * ===========================================================================
4  *
5  *                            PUBLIC DOMAIN NOTICE
6  *               National Center for Biotechnology Information
7  *
8  *  This software/database is a "United States Government Work" under the
9  *  terms of the United States Copyright Act.  It was written as part of
10  *  the author's official duties as a United States Government employee and
11  *  thus cannot be copyrighted.  This software/database is freely available
12  *  to the public for use. The National Library of Medicine and the U.S.
13  *  Government have not placed any restriction on its use or reproduction.
14  *
15  *  Although all reasonable efforts have been taken to ensure the accuracy
16  *  and reliability of the software and data, the NLM and the U.S.
17  *  Government do not and cannot warrant the performance or results that
18  *  may be obtained by using this software or data. The NLM and the U.S.
19  *  Government disclaim all warranties, express or implied, including
20  *  warranties of performance, merchantability or fitness for any particular
21  *  purpose.
22  *
23  *  Please cite the author in any work or product based on this material.
24  *
25  * ===========================================================================
26  *
27  * File Name:  index.h
28  *
29  * Author: Karl Sirotkin, Hsiu-Chuan Chen
30  *
31  * File Description:
32  * -----------------
33  *      Main parser defines.
34  *
35  */
36 
37 #ifndef _INDEX_
38 #define _INDEX_
39 
40 #include<objtools/flatfile/flatfile_parser.hpp>
41 
42 /* genbank format old style LOCUS line column position
43  */
44 #define ParFlat_COL_BASES           22
45 #define ParFlat_COL_BP              30
46 #define ParFlat_COL_STRAND          33
47 #define ParFlat_COL_MOLECULE        36
48 #define ParFlat_COL_TOPOLOGY        42
49 #define ParFlat_COL_DIV             52
50 #define ParFlat_COL_DATE            62
51 
52 /* genbank format new style LOCUS line column position
53  */
54 #define ParFlat_COL_BASES_NEW       29
55 #define ParFlat_COL_BP_NEW          41
56 #define ParFlat_COL_STRAND_NEW      44
57 #define ParFlat_COL_MOLECULE_NEW    47
58 #define ParFlat_COL_TOPOLOGY_NEW    55
59 #define ParFlat_COL_DIV_NEW         64
60 #define ParFlat_COL_DATE_NEW        68
61 
62 #define ParFlat_REF_END             26
63 #define ParFlat_REF_BTW             27
64 #define ParFlat_REF_SITES           28
65 #define ParFlat_REF_NO_TARGET       29
66 
67 #define ParFlat_COL_FEATKEY         5
68 #define ParFlat_COL_FEATDAT         21
69 
70 #endif
71