32 #ifndef _GFF3_LOCATION_MERGER_HPP_
33 #define _GFF3_LOCATION_MERGER_HPP_
125 unsigned int flags =0,
131 mMapIdToLocations.clear();
136 TSeqPos sequenceSize) { mSequenceSizes[seqId] = sequenceSize; }
145 void VerifyRecordLocation(
161 if (mSequenceSizes.size() == 1) {
162 return mSequenceSizes.begin()->second;
168 const string&)
const;
173 static bool xGetLocationIds(
180 static void xSortLocations(
map< string, TSeqPos > mSequenceSizes
CGff3ReadRecord::SeqIdResolver mIdResolver
LOCATION_MAP mMapIdToLocations
LOCATION_MAP & LocationMap()
void SetSequenceSize(const string &seqId, TSeqPos sequenceSize)
list< CGff3LocationRecord > LOCATIONS
TSeqPos SequenceSize() const
static bool ComparePositions(const CGff3LocationRecord &lhs, const CGff3LocationRecord &rhs)
static bool ComparePartNumbers(const CGff3LocationRecord &lhs, const CGff3LocationRecord &rhs)
CConstRef< CSeq_id > mpGffId
CGff3LocationRecord(const CGff2Record &, unsigned int, CGff3ReadRecord::SeqIdResolver)
CGffIdTrackRecord(const CGff2Record &record)
CGffIdTracker(CReaderListener *pListener=nullptr)
CReaderListener * m_pMessageListener
map< string, list< CGffIdTrackRecord > > mIds
void CheckAndIndexRecord(string id, const CGff2Record &record)
static CRef< CSeq_id > AsSeqId(const string &rawId, long flags=0, bool localInts=true)
Convert a raw ID string to a Seq-id, based in given customization flags.
Include a standard set of the NCBI C++ Toolkit most basic headers.
unsigned int TSeqPos
Type for sequence locations and lengths.
#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.
#define NCBI_XOBJREAD_EXPORT
ENa_strand
strand of nucleic acid