Skip to content

cram and bam footers for storing key/value pairs #136

Open
@sb10

Description

@sb10

It would be very useful to be able to store arbitrary key/value pairs in the footer of both cram and bam files.

My use-case would be storing sequence checksums. The desire to have these in the footer and not the header is so that I can store these on a streamed in alignment file.

Backwards compatibility with tools that trip up on the footer could be achieved with a special argument to samtools view that emits the alignment file as-is, except for the footer.

I propose implementing a reference implementation of this in samtools, once a way of implementing a footer is suggested by responders.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    To do (backlog)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions