Go to the SVN repository for this file.
45 char A= 1,
C= 2,
G= 4,
T= 8;
94 throwruntime_error(
string(
"couldn't covert ") +
in+
95 " to ncbi8na: invalid IUPAC code ");
104 out.resize(
in.size());
105 for(
unsigned int i= 0;
i<
in.length();
i++) {
113 static const charsc_table[16] = {
1140x00, 0x08, 0x04, 0x0c, 0x02, 0x0a, 0x06, 0x0e,
1150x01, 0x09, 0x05, 0x0d, 0x03, 0x0b, 0x07, 0x0f
117 returnsc_table[
in& 0x0f ];
123reverse(seq.begin(), seq.end());
static char IupacToNcbi8na(char in)
stuff for dealing with ncbi8na.
static void CompNcbi8na(string &seq8na)
complement an ncbi8na sequence in place
Include a standard set of the NCBI C++ Toolkit most basic headers.
std::ofstream out("events_result.xml")
main entry point for tests
#define NON_CONST_ITERATE(Type, Var, Cont)
Non constant version of ITERATE macro.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
std::istream & in(std::istream &in_, double &x_)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4