You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to use the 8-Bin Base Quality Compression with the new overhauled CRAM support in 3.0.5?
#442 indicates that this would be possible with CRAMEncodingStrategy. However, it's not really clear from the API or release notes how to achieve this. In the past (e.g. 2.18.1) it has been possible to use new QualityScorePreservation("*8") to achieve such a compression.
Your environment:
htsjdk version 3.0.5
java 17
RHEL linux
The text was updated successfully, but these errors were encountered:
JWollnik
changed the title
8-Bin Base Quality Compression
CRAM: 8-Bin Base Quality Compression
Mar 8, 2023
@JWollnik This isn't supported by htsjdk CRAM. The CRAMEncodingStrategy class is intended to be used to support such encoding parameters, but it currently doesn't support score binning, and is not exposed or documented (at least not as part of the SMFileWriter API). Its only used internally for creating test case variations in tests.
As for the old QualityScorePreservation class, the original htsjdk CRAM implementation accepted it as a parameter, but it was neither documented nor implemented. It really should never have been allowed into htsjdk in that state, so it was removed.
Description of the issue:
Is it possible to use the 8-Bin Base Quality Compression with the new overhauled CRAM support in 3.0.5?
#442 indicates that this would be possible with
CRAMEncodingStrategy
. However, it's not really clear from the API or release notes how to achieve this. In the past (e.g. 2.18.1) it has been possible to usenew QualityScorePreservation("*8")
to achieve such a compression.Your environment:
The text was updated successfully, but these errors were encountered: