~misterc/bamtools/master

Viewing all changes in revision 415.

  • Committer: David Seifert
  • Author(s): Rob Davies
  • Date: 2021-05-30 07:57:20 UTC
  • Revision ID: git-v1:150c21fda8645b975bf86c0cb8c5fa9b24192aeb
Sam and JSON conversion B-type tag support and bug fixes

* Add support for dumping B-type aux tags to JSON and SAM.

* Make PrintSam and PrintJson throw an exception if the aux data
  ends in a tag that requires more than the remaining number of bytes
  available.  This stops them from reading beyond the end of the
  TagData string.

* Make PrintSam and PrintJson throw an exception if they find a tag
  of unknown type.

* Make ConvertTool::ConvertToolPrivate::Run() catch the new exceptions.

Closes: #171

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: