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

Modifying existing bam header line #433

Open
rickymagner opened this issue May 15, 2024 · 0 comments
Open

Modifying existing bam header line #433

rickymagner opened this issue May 15, 2024 · 0 comments

Comments

@rickymagner
Copy link

Hi, is it currently possible to modify an existing BAM header line? There's the from_template method. But once you have your template header, e.g. read from a file you want to slightly modify, it seems like you can never remove any lines from it. There's the push_record method, but nothing that seems to allow for editing/removing any records.

Am I missing something? If not, is it possible to add some functionality like header.clear_records(b"RG") etc.?

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