/// Converts relative nucleotide frame shifts to the final result, including
/// relative and absolute nucleotide frame shifts and relative aminoacid frame shifts
Converts relative nucleotide frame shifts to the final result, including
relative and absolute nucleotide frame shifts and relative aminoacid frame shifts
Converts relative nucleotide frame shifts to the final result including relative and absolute nucleotide frame shifts and relative aminoacid frame shifts
pub fn frame_shifts_transform_coordinates(
  nuc_rel_frame_shifts: &[Range],
  query: &[Nuc],
  coord_map: &CoordMap,
  gene: &Gene,
) -> Vec<FrameShift> {
  nuc_rel_frame_shifts
    .iter()
    .map(|fs_nuc_rel_aln| frame_shift_transform(fs_nuc_rel_aln, query, coord_map, gene))
    .collect_vec()
}
pub fn frame_shifts_transform_coordinates ( nuc_rel_frame_shifts : & [ Range ] , query : & [ Nuc ] , coord_map : & CoordMap , gene : & Gene , ) -> Vec < FrameShift > { nuc_rel_frame_shifts . iter ( ) . map ( | fs_nuc_rel_aln | frame_shift_transform ( fs_nuc_rel_aln , query , coord_map , gene ) ) . collect_vec ( ) }
Converts relative nucleotide frame shifts to the final result, including
relative and absolute nucleotide frame shifts and relative aminoacid frame shifts
Converts relative nucleotide frame shifts to the final result including relative and absolute nucleotide frame shifts and relative aminoacid frame shifts
nuc_rel_frame_shifts
&[Range]
query
&[Nuc]
coord_map
&CoordMap
gene
&Gene