8000
read_pos
Do we have an equivalent of this?
https://github.com/rust-bio/rust-htslib/blob/622a0996fee4c03674bfcebd16c3876258c28a5b/src/bam/record.rs#L1999-L2008
In a way getAlignedPairs can be subsetted.
getAlignedPairs
dhtslib/source/dhtslib/sam/record.d
Lines 527 to 531 in 11be3de
It returns a range of AlignedPairs that contain rpos, qpos, cigar op, query base, and potentially reference base (if MD tag is present).
AlignedPair
Interesting that rust-htslib wrote a long function for this; seems useful. keep in back of your mind.
Activity
charlesgregory commentedon Aug 3, 2021
In a way
getAlignedPairscan be subsetted.dhtslib/source/dhtslib/sam/record.d
Lines 527 to 531 in 11be3de
It returns a range of
AlignedPairs that contain rpos, qpos, cigar op, query base, and potentially reference base (if MD tag is present).jblachly commentedon Aug 5, 2021
Interesting that rust-htslib wrote a long function for this; seems useful. keep in back of your mind.