PEATSA/Core/Data.py
def chainCodes(self, pdb=None, reduced=False):

		'''Returns individual code strings describing the mutations in each chain of the receiver'''

		chains = {}

		for mutationCode in self.mutationCodeList:
			chain, residueIndex, mutation = Utilities.ParseMutationCode(mutationCode)
			if chains.has_key(chain):
				chains[chain].addMutationCode(mutationCode)
			else:
				chains[chain] = MutationSet(code=mutationCode)
		
		return [set.codeString(pdb, reduced=reduced) for set in chains.values()]
Returns individual code strings describing the mutations in each chain of the receiver
Returns individual code strings describing the mutations in each chain of the receiver
Returns individual code strings describing the mutations in each chain of the receiver
def chainCodes(self, pdb=None, reduced=False):
		chains = {}
		for mutationCode in self.mutationCodeList:
			chain, residueIndex, mutation = Utilities.ParseMutationCode(mutationCode)
			if chains.has_key(chain):
				chains[chain].addMutationCode(mutationCode)
			else:
				chains[chain] = MutationSet(code=mutationCode)
		return [set.codeString(pdb, reduced=reduced) for set in chains.values()]
def chainCodes ( self , pdb = None , reduced = False ) : chains = { } for mutationCode in self . mutationCodeList : chain , residueIndex , mutation = Utilities . ParseMutationCode ( mutationCode ) if chains . has_key ( chain ) : chains [ chain ] . addMutationCode ( mutationCode ) else : chains [ chain ] = MutationSet ( code = mutationCode ) return [ set . codeString ( pdb , reduced = reduced ) for set in chains . values ( ) ]
Returns individual code strings describing the mutations in each chain of the receiver
Returns individual code strings describing the mutations in each chain of the receiver
'''Returns individual code strings describing the mutations in each chain of the receiver'''
self
pdb
reduced