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

Go to the SVN repository for this file.

1 /* $Id: utilfeat.h 96583 2022-04-16 17:40:58Z 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: utilfeat.h
27  *
28  * Author: Karl Sirotkin, Hsiu-Chuan Chen
29  *
30  * File Description:
31  *
32  */
33 
34 #ifndef _UTILFEAT_
35 #define _UTILFEAT_
36 
37 #define ftable 1 /* Seq-feat type */
38 
39 #include "loadfeat.h"
40 
42 
43 bool SeqLocHaveFuzz(const objects::CSeq_loc& loc);
44 
45 char* CpTheQualValue(const TQualVector& qlist, const char* qual);
46 char* GetTheQualValue(TQualVector& qlist, const char* qual);
47 bool DeleteQual(TQualVector& qlist, const char* qual);
48 
49 Uint1 GetQualValueAa(char* qval, bool checkseq);
50 bool GetGenomeInfo(objects::CBioSource& bsp, const char* bptr);
51 void MaybeCutGbblockSource(TEntryList& seq_entries);
52 
54 string location_to_string(const objects::CSeq_loc& loc);
55 
57 
58 #endif
list< CRef< objects::CSeq_entry > > TEntryList
string
Definition: cgiapp.hpp:687
uint8_t Uint1
1-byte (8-bit) unsigned integer
Definition: ncbitype.h:99
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
static const char * str(char *buf, int n)
Definition: stats.c:84
bool GetGenomeInfo(objects::CBioSource &bsp, const char *bptr)
Uint1 GetQualValueAa(char *qval, bool checkseq)
Definition: utilfeat.cpp:217
bool DeleteQual(TQualVector &qlist, const char *qual)
Definition: utilfeat.cpp:193
bool SeqLocHaveFuzz(const objects::CSeq_loc &loc)
char * CpTheQualValue(const TQualVector &qlist, const char *qual)
Definition: utilfeat.cpp:128
void MakeLocStrCompatible(std::string &str)
void MaybeCutGbblockSource(TEntryList &seq_entries)
Definition: utilfeat.cpp:454
char * GetTheQualValue(TQualVector &qlist, const char *qual)
Definition: utilfeat.cpp:160
string location_to_string(const objects::CSeq_loc &loc)
std::vector< CRef< objects::CGb_qual > > TQualVector
Definition: xgbfeat.h:12
Modified on Sat Dec 02 09:19:46 2023 by modify_doxy.py rev. 669887