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

Support skipping over groups with the wrong header #23

Open
adamnovak opened this issue Mar 19, 2024 · 0 comments
Open

Support skipping over groups with the wrong header #23

adamnovak opened this issue Mar 19, 2024 · 0 comments

Comments

@adamnovak
Copy link

I'm now wanting to embed some other data into a GAM file. I want to have vg giraffe record its command line options in the GAM without tacking them onto every single Alignment record, or some particular distinguished Alignment record.

The stream format is meant to support this: each group can have a string header at the front (essentially as the first message) denoting the type of the messages in the group, and you can read just the ones you care about.

So I'm wanting to introduce some groups with a header other than "GAM" in the middle of the GAM file. I would want the reader to skip over them, but it looks like right now the reader will see that there's a header different from what it is expecting and bail out.

@adamnovak adamnovak changed the title Support skipping over grpups with the wrong header Support skipping over groups with the wrong header Mar 19, 2024
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

No branches or pull requests

1 participant