htsjdk
htsjdk copied to clipboard
convert Runtime exceptions in the CRAM code into CRAMExceptions (also…
… runtime)
In the cram code the code throws an IllegalArgumentException when asked about the bases when a reference was not provided. This PR changes it to a CRAMException to be more informative and consistent.