Skip to content

Further clarify ITF-8 and LTF-8 encodings#858

Open
jkbonfield wants to merge 1 commit into
samtools:masterfrom
jkbonfield:fix-855
Open

Further clarify ITF-8 and LTF-8 encodings#858
jkbonfield wants to merge 1 commit into
samtools:masterfrom
jkbonfield:fix-855

Conversation

@jkbonfield

Copy link
Copy Markdown
Contributor

Thanks to Yossi Farjoun for the table.
Fixes #855.

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

Changed PDFs as of 3f89aaa: CRAMv3.

@jkbonfield jkbonfield added the cram label Jul 7, 2026
Comment thread CRAMv3.tex Outdated
number of bytes used to encode a single value. To do so 64 bits are required and
this can be done with 9 byte at most with the first byte consisting of just 1s
or 0xFF value.
This is an extension of ITF-8 above to accommodate 64-bit unsigned quantities.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure what you mean by "above". the table? some other reference to ITF-8?

@jkbonfield jkbonfield Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It meant the ITF-8 definition as a whole, rather than any specific bit. I'll remove the word "above" as it's unnecessary. (Plus LaTeX being what it is, there's no guarantee the table will remain above this paragraph in future versions.)

@yfarjoun yfarjoun left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just one question but otherwise LGTM!

Thanks to Yossi Farjoun for the table.
Fixes samtools#855.

Signed-off-by: James Bonfield <jkb@sanger.ac.uk>
@github-actions

Copy link
Copy Markdown

Changed PDFs as of b844e2c: CRAMv3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ITF-8/LTF-8 spec text has typos, an incorrect prefix description, and lacks examples

2 participants