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

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

Parameters:
        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.
        
Exceptions:
        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/PEATDB/Actions.py   PEATDB(Download)
        print 'Record has mutation code %s' %rec.Mutations
        mutationSet = Core.Data.MutationSet(rec.Mutations)
        mutationCodes = mutationSet.mutationCodes(Xref, reduced=False)
        #print refpdbfile, mutationCodes
        result, score = Protool.mutate.Model_Mutations(refpdbfile, [],

src/p/e/PEATDB-2.3/PEATDB/plugins/PEATSAplugin.py   PEATDB(Download)
        for row in matrix:
            mutationSet = Core.Data.MutationSet(row[i])
            code = '+'.join(mutationSet.mutationCodes(reduced=True))
            M.addRow(code)
            for f in fields: