64 if (chr != currentChr_) {
66 previousBlockStart_ = 0;
67 previousBlockStop_ = 0;
70 if (refSeq.
start() < previousBlockStop_) {
71 if (refSeq.
stop() < previousBlockStart_) {
73 if (unsortedBlockThrowsException_)
75 if (unsortedBlockDiscarded_) {
77 (*logstream_ <<
"ORDER FILTER: block " << refSeq.
getDescription() <<
" is not sorted according to previous block and was discarded. Previous block started at " << previousBlockStart_ <<
" and ended at " << previousBlockStop_ <<
".").endLine();
83 if (overlappingBlockThrowsException_)
85 if (overlappingBlockDiscarded_) {
87 (*logstream_ <<
"ORDER FILTER: block " << refSeq.
getDescription() <<
" is overlapping with previous block and was discarded. Previous block started at " << previousBlockStart_ <<
" and ended at " << previousBlockStop_ <<
".").endLine();
93 previousBlockStart_ = refSeq.
start();
94 previousBlockStop_ = refSeq.
stop();
A synteny block data structure, the basic unit of a MAF alignement file.
bool hasSequenceForSpecies(const std::string &species) const
const MafSequence & getSequenceForSpecies(const std::string &species) const
A sequence class which is used to store data from MAF files.
std::string getDescription() const
const std::string & getChromosome() const
bool parseBlock_(const MafBlock &block)
std::string toString(T t)