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
§ 8.4.1 "Compression header block: Preservation map" describes the reference required (RR) flag as "true if reference sequence is required to restore the data completely". If this is true and the records do not require a reference sequence to restore the data (e.g., an unmapped slice), is it considered an invalid state?
As I understand it, this flag should be false if the slice is unmapped, but some implementation don't set it as such, e.g., htslib:
All the records in this slice are unmapped (cram_dump: "Slice ref seq -1"), and this implicitly sets the reference required field to true, as per "The boolean values are optional, defaulting to true when absent..." However, a reference sequence is not required to decode this.
The text was updated successfully, but these errors were encountered:
This is in regard to CRAM format specification (version 3.1) (2024-09-04).
§ 8.4.1 "Compression header block: Preservation map" describes the reference required (
RR
) flag as "true if reference sequence is required to restore the data completely". If this is true and the records do not require a reference sequence to restore the data (e.g., an unmapped slice), is it considered an invalid state?As I understand it, this flag should be false if the slice is unmapped, but some implementation don't set it as such, e.g., htslib:
All the records in this slice are unmapped (cram_dump: "Slice ref seq -1"), and this implicitly sets the reference required field to true, as per "The boolean values are optional, defaulting to true when absent..." However, a reference sequence is not required to decode this.
The text was updated successfully, but these errors were encountered: