Skip to content

Using the CRAM readers, is there a way to read only blocks from specific data series #239

Answered by zaeleus
markjschreiber asked this question in Q&A
Discussion options

You must be logged in to vote

Selection of data series is not supported in noodles-cram.

It's not apparent in your diagram, but the main issue is that data series are not guaranteed to be independent. See § 8.2.1 "Data blocks" (2023-05-22):

Please note that external blocks can have multiple data series associated with them; in this case the values from these data series will be interleaved.

This creates a constraint that naturally transposes the data into row-based records. It becomes even more complex if the reads are segmented, as some fields are required to be decoded to fully resolve all the records in a slice.

Sorry, I don't have a good solution to this problem.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@markjschreiber
Comment options

@zaeleus
Comment options

@markjschreiber
Comment options

@markjschreiber
Comment options

Answer selected by markjschreiber
Comment options

You must be logged in to vote
1 reply
@markjschreiber
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants