PEATSA/Core/Utilities.py
def ParseMutationCode(code):

	'''Parses mutation code returning chain, residue index, residue name if present, and mutation code
	
	code can be in any format'''
																	
	extended = IsExtendedMutationFormat(code)
	if IsReducedCode(code):
		return ParseReducedMutationCode(code, extended=extended)
	else:
		return ParseStandardMutationCode(code, extended=extended)
Parses mutation code returning chain, residue index, residue name if present, and mutation code
	
	code can be in any format
Parses mutation code returning chain, residue index, residue name if present, and mutation code
code can be in any format
Parses mutation code returning chain residue index residue name if present and mutation code code can be in any format
def ParseMutationCode(code):
	extended = IsExtendedMutationFormat(code)
	if IsReducedCode(code):
		return ParseReducedMutationCode(code, extended=extended)
	else:
		return ParseStandardMutationCode(code, extended=extended)
def ParseMutationCode ( code ) : extended = IsExtendedMutationFormat ( code ) if IsReducedCode ( code ) : return ParseReducedMutationCode ( code , extended = extended ) else : return ParseStandardMutationCode ( code , extended = extended )
Parses mutation code returning chain, residue index, residue name if present, and mutation code
code can be in any format
Parses mutation code returning chain residue index residue name if present and mutation code code can be in any format
'''Parses mutation code returning chain, residue index, residue name if present, and mutation code
	
	code can be in any format'''
code