A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/unit__test__hugeannot_8cpp_source.html below:

NCBI C++ ToolKit: src/app/table2asn/unit_test_hugeannot.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

40 using namespace

::

ncbi

;

51

R

"annot(>Feature lcl|scaffold1 57 >Feature gnl|xyz|SeqID2 63 >Feature gnl|xyz|SeqID4 71 >Feature gb|GL758202.1 73 >Feature gb|GL758202.2 75 >Feature gnl|xyz|GL758203 85

{

"lcl|SeqID1"

,

"lcl|SeqID1"

},

86

{

"gnl|xyz|SeqID2"

,

"gnl|xyz|SeqID2;lcl|SeqID2"

},

87

{

"gb|SeqID2"

,

"gb|SeqID2|"

},

88

{

"gb|GL758201.2"

,

"gb|GL758201.2|"

},

89

{

"gb|GL758201.1"

,

"gb|GL758201.1|"

},

90

{

"gb|GL758201.3"

,

"gb|GL758201.1|;gb|GL758201.2|;gb|GL758201|"

},

92

{

"gb|GL758204"

,

"gb|GL758204.1|"

},

93

{

"gb|GL758205.1"

,

"gb|GL758205|"

},

106

reader.

Init

(

"xyz"

, 0);

108

BOOST_TEST(reader.

size

() == 15);

117  for

(

auto

&

id

: ids) {

121  for

(

auto

& found_id: found) {

122  auto f

= found_id->AsFastaString();

126

std::cout <<

test

.fasta_search <<

":"

<<

f

<<

"\n"

;

128

BOOST_TEST(fasta ==

test

.fasta_expected);

void Open(const std::string &filename)

size_t index_size() const

std::list< CRef< objects::CSeq_id > > FindAnnots(CRef< objects::CSeq_id > seqid) const

void Init(const std::string &genome_center_id, long reader_flags, TLogger *logger=nullptr)

size_t unused_annots() const

std::string_view fasta_search

std::string_view fasta_expected

#define test(a, b, c, d, e)

static int RunTests(void)

Code to iterate through all tests to run.

const string AsFastaString(void) const

static SIZE_TYPE ParseIDs(CBioseq::TId &ids, const CTempString &s, TParseFlags flags=fParse_Default)

Parse a string representing one or more Seq-ids, appending the results to IDS.

@ fParse_RawText

Try to ID raw non-numeric accessions.

@ fParse_PartialOK

Warn rather than throwing an exception when a FASTA-style ID set contains unparsable portions,...

@ fParse_ValidLocal

Treat otherwise unidentified strings as raw accessions, provided that they pass rudimentary validatio...

list< CRef< CSeq_id > > TId

Magic spell ;-) needed for some weird compilers... very empiric.

Utility stuff for more convenient using of Boost.Test library.

BOOST_AUTO_TEST_CASE(RunTests)

static constexpr CTestData test_cases[]

static constexpr std::string_view s_five_column_data

bool IdRefLess(const CRef< CSeq_id > &id1, const CRef< CSeq_id > &id2)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4