find_symbol_last#

biotite.sequence.find_symbol_last(sequence, symbol)[source]#

Find last occurence of a symbol in a sequence.

Parameters:
sequenceSequence

The sequence to find the symbol in.

symbolobject

The symbol to be found in sequence.

Returns:
flast_indexint

The last index of symbol in sequence. If symbol is not in sequence, -1 is returned.