bis_protein_structure.MMEVAL.convert_string

bis_protein_structure.MMEVAL.convert_string(s)[source]

Converts a string of alphabets into a corresponding string of numbers based on alphabet position.

Parameters:

s (str) – Input string consisting of alphabets.

Returns:

result – String where each letter is replaced by its corresponding position (A=0, B=1, …, Z=23).

Return type:

str