
Converts an aminoacid naming scheme in the context of GROMOS (e.g. containing HISH) into canonical three- or one-letter codes.
translate_aminoacids( input,
switchMode )
Vector of GROMOS abbreviations.
Type "1" results in single-letter, type "2" in three-letter code.
translate_aminoacids( c( "ALA", "HISA", "SER" ),
switchMode = 2 )
Run the code above in your browser using DataLab