biotite.sequence.find_symbol

biotite.sequence.find_symbol(sequence, symbol)[source]

Find a symbol in a sequence.

Parameters
sequenceSequence

The sequence to find the symbol in.

symbolobject

The symbol to be found in sequence.

Returns
match_indicesndarray

The indices in sequence, where symbol has been found.