Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(2) | Call(2) | Derive(0) | Import(0)
Applies the mutations defined by the receiver to wildTypeSequence Note: wildTypeSequence must correspond to a single chain which is specified by id Also sequence are assumed to have a 1 offset. Thus the mutation A1A is applied to element 0 of wildTypeSequence Parameters: wildTypeSequence: A string of one letter amino-acid codes chain: The chain the sequence corresponds to.(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) mutseq = mutationSet.applyToSequence(refaa, id='A', pdb=Xref) rec.aaseq = self.string2AAseq(mutseq)
refaa = Core.Data.GetChainSequences(Xref)['A'] #print refaa mutseq = mutationSet.applyToSequence(refaa, id='A', offset=None, pdb=Xref) rec.aaseq = self.string2AAseq(mutseq)