Crate bamlift

Crate bamlift 

Source

Functionsยง

is_sorted
lift_query_positions
find the closest query positions for a list of reference positions
lift_query_positions_exact
lift_query_range
Find the closest range but hopefully better
lift_reference_positions
find the closest reference positions for a list of query positions
lift_reference_positions_exact
merge_two_lists
Merge two lists into a sorted list Normal sort is supposed to be very fast on two sorted lists https://doc.rust-lang.org/std/vec/struct.Vec.html#current-implementation-6
merge_two_lists_with_qual
Merge two lists based on a key Normal sort is supposed to be very fast on two sorted lists https://doc.rust-lang.org/std/vec/struct.Vec.html#current-implementation-6
positions_on_complimented_sequence
get positions on the complimented sequence in the cigar record
positions_on_complimented_sequence_in_place
get positions on the complimented sequence in the cigar record
search_sorted
search a sorted array for insertions positions of another sorted array returned index i satisfies left a[i-1] < v <= a[i] right a[i-1] <= v < a[i] https://numpy.org/doc/stable/reference/generated/numpy.searchsorted.html