StripedScores#
- class lightmotif.StripedScores#
A striped matrix storing scores obtained with a scoring matrix.
- argmax()#
Return the position of the maximum score, if the score matrix is not empty.
Note
This method uses the best implementation for the local platform, prefering AVX2 if available.
- max()#
Return the maximum score, if the score matrix is not empty.
Note
This method uses the best implementation for the local platform, prefering AVX2 if available.
- threshold(threshold)#
Return all positions with a score greater or equal to the threshold.
- Returns:
listofint– The indices of the position with a score greater or equal to the given threshold. Note that the indices may or may not be sorted, depending on the implementation.
Note
This method uses the best implementation for the local platform, prefering AVX2 if available.