Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Returns a list of the mutation codes in the receiver in standard format

        pdb - An optional protool instance.
        If this is provided the mutations are returned in extended format.
        reduced - If True the codes are returned in reduced format.
        Raises an AttributeError if pdb does not respond to resname() and is not None.
        Raises an MutationCodeApplicationError if the mutation code cannot be (more...)

src/p/e/PEATDB-2.3/PEATSA/Core/Matrix.py   PEATDB(Download)
		for row in self:
			mutationSet = Data.MutationSet(row[mutationsColumn])
			codes = mutationSet.mutationCodes(reduced=False)
			if matchMode == "All":
		for row in self:
			mutationSet = Data.MutationSet(row[mutationsColumn])
			codes = mutationSet.mutationCodes()
			subs = [Utilities.ParseMutationCode(code)[2] for code in codes]
				code = row[mutationColumn]
				set = Data.MutationSet(code=code)
				self.mutationHash['+'.join(set.mutationCodes())] = index
			except Exceptions.MutationCodeFormatError, data:
			set = Data.MutationSet(code=mutation)
			index = self.mutationHash["+".join(set.mutationCodes())]
		except KeyError:
			raise IndexError, 'No data for mutation %s' % mutation