AdamaJava / adamajava

Other
14 stars 4 forks source link

fix(qprofiler): don't assume type of SAM attribute #354

Closed holmeso closed 4 months ago

holmeso commented 4 months ago

Description

Updated qprofiler so that it will only attempt to cast/parse SAM attribute into a particular type if it is an instanceof that type.

Fixes # 353

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Unit test has been added and code has been run against BAM file that produced the error originally (successfully)

Are WDL Updates Required?

no

Checklist:

holmeso commented 4 months ago

Apologies - this is hard to review because of the whole file formatting that I did. Key lines of BamSummaryReport file are 579-588, and 629-645.