NCBI C++ ToolKit
Classes | Functions | Variables
compartp.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbiapp.hpp>
#include <corelib/ncbienv.hpp>
#include <corelib/ncbiargs.hpp>
#include <algorithm>
#include <corelib/ncbistre.hpp>
#include <serial/objostr.hpp>
#include <serial/serial.hpp>
#include <algo/align/util/blast_tabular.hpp>
#include <algo/align/util/hit_comparator.hpp>
#include <algo/align/util/compartment_finder.hpp>
#include <algo/align/prosplign/compartments.hpp>
+ Include dependency graph for compartp.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CCompartApplication
 

Functions

 USING_SCOPE (prosplign)
 
void PrintCompartments (int &last_id, const string &query, const string &subj, const TCompartmentStructs &compartments, ostream &ostr)
 
void DoCompartments (const CSplign::THitRefs &one_query_subj_pair_hitrefs, const CCompartOptions &compart_options, bool hits, int &last_id, const string &query, const string &subj)
 
string GetSeqIdString (const CSeq_id &id)
 
int PdbBadRank (const CRef< CSeq_id > &id)
 
int main (int argc, const char *argv[])
 

Variables

 USING_NCBI_SCOPE
 

Function Documentation

◆ DoCompartments()

void DoCompartments ( const CSplign::THitRefs one_query_subj_pair_hitrefs,
const CCompartOptions compart_options,
bool  hits,
int last_id,
const string query,
const string subj 
)

◆ GetSeqIdString()

string GetSeqIdString ( const CSeq_id id)

◆ main()

int main ( int  argc,
const char *  argv[] 
)

Definition at line 151 of file compartp.cpp.

References CNcbiApplicationAPI::AppMain(), eDiagFilter_All, and SetDiagFilter().

◆ PdbBadRank()

int PdbBadRank ( const CRef< CSeq_id > &  id)

Definition at line 105 of file compartp.cpp.

References CSeq_id::FastaAARank(), CSeq_id_Base::IsPdb(), and kMax_Int.

Referenced by CCompartApplication::Run().

◆ PrintCompartments()

void PrintCompartments ( int last_id,
const string query,
const string subj,
const TCompartmentStructs compartments,
ostream &  ostr 
)

Definition at line 64 of file compartp.cpp.

References i, ITERATE, and query.

Referenced by DoCompartments().

◆ USING_SCOPE()

USING_SCOPE ( prosplign  )

Variable Documentation

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 19 of file compartp.cpp.

Modified on Fri Sep 20 14:58:13 2024 by modify_doxy.py rev. 669887