-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Range codec (Update CRAM Codecs to CRAM 3.1) #1644
base: master
Are you sure you want to change the base?
Add Range codec (Update CRAM Codecs to CRAM 3.1) #1644
Conversation
5dad675
to
c06f952
Compare
9a1f9fd
to
85cc94d
Compare
…dded in the streams).
7e220fb
to
a4b2837
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checkpointing what I have so far.
src/main/java/htsjdk/samtools/cram/compression/range/RangeCoder.java
Outdated
Show resolved
Hide resolved
src/main/java/htsjdk/samtools/cram/compression/range/RangeCoder.java
Outdated
Show resolved
Hide resolved
src/main/java/htsjdk/samtools/cram/compression/range/ByteModel.java
Outdated
Show resolved
Hide resolved
src/main/java/htsjdk/samtools/cram/compression/range/ByteModel.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checkpointing.
src/main/java/htsjdk/samtools/cram/compression/range/RangeDecode.java
Outdated
Show resolved
Hide resolved
src/main/java/htsjdk/samtools/cram/compression/range/RangeDecode.java
Outdated
Show resolved
Hide resolved
src/main/java/htsjdk/samtools/cram/compression/range/RangeDecode.java
Outdated
Show resolved
Hide resolved
src/main/java/htsjdk/samtools/cram/compression/range/RangeDecode.java
Outdated
Show resolved
Hide resolved
src/main/java/htsjdk/samtools/cram/compression/range/RangeCoder.java
Outdated
Show resolved
Hide resolved
src/main/java/htsjdk/samtools/cram/compression/range/RangeDecode.java
Outdated
Show resolved
Hide resolved
src/main/java/htsjdk/samtools/cram/compression/range/RangeDecode.java
Outdated
Show resolved
Hide resolved
src/main/java/htsjdk/samtools/cram/compression/range/RangeDecode.java
Outdated
Show resolved
Hide resolved
a4b2837
to
2ac2b83
Compare
… stripe, nosize, cat flags
4375f88
to
f9b066c
Compare
@cmnbroad I have addressed all the comments from this round of feedback. This PR is ready for review. Let me know if you have any questions. |
NOTE: This PR is in draft as it is dependent on RANS NX16 PR
Description
This PR is part of an effort to upgrade CRAM to v3.1. It adds the Range Codec implementation.
List of Changes:
Add Range Codec
Add RangeTest to unittest the Range Codec implementation
Add RangeInteropTest to test the Range Codec using the test files from htscodecs. These interop tests use the files from samtools installation (samtools-1.14/htslib-1.14/htscodes/tests/dat)