Go to the SVN repository for this file.
60 const string& linkage_evidence )
64vector<string> linkage_evidence_vec;
65 NStr::Split(linkage_evidence,
";", linkage_evidence_vec);
72 constvector<string> &linkage_evidence )
89 for(
const auto& evidence : linkage_evidence) {
91 autoit = kStringToEType.find(evidence);
92 if(it == kStringToEType.end()) {
96new_evid->SetType(it->second);
97temp_vector.push_back(std::move(new_evid));
101output_result.insert(end(output_result),
102make_move_iterator(begin(temp_vector)),
103make_move_iterator(end(temp_vector)));
108 string& output_result,
126 boolall_converted_okay =
true;
128 for(
const auto& evid : linkage_evidence) {
130 const char* evid_str=
nullptr;
132 if(evid->IsSetType()) {
133 autoit = kETypeToString.find(
static_cast<EType>(evid->GetType()));
134 if(it != kETypeToString.end()) {
135evid_str = it->second.c_str();
139evid_str =
"UNKNOWN";
140all_converted_okay =
false;
142 if( ! output_result.empty() ) {
143output_result +=
';';
145output_result += evid_str;
148 returnall_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