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

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

56 using namespace ncbi

;

64  return

seh.GetCompleteSeq_entry();

71  if

(feat_tree.Empty())

73

feat_tree.

Reset

(

new

feature::CFeatTree());

74

feat_tree->AddFeatures(

CFeat_CI

(scope->GetBioseqHandle(*bioseq)));

82

map_locus_to_gene.clear();

83

map_protein_to_mrna.clear();

84

map_transcript_to_mrna.clear();

85

feat_tree.ReleaseOrNull();

92  for

(

auto

pXref : cds.

GetXref

()) {

93  if

(pXref->IsSetId()) {

94  auto

pLinkedFeat = FindFeature(pXref->GetId());

96

pLinkedFeat->IsSetData() &&

97

pLinkedFeat->GetData().IsGene()) {

102  if

(pXref->IsSetData() &&

103

pXref->GetData().IsGene() &&

104

pXref->GetData().GetGene().IsSetLocus_tag()) {

105  auto

pGene = FeatFromMap(pXref->GetData().GetGene().GetLocus_tag(), map_locus_to_gene);

113  auto

pGene = FindGeneByLocusTag(cds);

115  CMappedFeat

mappedCds(scope->GetSeq_featHandle(cds));

118

pGene.Reset(

const_cast<CSeq_feat

*

>

(&mappedGene.GetOriginalFeature()));

127  if

(bioseq->IsSetAnnot()) {

128  for

(

auto

annot : bioseq->GetAnnot())

130  if

(!annot->IsFtable())

continue

;

134  if

((**feat_it).IsSetIds())

138  if

((**id_it).Equals(

id

))

144  if

((**feat_it).IsSetId() && (**feat_it).GetId().Equals(

id

))

155  if

(!

key

.empty()) {

156  auto

it = feat_map.

find

(

key

);

157  if

(it != feat_map.

end

()) {

170  const auto

& locus_tag = cds.

GetNamedQual

(

"locus_tag"

);

171  return

FeatFromMap(locus_tag, map_locus_to_gene);

178  for

(

auto

pXref : cds.

GetXref

()) {

179  if

(pXref->IsSetId()) {

180  auto

pLinkedFeat = FindFeature(pXref->GetId());

182

pLinkedFeat->IsSetData() &&

183

pLinkedFeat->GetData().IsRna() &&

190  auto

pMrna = FindMrnaByQual(cds);

192  CMappedFeat

mappedCds(scope->GetSeq_featHandle(cds));

195

pMrna.Reset(

const_cast<CSeq_feat

*

>

(&mappedMrna.GetOriginalFeature()));

207  const auto

& transcript_id = cds.

GetNamedQual

(

"transcript_id"

);

208  auto

pMrna = FeatFromMap(transcript_id, map_transcript_to_mrna);

210  const auto

& protein_id = cds.

GetNamedQual

(

"protein_id"

);

211

pMrna = FeatFromMap(protein_id, map_protein_to_mrna);

220  if

(!bioseq->IsSetAnnot()) {

223  for

(

auto

annot: bioseq->GetAnnot()) {

224  if

(!annot->IsFtable()) {

228  for

(

auto

feat: annot->GetData().GetFtable()) {

229  if

(!feat->CanGetData()) {

232  const auto

&

data

= feat->GetData();

234  bool

isgene =

data

.IsGene();

236  if

(feat->IsSetQual()) {

237  for

(

auto

qual: feat->GetQual()) {

238  if

(!qual->CanGetQual() || !qual->CanGetVal()) {

241  const string

& name = qual->GetQual();

242  const string

&

value

= qual->GetVal();

244  if

(name ==

"transcript_id"

) {

250  if

(name ==

"protein_id"

) {

256  if

(name ==

"locus_tag"

) {

266  if

(feat->GetData().GetGene().IsSetLocus_tag()) {

267

map_locus_to_gene.insert(

User-defined methods of the data storage class.

User-defined methods of the data storage class.

namespace ncbi::objects::

const string & GetNamedQual(const CTempString &qual_name) const

Return a named qualifier.

const_iterator end() const

container_type::value_type value_type

const_iterator find(const key_type &key) const

Include a standard set of the NCBI C++ Toolkit most basic headers.

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

CMappedFeat GetBestMrnaForCds(const CMappedFeat &cds_feat, CFeatTree *feat_tree=0, const SAnnotSelector *base_sel=0)

CMappedFeat GetBestGeneForCds(const CMappedFeat &cds_feat, CFeatTree *feat_tree=0, const SAnnotSelector *base_sel=0, CFeatTree::EBestGeneType lookup_type=CFeatTree::eBestGene_TreeOnly)

void Reset(void)

Reset reference object.

bool IsSetQual(void) const

qualifiers Check if a value has been assigned to Qual data member.

bool IsCdregion(void) const

Check if variant Cdregion is selected.

bool IsSetXref(void) const

cite other relevant features Check if a value has been assigned to Xref data member.

const TData & GetData(void) const

Get the Data member data.

list< CRef< CFeat_id > > TIds

const TXref & GetXref(void) const

Get the Xref member data.

list< CRef< CSeq_feat > > TFtable

const struct ncbi::grid::netcache::search::fields::KEY key

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

const GenericPointer< typename T::ValueType > T2 value

CRef< CSeq_feat > FindGeneByLocusTag(const CSeq_feat &cds) const

CRef< objects::CSeq_feat > ParentGene(const objects::CSeq_feat &cds)

CRef< objects::CSeq_feat > ParentMrna(const objects::CSeq_feat &cds)

CRef< objects::CSeq_feat > FindMrnaByQual(const objects::CSeq_feat &cds) const

CRef< objects::CSeq_feat > FeatFromMap(const string &key, const TFeatMap &) const

CRef< feature::CFeatTree > FeatTree()

CRef< objects::CSeq_feat > FindFeature(const objects::CFeat_id &id)


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