Go to the SVN repository for this file.
83 unsigned intexonNumber = 1;
84 autorecordFrom = gtfRecord.SeqStart();
85 autorecordTo = gtfRecord.SeqStop();
86 for(
const auto& pExonLocation:
location.GetPacked_int().Get()) {
87 autoexonFrom = pExonLocation->GetFrom();
88 autoexonTo = pExonLocation->GetTo();
89 if(recordFrom >= exonFrom && recordTo <= exonTo) {
103 returnxGetIndexInLocation(gtfRecord, mCdsLoc);
105 returnxGetIndexInLocation(gtfRecord, mRnaLoc);
113 autoexonNumber = CdsGetExonNumberFor(gtfRecord);
115gtfRecord.SetExonNumber(exonNumber);
unsigned int CdsGetExonNumberFor(const CGtfRecord &) const
void xInitialize(CMappedFeat cdsMf)
bool CdsNeedsExonNumbers() const
void AssignExonNumberTo(CGtfRecord >fRecord) const
unsigned xGetIndexInLocation(const CGtfRecord &, const CSeq_loc &) const
Include a standard set of the NCBI C++ Toolkit most basic headers.
static const char location[]
void ChangeToPackedInt(void)
Works only if location is currently an interval, point, packed-int (handled trivially),...
virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)
Override Assign() to incorporate cache invalidation.
CMappedFeat GetBestMrnaForCds(const CMappedFeat &cds_feat, CFeatTree *feat_tree=0, const SAnnotSelector *base_sel=0)
const CSeq_loc & GetLocation(void) const
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
virtual void Reset(void)
Reset the whole object.
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