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.


class  CMakeScoreMethodApp


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[])



Function Documentation

◆ kAAIndexOrder()

static const string kAAIndexOrder ( "ARNDCQEGHILKMFPSTWYV"  )

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 

◆ s_FormatAA()

static string s_FormatAA ( int  aa)

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 

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 

◆ sWriteLine()

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

Definition at line 171 of file make_score_method.cpp.

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

Referenced by CMakeScoreMethodApp::Run().

Variable Documentation



Definition at line 388 of file make_score_method.cpp.

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