-
It seems that no API exists for that. Could you make another |
Beta Was this translation helpful? Give feedback.
Answered by
zaeleus
May 15, 2024
Replies: 1 comment 3 replies
-
Assuming alignment records, currently, you would convert format records to a buffer using let records = reader.query(&header, ®ion)?.map(|result| {
result.and_then(|record| RecordBuf::try_from_alignment_record(&header, &record))
}); |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To read into an existing
RecordBuf
, I would recommend manually composing a query reader with a BAM reader, e.g.,main.rs