/usr/include/pbdata/reads/ReadInterval.hpp is in libpbdata-dev 0~20151014+gitbe5d1bf-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #ifndef _BLASR_READ_INTERVAL_HPP_
#define _BLASR_READ_INTERVAL_HPP_
#include "RegionAnnotation.hpp"
class RegionAnnotation;
class ReadInterval {
public:
int start;
int end;
int score;
ReadInterval(int s=0, int e=0, int sc=0) : start(s), end(e), score(sc) {};
ReadInterval(const RegionAnnotation & ra)
: start(ra.GetStart())
, end(ra.GetEnd())
, score(ra.GetScore()) {}
ReadInterval& operator=(const ReadInterval &rhs) {
start = rhs.start;
end = rhs.end;
score = rhs.score;
return *this;
}
bool operator==(const ReadInterval &rhs) const {
return (start == rhs.start and
end == rhs.end and
score == rhs.score);
}
};
#endif
|