Closed gt1 closed 4 years ago
Apologies for forgetting about this PR. It's a reasonable change and I'm happy to assist biobambam, which ultimately is the only thing affected by these changes anyway.
Thanks a lot for including this. I had someone asking whether bamsormadup could be changed to directly produce archive mode cram files and this is now possible.
Best wishes German
Hello James,
here is a patch for your consideration. It essentially adds a new function cram_encoder_get_fd to obtain a cram_fd pointer from an encoding context for bambam. This is necessary to access the new encoding profile setting interface. The patch also moves the encoding interface to a separate file (cram_bambam.h).
Best, German