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

NCBI C++ ToolKit: src/objtools/readers/hgvs/variation_ref_utils.cpp Source File

18

var_ref->SetMethod().push_back(method);

27  auto

& inst = var_ref->SetData().SetInstance();

29

inst.SetDelta().clear();

32

inst.SetDelta().push_back(

offset

);

36  auto

& seq_literal = delta_item->SetSeq().SetLiteral();

37

seq_literal.SetSeq_data().Assign(nucleotide);

38

seq_literal.SetLength(1);

39

inst.SetDelta().push_back(delta_item);

53  auto

& inst = var_ref->SetData().SetInstance();

55

inst.SetDelta().clear();

58

inst.SetDelta().push_back(

offset

);

62  auto

& seq_literal = delta_item->SetSeq().SetLiteral();

63

seq_literal.SetSeq_data().Assign(nucleotide);

64

seq_literal.SetLength(length);

65

inst.SetDelta().push_back(delta_item);

77  auto

& inst = var_ref->SetData().SetInstance();

79

inst.SetDelta().clear();

81

delta_item->SetSeq().SetLiteral().SetSeq_data().Assign(amino_acid);

82

delta_item->SetSeq().SetLiteral().SetLength() = 1;

83

inst.SetDelta().push_back(delta_item);

100  if

(start_offset.

NotNull

()) {

101

inst.

SetDelta

().push_back(start_offset);

105

delta_item->SetSeq().SetThis();

108

inst.

SetDelta

().push_back(delta_item);

111

inst.

SetDelta

().push_back(stop_offset);

125  auto

& inst = var_ref->SetData().SetInstance();

127

inst.SetDelta().clear();

128  if

(start_offset.

NotNull

()) {

129

inst.SetDelta().push_back(start_offset);

133

delta_item->SetSeq().SetThis();

134

delta_item->SetMultiplier() = 2;

135

inst.SetDelta().push_back(delta_item);

137

inst.SetDelta().push_back(stop_offset);

149  const bool

enforce_assert)

153  auto

& inst = var_ref->SetData().SetInstance();

159

inst.SetDelta().clear();

161  if

(start_offset.

NotNull

()) {

162

inst.SetDelta().push_back(start_offset);

166

delta_item->SetSeq().SetLiteral(*seq_literal);

167

inst.SetDelta().push_back(delta_item);

170

inst.SetDelta().push_back(stop_offset);

184  const bool

enforce_assert)

188  auto

& inst = var_ref->SetData().SetInstance();

189

inst.SetType(

type

);

194

inst.SetDelta().clear();

196  if

(start_offset.

NotNull

()) {

197

inst.SetDelta().push_back(start_offset);

201

delta_item->SetSeq().SetLiteral(*seq_literal);

202

inst.SetDelta().push_back(delta_item);

205

inst.SetDelta().push_back(stop_offset);

222  auto

& inst = var_ref->SetData().SetInstance();

224

inst.SetDelta().clear();

226  if

(start_offset.

NotNull

()) {

227

inst.SetDelta().push_back(start_offset);

231

delta_item->SetSeq().SetLiteral(insertion);

232

inst.SetDelta().push_back(delta_item);

235

inst.SetDelta().push_back(stop_offset);

250  auto

& inst = var_ref->SetData().SetInstance();

252

inst.SetDelta().clear();

254  if

(start_offset.

NotNull

()) {

255

inst.SetDelta().push_back(start_offset);

260

delta_item->SetSeq().SetLiteral(insertion);

261

inst.SetDelta().push_back(delta_item);

264

inst.SetDelta().push_back(stop_offset);

278  auto

& inst = var_ref->SetData().SetInstance();

280

inst.SetDelta().clear();

281  if

(start_offset.

NotNull

()) {

282

inst.SetDelta().push_back(start_offset);

286

inst.SetDelta().push_back(stop_offset);

301  auto

& inst = var_ref->SetData().SetInstance();

303

inst.SetDelta().clear();

305  if

(start_offset.

NotNull

()) {

306

inst.SetDelta().push_back(start_offset);

309

inst.SetDelta().push_back(repeat_info);

311

inst.SetDelta().push_back(stop_offset);

326  auto

& inst = var_ref->SetData().SetInstance();

328

inst.SetDelta().clear();

329  if

(start_offset.

NotNull

()) {

330

inst.SetDelta().push_back(start_offset);

334

delta_item->SetSeq().SetLoc().Assign(interval);

335

inst.SetDelta().push_back(delta_item);

337

inst.SetDelta().push_back(stop_offset);

350

delta_item->SetSeq().SetLiteral().SetSeq_data().SetNcbieaa().Set(

CNCBIeaa

(

"X"

));

351

delta_item->SetSeq().SetLiteral().SetLength(1);

352

var_ref->SetData().SetInstance().SetDelta().push_back(delta_item);

354  auto

cons =

Ref

(

new

CVariation_ref::TConsequence::value_type::TObjectType());

355

cons->SetFrameshift();

356

var_ref->SetConsequence().push_back(cons);

User-defined methods of the data storage class.

User-defined methods of the data storage class.

unsigned int TSeqPos

Type for sequence locations and lengths.

bool NotNull(void) const THROWS_NONE

Check if pointer is not null – same effect as NotEmpty().

CRef< C > Ref(C *object)

Helper functions to get CRef<> and CConstRef<> objects.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define END_SCOPE(ns)

End the previously defined scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define BEGIN_SCOPE(ns)

Define a new scope.

bool IsSetSeq_data(void) const

may have the data Check if a value has been assigned to Seq_data data member.

void SetType(TType value)

Assign a value to Type data member.

TDelta & SetDelta(void)

Assign a value to Delta data member.

@ eType_snv

delta=[morph of length 1] NOTE: this is snV not snP; the latter requires frequency-based validation t...

@ eType_inv

delta=[del, ins.seq= RevComp(variation-location)]

@ eType_mnp

delta=[morph of length >1]

@ eType_microsatellite

delta=[del, ins.seq= repeat-unit with fuzzy multiplier] variation-location is the microsat expansion ...

@ eType_delins

delta=[del, ins]

@ eType_transposon

delta=[del, ins.seq= known donor or 'this'] variation-location is equiv of transposon locs.

@ eType_prot_other

delta=any

@ eType_identity

delta=[]

@ eType_prot_missense

delta=[morph of length 1]

@ eAction_del_at

excise sequence at location if multiplier is specified, delete len(location)*multiplier positions dow...

@ eAction_ins_before

insert seq before the location.start

@ eObservation_asserted

inst represents the asserted base at a position

CRef< CVariation_ref > g_CreateDuplication(const CVariation_ref::EMethod_E method, CRef< CDelta_item > start_offset, CRef< CDelta_item > stop_offset)

CRef< CVariation_ref > g_CreateIdentity(CRef< CSeq_literal > seq_literal, const CVariation_ref::EMethod_E method, const CRef< CDelta_item > start_offset, const CRef< CDelta_item > stop_offset, const bool enforce_assert)

CRef< CVariation_ref > g_CreateMNP(const CSeq_data &nucleotide, const TSeqPos length, const CVariation_ref::EMethod_E method, const CRef< CDelta_item > offset)

CRef< CVariation_ref > g_CreateInversion(const CVariation_ref::EMethod_E method, const CRef< CDelta_item > start_offset, const CRef< CDelta_item > stop_offset)

void s_SetVariationMethod(CRef< CVariation_ref > var_ref, const CVariation_ref::EMethod_E method)

CRef< CVariation_ref > g_CreateFrameshift(const CVariation_ref::EMethod_E method)

CRef< CVariation_ref > g_CreateConversion(const CSeq_loc &interval, const CVariation_ref::EMethod_E method, const CRef< CDelta_item > start_offset, const CRef< CDelta_item > stop_offset)

CRef< CVariation_ref > g_CreateDelins(CSeq_literal &insertion, const CVariation_ref::EMethod_E method, const CRef< CDelta_item > start_offset, const CRef< CDelta_item > stop_offset)

CRef< CVariation_ref > g_CreateVarref(CRef< CSeq_literal > seq_literal, const CVariation_inst::EType type, const CVariation_ref::EMethod_E method, const CRef< CDelta_item > start_offset, const CRef< CDelta_item > stop_offset, const bool enforce_assert)

CRef< CVariation_ref > g_CreateMissense(const CSeq_data &amino_acid, const CVariation_ref::EMethod_E method)

CRef< CVariation_ref > g_CreateDeletion(const CVariation_ref::EMethod_E method, CRef< CDelta_item > start_offset, CRef< CDelta_item > stop_offset)

CRef< CVariation_ref > g_CreateMicrosatellite(const CRef< CDelta_item > repeat_info, const CVariation_ref::EMethod_E method, const CRef< CDelta_item > start_offset, const CRef< CDelta_item > stop_offset)

CRef< CVariation_ref > g_CreateSNV(const CSeq_data &nucleotide, const CVariation_ref::EMethod_E method, const CRef< CDelta_item > offset)

CRef< CVariation_ref > g_CreateInsertion(CSeq_literal &insertion, const CVariation_ref::EMethod_E method, const CRef< CDelta_item > start_offset, const CRef< CDelta_item > stop_offset)


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