NCBI C++ ToolKit
Functions | Variables
codons_stringlist_validator.cpp File Reference
#include <ncbi_pch.hpp>
#include <objects/seqfeat/Trna_ext.hpp>
#include <objects/seqfeat/Genetic_code_table.hpp>
#include <util/sequtil/sequtil_convert.hpp>
#include <serial/objectinfo.hpp>
#include <gui/widgets/edit/codons_stringlist_validator.hpp>
#include "string_list_ctrl.hpp"
+ Include dependency graph for codons_stringlist_validator.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

 USING_SCOPE (objects)
 
static bool s_IsATGC (char ch)
 
static const string s_GetExpansion (const string &ch)
 
static vector< stringParseDegenerateCodons (string codon)
 

Variables

static const string kAmbiguities = "MRSVWYHKDBN"
 
static const string kReplacements []
 

Function Documentation

◆ ParseDegenerateCodons()

static vector<string> ParseDegenerateCodons ( string  codon)
static

◆ s_GetExpansion()

static const string s_GetExpansion ( const string ch)
static

Definition at line 104 of file codons_stringlist_validator.cpp.

References NStr::Find(), kAmbiguities, and kReplacements.

Referenced by ParseDegenerateCodons().

◆ s_IsATGC()

static bool s_IsATGC ( char  ch)
static

Definition at line 90 of file codons_stringlist_validator.cpp.

Referenced by ParseDegenerateCodons().

◆ USING_SCOPE()

USING_SCOPE ( objects  )

Variable Documentation

◆ kAmbiguities

const string kAmbiguities = "MRSVWYHKDBN"
static

Definition at line 100 of file codons_stringlist_validator.cpp.

Referenced by s_GetExpansion().

◆ kReplacements

const string kReplacements[]
static
Initial value:
= {
"AC", "AG", "CG", "ACG", "AT", "CT", "ACT", "GT", "AGT", "CGT", "ACGT" }

Definition at line 101 of file codons_stringlist_validator.cpp.

Referenced by s_GetExpansion().

Modified on Sat Mar 02 10:57:53 2024 by modify_doxy.py rev. 669887