ARB
Main Page
Namespaces
Classes
Files
File List
File Members
SEQ_QUALITY
SQ_ambiguities.h
Go to the documentation of this file.
1
// ==================================================================== //
2
// //
3
// File : SQ_ambiguities.h //
4
// Purpose : Class used for evaluation of iupac ambiguities //
5
// //
6
// //
7
// Coded by Juergen Huber in July 2003 - February 2004 //
8
// Coded by Kai Bader (baderk@in.tum.de) in 2007 - 2008 //
9
// Copyright Department of Microbiology (Technical University Munich) //
10
// //
11
// Visit our web site at: http://www.arb-home.de/ //
12
// //
13
// ==================================================================== //
14
15
#ifndef ARBDB_BASE_H
16
#include <
arbdb_base.h
>
17
#endif
18
19
#define seq_assert(bed) arb_assert(bed)
20
21
class
SQ_ambiguities
{
22
int
number;
23
int
percent;
24
int
iupac_value;
25
26
public
:
27
SQ_ambiguities
() :
28
number(0),
29
percent(0),
30
iupac_value(0)
31
{}
32
33
void
SQ_count_ambiguities
(
const
char
*
iupac
,
int
length
,
GBDATA
*gb_quality);
34
35
int
SQ_get_nr_ambiguities
()
const
{
return
number; }
36
int
SQ_get_percent_ambiguities
()
const
{
return
percent; }
37
int
SQ_get_iupac_value
()
const
{
return
iupac_value; }
38
};
39
SQ_ambiguities::SQ_ambiguities
SQ_ambiguities()
Definition:
SQ_ambiguities.h:27
SQ_ambiguities
Definition:
SQ_ambiguities.h:21
iupac
Definition:
iupac.cxx:21
GBDATA
Definition:
gb_data.h:129
SQ_ambiguities::SQ_count_ambiguities
void SQ_count_ambiguities(const char *iupac, int length, GBDATA *gb_quality)
Definition:
SQ_ambiguities.cxx:16
SQ_ambiguities::SQ_get_iupac_value
int SQ_get_iupac_value() const
Definition:
SQ_ambiguities.h:37
arbdb_base.h
SQ_ambiguities::SQ_get_nr_ambiguities
int SQ_get_nr_ambiguities() const
Definition:
SQ_ambiguities.h:35
SQ_ambiguities::SQ_get_percent_ambiguities
int SQ_get_percent_ambiguities() const
Definition:
SQ_ambiguities.h:36
length
size_t length
Definition:
arb_help2xml.cxx:89
Generated by
1.8.8