walaj / SeqLib

C++ htslib/bwa-mem/fermi interface for interrogating sequence data
http://bioinformatics.oxfordjournals.org/content/early/2016/12/21/bioinformatics.btw741.full.pdf+html
Other
132 stars 36 forks source link

strongly advice to add SupplementaryFlag() in BamRecord.h #39

Closed wulj2 closed 5 years ago

wulj2 commented 5 years ago

Hello walaj, I Strongly advice to add SupplementaryFlag() function to https://github.com/walaj/SeqLib/blob/master/SeqLib/BamRecord.h

/** BamRecord is supplementary alignment */ inline bool SupplementaryFlag() const { return b ? ((b->core.flag&BAM_FSUPPLEMENTARY) != 0) : false; }