iCLIP.kmers.find_all_matches

iCLIP.kmers.find_all_matches(sequence, regexes)

Return start positions of a collection of regexes

Parameters:
  • sequence (str) – String to search in. Usually an RNA or DNA sequence
  • regexs (itr of re.RegEx) – List of regexs to search :param:`sequence` for.
Returns:

Series of arrays where each array is the integer positions matches for one regex. Index is the regex objects.

Return type:

pandas.Series of np.array of int