/usr/include/pbdata/sam/SAMFlag.h 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 36 37 38 39 40 41 42 43 44 45 46 47 48 | #ifndef SAM_FLAG_H_
#define SAM_FLAG_H_
inline bool IsMultipleSegment(unsigned int flag) {
return flag & 0x1;
}
inline bool AllSegmentsMapped(unsigned int flag) {
return flag & 0x2;
}
inline bool SegmentUnmapped(unsigned int flag) {
return flag & 0x4;
}
inline bool NextUnmapped(unsigned int flag) {
return flag & 0x8;
}
inline bool IsReverseComplement(unsigned int flag) {
return flag & 0x10;
}
inline bool IsNextReverseComplement(unsigned int flag) {
return flag & 0x20;
}
inline bool IsSegemntFirst(unsigned int flag) {
return flag & 0x40;
}
inline bool IsSegmentLast(unsigned int flag) {
return flag & 0x80;
}
inline bool IsSecondaryAlignment(unsigned int flag) {
return flag & 0x100;
}
inline bool IsNotPassedQuality(unsigned int flag) {
return flag & 0x200;
}
inline bool IsDuplicate(unsigned int flag) {
return flag & 0x400;
}
#endif
|