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/Linkage__evidence_8cpp_source.html below:

NCBI C++ ToolKit: src/objects/seq/Linkage_evidence.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

60  const string

& linkage_evidence )

64

vector<string> linkage_evidence_vec;

65  NStr::Split

(linkage_evidence,

";"

, linkage_evidence_vec);

72  const

vector<string> &linkage_evidence )

89  for

(

const auto

& evidence : linkage_evidence) {

91  auto

it = kStringToEType.find(evidence);

92  if

(it == kStringToEType.end()) {

96

new_evid->SetType(it->second);

97

temp_vector.push_back(std::move(new_evid));

101

output_result.insert(end(output_result),

102

make_move_iterator(begin(temp_vector)),

103

make_move_iterator(end(temp_vector)));

108  string

& output_result,

126  bool

all_converted_okay =

true

;

128  for

(

const auto

& evid : linkage_evidence) {

130  const char

* evid_str=

nullptr

;

132  if

(evid->IsSetType()) {

133  auto

it = kETypeToString.find(

static_cast<EType>

(evid->GetType()));

134  if

(it != kETypeToString.end()) {

135

evid_str = it->second.c_str();

139

evid_str =

"UNKNOWN"

;

140

all_converted_okay =

false

;

142  if

( ! output_result.empty() ) {

143

output_result +=

';'

;

145

output_result += evid_str;

148  return

all_converted_okay;

User-defined methods of the data storage class.

list< CRef< CLinkage_evidence > > TLinkage_evidence

static bool GetLinkageEvidence(TLinkage_evidence &output_result, const string &linkage_evidence)

static bool VecToString(string &output_result, const TLinkage_evidence &linkage_evidence)

The NCBI C++ standard methods for dealing with std::string.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static list< string > & Split(const CTempString str, const CTempString delim, list< string > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL)

Split a string using specified delimiters.

@ eType_proximity_ligation


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