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

	'''Parses residue code returning chain, residue index and the residue name if present
	
	code can be in any format. However if the code has an error it may be misidentifed'''
																	
	extended = IsExtendedResidueFormat(code)
	if IsReducedCode(code):
		return ParseReducedResidueCode(code, extended=extended)
	else:
		return ParseStandardResidueCode(code, extended=extended)
Parses residue code returning chain, residue index and the residue name if present
	
	code can be in any format. However if the code has an error it may be misidentifed
Parses residue code returning chain, residue index and the residue name if present
code can be in any format. However if the code has an error it may be misidentifed
Parses residue code returning chain residue index and the residue name if present code can be in any format . However if the code has an error it may be misidentifed
def ParseResidueCode(code):
	extended = IsExtendedResidueFormat(code)
	if IsReducedCode(code):
		return ParseReducedResidueCode(code, extended=extended)
	else:
		return ParseStandardResidueCode(code, extended=extended)
def ParseResidueCode ( code ) : extended = IsExtendedResidueFormat ( code ) if IsReducedCode ( code ) : return ParseReducedResidueCode ( code , extended = extended ) else : return ParseStandardResidueCode ( code , extended = extended )
Parses residue code returning chain, residue index and the residue name if present
code can be in any format.
Parses residue code returning chain residue index and the residue name if present code can be in any format .
'''Parses residue code returning chain, residue index and the residue name if present
	
	code can be in any format. However if the code has an error it may be misidentifed'''
code