PEATSA/Core/Utilities.py
def ConvertMutationCodeFromReducedFormat(mutationCode, extended=False):

	'''Converts a mutation code from reduced format
	
	 e.g. A25AG -> A:0025:ALA:GLY'''
	 
	components = ParseReducedMutationCode(mutationCode, extended)
	if len(components) == 3:
		return CreateResidueCode(chain=components[0], number=components[1]) + ":" + components[2]
	else:
		return CreateResidueCode(chain=components[0], number=components[1], name=components[2]) + ":" + components[3]
Converts a mutation code from reduced format
	
	 e.g. A25AG -> A:0025:ALA:GLY
Converts a mutation code from reduced format
e.g.
Converts a mutation code from reduced format e . g .
def ConvertMutationCodeFromReducedFormat(mutationCode, extended=False):
	components = ParseReducedMutationCode(mutationCode, extended)
	if len(components) == 3:
		return CreateResidueCode(chain=components[0], number=components[1]) + ":" + components[2]
	else:
		return CreateResidueCode(chain=components[0], number=components[1], name=components[2]) + ":" + components[3]
def ConvertMutationCodeFromReducedFormat ( mutationCode , extended = False ) : components = ParseReducedMutationCode ( mutationCode , extended ) if len ( components ) == 3 : return CreateResidueCode ( chain = components [ 0 ] , number = components [ 1 ] ) + ":" + components [ 2 ] else : return CreateResidueCode ( chain = components [ 0 ] , number = components [ 1 ] , name = components [ 2 ] ) + ":" + components [ 3 ]
Converts a mutation code from reduced format
e.g.
Converts a mutation code from reduced format e . g .
'''Converts a mutation code from reduced format
	
	 e.g. A25AG -> A:0025:ALA:GLY'''
mutationCode
extended