src/mirbooking-sequence.c
/**
 * mirbooking_sequence_get_subsequence_index:
 *
 * Compute an ordinal index for the given subsequence assuming a base 4 (i.e.
 * 'A', 'C', 'G', 'T' | 'U').
 *
 * Returns: The corresponding index or %-1 if it could not be determined
 * reliably.
 */
Compute an ordinal index for the given subsequence assuming a base 4 .

The corresponding index or %-1 if it could not be determined
reliably.
Compute an ordinal index for the given subsequence assuming a base 4 . The corresponding index or % - 1 if it could not be determined reliably .
gssize
mirbooking_sequence_get_subsequence_index (MirbookingSequence *self, gsize offset, gsize len)
{
    MirbookingSequencePrivate *priv = mirbooking_sequence_get_instance_private (self);
    g_return_val_if_fail (offset + len <= g_bytes_get_size (priv->sequence) - priv->sequence_skips->len, -1);
    return sequence_index (mirbooking_sequence_get_subsequence (self, offset, len), len);
}
gssize mirbooking_sequence_get_subsequence_index ( MirbookingSequence * self , gsize offset , gsize len ) { MirbookingSequencePrivate * priv = mirbooking_sequence_get_instance_private ( self ) ; g_return_val_if_fail ( offset + len <= g_bytes_get_size ( priv -> sequence ) - priv -> sequence_skips -> len , -1 ) ; return sequence_index ( mirbooking_sequence_get_subsequence ( self , offset , len ) , len ) ; }
mirbooking_sequence_get_subsequence_index:
 Compute an ordinal index for the given subsequence assuming a base 4 (i.e.
mirbooking_sequence_get_subsequence_index : Compute an ordinal index for the given subsequence assuming a base 4 ( i . e .