NCBI C++ ToolKit
Classes | Functions | Variables
make_score_method.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbiapp.hpp>
#include <corelib/ncbireg.hpp>
#include <corelib/ncbi_limits.hpp>
#include <util/tables/raw_scoremat.h>
#include <ctype.h>
#include <iostream>
#include <iomanip>
#include <algorithm>
+ Include dependency graph for make_score_method.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CMakeScoreMethodApp
 

Functions

static string s_FormatAA (int aa)
 
static void s_BuiltInSM (const string &sm, map< string, string > &out_map)
 
static void sWriteLine (CNcbiOstream &out, map< string, string > &out_map, const string &name)
 
static bool sReadAA_M (CNcbiIstream &in, const string &m_line, map< string, string > &out_map)
 
static const string kAAIndexOrder ("ARNDCQEGHILKMFPSTWYV")
 
static bool sReadAA_I (CNcbiIstream &in, map< string, string > &out_map)
 
bool s_ReadAAIndex (const string &accession, CNcbiIstream &in, map< string, string > &out_map)
 
int NcbiSys_main (int argc, ncbi::TXChar *argv[])
 

Variables

 USING_NCBI_SCOPE
 

Function Documentation

◆ kAAIndexOrder()

static const string kAAIndexOrder ( "ARNDCQEGHILKMFPSTWYV"  )
static

Referenced by sReadAA_I().

◆ NcbiSys_main()

int NcbiSys_main ( int  argc,
ncbi::TXChar argv[] 
)

Definition at line 390 of file make_score_method.cpp.

References CNcbiApplicationAPI::AppMain().

◆ s_BuiltInSM()

static void s_BuiltInSM ( const string sm,
map< string, string > &  out_map 
)
static

◆ s_FormatAA()

static string s_FormatAA ( int  aa)
inlinestatic

Definition at line 86 of file make_score_method.cpp.

References NStr::IntToString(), isprint(), and string.

◆ s_ReadAAIndex()

bool s_ReadAAIndex ( const string accession,
CNcbiIstream in,
map< string, string > &  out_map 
)

◆ sReadAA_I()

static bool sReadAA_I ( CNcbiIstream in,
map< string, string > &  out_map 
)
static

Definition at line 236 of file make_score_method.cpp.

References NStr::fSplit_Tokenize, in(), ITERATE, kAAIndexOrder(), line1, line2, r(), and NStr::Split().

Referenced by s_ReadAAIndex().

◆ sReadAA_M()

static bool sReadAA_M ( CNcbiIstream in,
const string m_line,
map< string, string > &  out_map 
)
static

◆ sWriteLine()

static void sWriteLine ( CNcbiOstream out,
map< string, string > &  out_map,
const string name 
)
static

Definition at line 171 of file make_score_method.cpp.

References ctll::empty(), and out().

Referenced by CMakeScoreMethodApp::Run().

Variable Documentation

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 388 of file make_score_method.cpp.

Modified on Fri Mar 01 10:08:02 2024 by modify_doxy.py rev. 669887