GROMACS version:
GROMACS modification: Yes/No
Here post your question
Hi,
When using gmx cluster on a trajectory that has been centered with gmx trjconv, the resulting clusters.pdb and cluster.log files only show information for the first cluster, despite saying that multiple clusters were found.
When using gmx cluster on the same trajectory before using gmx trjconv, there are no problems.
Hi,
I assume that you want to cluster the structure of a macromolecule. gmx cluster ( gmx cluster — GROMACS 2021.1 documentation) allows cluster structures using several different methods. RMS deviation after fitting or RMS deviation of atom-pair distances can be used to define the distance between structures.
Can it be that according to chosen criteria all the structures belong to the same cluster? In that case you will see only one cluster in pdb and log file.
Thanks for your reply, yes I am clustering the structure of a protein.
The cluster.log file says that there are more structures (1001) than are present in the first cluster (934). Therefore, there must be additional clusters containing these other structures?
Hi,
with cluster methods are you using in gmx cluster?
Standard cluster.log provides at the begin information on the matrix dimension, not on the total number of structures
Best regards
Alessandra
Hi,
I have tested your command with gmx 2021.1
and it works fine (all the structures are assigned to a cluster).
Could you report exactly what is written in the log file ?
Thank you
Alessandra
I used gromacs 2018.4, single precision multi-threaded (single node), not 2021.1.
In the log file it is written:
Using gromos method for clustering
Using RMSD cutoff 0.18 nm
The RMSD ranges from 0.0840247 to 0.344264 nm
Average RMSD is 0.169713
Number of structures for matrix 1001
Energy of the matrix is 11.1241.
Found 4 clusters
Writing middle structure for each cluster to clusters.pdb
Counted 64 transitions in total, max 16 between two specific clusters
Yes, the problem I have is that the log file ends at the end of the first cluster and does not give any information regarding the subsequent clusters.
You mentioned previously that my command works fine for you, did you try this on a trajectory file that had been centered with gmx trjconv? Because this is what seems to cause the issue for me, as the command works on uncentered trajectory files fine.
Yes, it was. Among other cases I tried original and center xtc, but I can not reproduce your issue. In general using center xtc file should not affect that the tool works or not.
There are options (in gmx cluster) that affect the number of cluster to be reported / saved but based on what you reported it looks that it is not the problem here.
Hi @alevilla , I have done an MD simulation for the protein that I am going to be molecular docking (virtual screening). I want to get an average structure of the protein to be used in docking. Can I use gmx cluster and is it suitable for my work?
Thanks