Closed PeptideSimulator01 closed 4 years ago
I got the centroids via:
infile=open('fs-khybrid-clusters0020-centers.pickle', 'rb')
new_file=pickle.load(infile)
first_tr=new_file[0]
first_tr.save_pdb('1.pdb')
continue like this for the other centroids.
Dear enspara Team,
I really enjoy enspara and hope, that you can help me with my issue.
I try to clusters 2 trajectories from 2 different peptides (both with 14 aa). I only wright the C, CA and N atoms in the trajectory to be able to clusters them together. For sure, I also only cluster based on RMSD of C, CA and N. The topology pdb also only includes the backbone atoms C, CA, N. After the clustering I want to count which cluster was used how many times by peptide 1 or 2 and hopefully see a different distribution.
The clustering works and I get a get distribution for the clusters:
output:
But when I try to generate a pdb of the cluster centers, i get the error:
The code I used:
If take the route via:
and then go:
I get:
I think I have logic error, why this is not working. Any help is appreciated. Thanks for your effort.