Skip to content
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 documentation on CRAM compression profiles. #1659

Merged
merged 1 commit into from May 30, 2022

Conversation

jkbonfield
Copy link
Contributor

Also document the newer options that appeared with CRAM 3.1 and above.

Fixes #1656

doc/samtools.1 Outdated
@@ -937,18 +937,56 @@ block compression.
CRAM output only; defaults to 0 (off). Permits use of lzma in CRAM
block compression.
.TP
.BI use_fqz= 0|1
CRAM >= 3.1 output only; enables and disables the fqzcomp quality
Copy link
Member

@jmarshall jmarshall May 26, 2022

Choose a reason for hiding this comment

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

These could be pretty-printed as , which makes a difference to the HTML view on http://htslib.org/doc and also in man samtools if your terminal is in an UTF-8 locale (which it probably is, these days):

Suggested change
CRAM >= 3.1 output only; enables and disables the fqzcomp quality
CRAM \(>= 3.1 output only; enables and disables the fqzcomp quality

(There are existing examples in the --subsample paragraph of the view man page.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks John.

Also document the newer options that appeared with CRAM 3.1 and above.

Fixes samtools#1656
@daviesrob daviesrob merged commit 1758a9b into samtools:develop May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compression presets for cram
3 participants