Open main menu

Changes

<source lang="python">
resi_models = []
for resiob in cdp.mol[0].res: resi_models.append(resiob.spin[0].model)
print resi_models
# Count resi_models
dublicates = map(lambda val: (val, [i for i in xrange(len(resi_models)) if resi_models[i] == val]), resi_models)
for dub in dublicates: print dub[0], len(dub[1])
# We see that "NS 2-site expanded" is most represented
# We now cluster these residues
Trusted, Bureaucrats
1,382

edits