Changes

Jump to navigation Jump to search
# Open the '''relax prompt''' with '''Ctrl+p'''. And paste this is.
<source lang="python">
# Cluster file for selection residues.
cluster_file = "cluster_residues.txt"
# Cluster residues
f = open(cluster_file, 'r')
for line in f:
resi spinid = line.split()[0] resn spinmodel = line.split()[1] relax_disp.cluster('NS2_clustermodel_cluster', ":%s@N"%resispinid)
f.close()
# Check which are clusteredprint cdp.clustering
</source>
# Before executing, it would be a good idea to save the state after clustering.
Trusted, Bureaucrats
1,382

edits

Navigation menu