NCBI C++ ToolKit
Namespaces | Functions
blast_test_util.cpp File Reference

Utilities to develop and debug unit tests for BLAST. More...

#include <ncbi_pch.hpp>
#include "blast_test_util.hpp"
#include <corelib/ncbimisc.hpp>
#include <corelib/ncbitype.h>
#include <util/random_gen.hpp>
#include <algo/blast/api/blast_aux.hpp>
#include "blast_objmgr_priv.hpp"
#include <serial/serial.hpp>
#include <serial/objistr.hpp>
#include <objmgr/bioseq_handle.hpp>
#include <objmgr/seq_vector.hpp>
#include <objtools/data_loaders/genbank/gbloader.hpp>
#include <objects/seqalign/Seq_align_set.hpp>
#include <objtools/align_format/showalign.hpp>
#include <sstream>
#include <corelib/test_boost.hpp>
+ Include dependency graph for blast_test_util.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Namespaces

 TestUtil
 

Functions

objects::CSeq_id * TestUtil::GenerateRandomSeqid_Gi ()
 
vector< EBlastProgramTypeTestUtil::GetAllBlastProgramTypes ()
 
CRef< CSeq_align_setTestUtil::FlattenSeqAlignSet (const CSeq_align_set &sset)
 
void TestUtil::PrintSequence (const Uint1 *seq, TSeqPos len, ostream &out, bool show_markers, TSeqPos chars_per_line)
 
void TestUtil::PrintSequence (const CSeqVector svector, ostream &out, bool show_markers, TSeqPos chars_per_line)
 
char TestUtil::GetResidue (unsigned int res)
 Returns character representation of a residue from ncbistdaa. More...
 
BlastQueryInfoTestUtil::CreateProtQueryInfo (unsigned int query_size)
 Creates and initializes a BlastQueryInfo structure for a single protein sequence. More...
 
void TestUtil::CheckForBlastSeqSrcErrors (const BlastSeqSrc *seqsrc)
 
Uint4 TestUtil::EndianIndependentBufferHash (const char *buffer, Uint4 byte_length, Uint4 swap_size=1, Uint4 hash_seed=1)
 Endianness independent hash function. More...
 

Detailed Description

Utilities to develop and debug unit tests for BLAST.

Definition in file blast_test_util.cpp.

Modified on Wed Feb 28 07:12:21 2024 by modify_doxy.py rev. 669887