samtools / htsjdk

A Java API for high-throughput sequencing data (HTS) formats.
http://samtools.github.io/htsjdk/
278 stars 244 forks source link

Support CRAM reference regions. #1605

Closed cmnbroad closed 2 years ago

cmnbroad commented 2 years ago

Fixes https://github.com/samtools/htsjdk/issues/1597 (support IGV browse more for CRAM decoding).

codecov-commenter commented 2 years ago

Codecov Report

Merging #1605 (e623f80) into master (f461401) will decrease coverage by 0.054%. The diff coverage is 89.189%.

:exclamation: Current head e623f80 differs from pull request most recent head c4e6130. Consider uploading reports for the commit c4e6130 to get more accurate results

@@               Coverage Diff               @@
##              master     #1605       +/-   ##
===============================================
- Coverage     69.838%   69.784%   -0.054%     
- Complexity      9666      9679       +13     
===============================================
  Files            703       703               
  Lines          37690     37639       -51     
  Branches        6121      6096       -25     
===============================================
- Hits           26322     26266       -56     
+ Misses          8914      8911        -3     
- Partials        2454      2462        +8     
Impacted Files Coverage Δ
...ava/htsjdk/samtools/cram/ref/ReferenceContext.java 91.667% <ø> (ø)
...sjdk/samtools/cram/structure/AlignmentContext.java 43.137% <ø> (ø)
...samtools/cram/structure/CRAMCompressionRecord.java 80.161% <ø> (-0.302%) :arrow_down:
...jdk/samtools/cram/ref/CRAMLazyReferenceSource.java 66.667% <50.000%> (-33.333%) :arrow_down:
...tsjdk/samtools/cram/build/CRAMReferenceRegion.java 86.885% <84.906%> (-13.115%) :arrow_down:
...ain/java/htsjdk/samtools/cram/structure/Slice.java 82.865% <92.857%> (+0.414%) :arrow_up:
...java/htsjdk/samtools/cram/ref/ReferenceSource.java 46.721% <93.750%> (-0.008%) :arrow_down:
src/main/java/htsjdk/samtools/CRAMIterator.java 79.245% <100.000%> (-0.384%) :arrow_down:
.../java/htsjdk/samtools/cram/build/SliceFactory.java 97.101% <100.000%> (+0.998%) :arrow_up:
...amtools/cram/structure/CRAMRecordReadFeatures.java 87.330% <100.000%> (-0.225%) :arrow_down:
... and 53 more
cmnbroad commented 2 years ago

Ok @lbergelson, back to you.