-
|
Hi @zaeleus , Does noodles-bam provide any public API to modify other record fields (QNAME, sequence, flags, etc.)? I’m exploring noodles-bam and noticed that the Record struct encapsulates its internal fields, and fields_mut() is pub(crate). I would like to programmatically modify the content of a BAM record. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
zaeleus
Dec 28, 2025
Replies: 1 comment 3 replies
-
|
Yes, you can convert read-only format buffers to the mutable buffer type |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Wan-Yifei
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, you can convert read-only format buffers to the mutable buffer type
sam::alignment::RecordBufusingRecordBuf::try_from_alignment_record.