71 descrs->AddFlag(
"print_exp",
"Print expected values instead of testing");
103 size_t num_aligns = 0;
104 while ( !
in.eof() ) {
111 if (limit > 0 && num_aligns >= limit)
break;
128 product-id gi 487489526, \
129 genomic-id gi 556503834, \
130 genomic-strand minus, \
131 product-type protein, \
134 product-start protpos { \
138 product-end protpos { \
142 genomic-start 1642491, \
143 genomic-end 1643270, \
157 BOOST_CHECK_NO_THROW(align.
Validate(
true));
160 CScope& scope = *scope_ref;
165 BOOST_CHECK_EQUAL(
value, 780);
168 BOOST_CHECK_EQUAL(
value, 0);
const_iterator insert(const CSeq_align &seq_align)
Insert new CSeq_align into the list.
static TRegisterLoaderInfo RegisterInObjectManager(CObjectManager &om, CReader *reader=0, CObjectManager::EIsDefault is_default=CObjectManager::eDefault, CObjectManager::TPriority priority=CObjectManager::kPriority_NotSet)
static CNcbiApplication * Instance(void)
Singleton method.
void AddScore(CScope &scope, CSeq_align &align, CSeq_align::EScoreType score)
@ eScore_PercentIdentity_Gapped
bool GetNamedScore(const string &id, int &score) const
Get score.
void Validate(bool full_test=false) const
virtual const CArgs & GetArgs(void) const
Get parsed command line arguments.
#define MSerial_AsnText
I/O stream manipulators –.
@ eSerial_AsnText
ASN.1 text.
static CObjectIStream * Open(ESerialDataFormat format, CNcbiIstream &inStream, bool deleteInStream)
Create serial object reader and attach it to an input stream.
static CRef< CObjectManager > GetInstance(void)
Return the existing object manager or create one.
void AddDefaults(TPriority pri=kPriority_Default)
Add default data loaders from object manager.
IO_PREFIX::istream CNcbiIstream
Portable alias for istream.
const GenericPointer< typename T::ValueType > T2 value
#define DBL_EPSILON
size of the next series term that indicates convergence in the log and polygamma functions
Defines the CNcbiApplication and CAppException classes for creating NCBI applications.
std::istream & in(std::istream &in_, double &x_)
static bool s_Initialized
Utility stuff for more convenient using of Boost.Test library.
size_t LoadAligns(CNcbiIstream &in, CAlnContainer &aligns, size_t limit=0)
CRef< CScope > GetScope(void)
BOOST_AUTO_TEST_CASE(TestAltStartIdentity)
NCBITEST_INIT_CMDLINE(descrs)