NCBI C++ ToolKit
nucprot.h
Go to the documentation of this file.

Go to the SVN repository for this file.

1 /* $Id: nucprot.h 96581 2022-04-16 16:12:01Z stakhovv $
2  * ===========================================================================
3  *
4  * PUBLIC DOMAIN NOTICE
5  * National Center for Biotechnology Information
6  *
7  * This software/database is a "United States Government Work" under the
8  * terms of the United States Copyright Act. It was written as part of
9  * the author's official duties as a United States Government employee and
10  * thus cannot be copyrighted. This software/database is freely available
11  * to the public for use. The National Library of Medicine and the U.S.
12  * Government have not placed any restriction on its use or reproduction.
13  *
14  * Although all reasonable efforts have been taken to ensure the accuracy
15  * and reliability of the software and data, the NLM and the U.S.
16  * Government do not and cannot warrant the performance or results that
17  * may be obtained by using this software or data. The NLM and the U.S.
18  * Government disclaim all warranties, express or implied, including
19  * warranties of performance, merchantability or fitness for any particular
20  * purpose.
21  *
22  * Please cite the author in any work or product based on this material.
23  *
24  * ===========================================================================
25  *
26  * File Name: nucprot.h
27  *
28  * Author: Karl Sirotkin, Hsiu-Chuan Chen
29  *
30  * File Description:
31  *
32  */
33 
34 #ifndef _NUCPROT_
35 #define _NUCPROT_
36 
37 #define Seq_descr_GIBB_mod_dna 0
38 #define Seq_descr_GIBB_mod_rna 1
39 #define Seq_descr_GIBB_mod_extrachr 2
40 #define Seq_descr_GIBB_mod_plasmid 3
41 #define Seq_descr_GIBB_mod_mito 4
42 #define Seq_descr_GIBB_mod_chlo 5
43 #define Seq_descr_GIBB_mod_kinet 6
44 #define Seq_descr_GIBB_mod_cyane 7
45 #define Seq_descr_GIBB_mod_synth 8
46 #define Seq_descr_GIBB_mod_recomb 9
47 #define Seq_descr_GIBB_mod_partial 10
48 #define Seq_descr_GIBB_mod_complete 11
49 #define Seq_descr_GIBB_mod_mutagen 12
50 #define Seq_descr_GIBB_mod_natmut 13
51 #define Seq_descr_GIBB_mod_transposon 14
52 #define Seq_descr_GIBB_mod_insertion 15
53 #define Seq_descr_GIBB_mod_noleft 16
54 #define Seq_descr_GIBB_mod_noright 17
55 #define Seq_descr_GIBB_mod_macronuclear 18
56 #define Seq_descr_GIBB_mod_proviral 19
57 #define Seq_descr_GIBB_mod_est 20
58 #define Seq_descr_GIBB_mod_sts 21
59 #define Seq_descr_GIBB_mod_gss 22
60 
62 
63 struct GeneRefFeats {
64  bool valid;
65  TSeqFeatList::iterator first;
66  TSeqFeatList::iterator last;
67 
69  valid(false)
70  {
71  }
72 };
73 
74 void CheckDupDates(TEntryList& seq_entries);
75 void ProcNucProt(ParserPtr pp, TEntryList& seq_entries, GeneRefFeats& gene_refs);
76 void ExtractDescrs(TSeqdescList& descrs_from, TSeqdescList& descrs_to, objects::CSeqdesc::E_Choice choice);
77 
79 #endif
list< CRef< objects::CSeq_entry > > TEntryList
std::list< CRef< objects::CSeqdesc > > TSeqdescList
Definition: ftablock.h:60
#define false
Definition: bool.h:36
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
void CheckDupDates(TEntryList &seq_entries)
Definition: nucprot.cpp:2663
void ProcNucProt(ParserPtr pp, TEntryList &seq_entries, GeneRefFeats &gene_refs)
Definition: nucprot.cpp:2509
void ExtractDescrs(TSeqdescList &descrs_from, TSeqdescList &descrs_to, objects::CSeqdesc::E_Choice choice)
TSeqFeatList::iterator first
Definition: nucprot.h:65
TSeqFeatList::iterator last
Definition: nucprot.h:66
GeneRefFeats()
Definition: nucprot.h:68
bool valid
Definition: nucprot.h:64
Modified on Sun Apr 28 04:48:55 2024 by modify_doxy.py rev. 669887