# Extract data from cluster.log file

**URL:** <https://gromacs.bioexcel.eu/t/extract-data-from-cluster-log-file/2136>\
**Category:** User discussions\
**Created:** [May 10, 2021, 7:02pm UTC](https://gromacs.bioexcel.eu/t/extract-data-from-cluster-log-file/2136 "2021-05-10T19:02:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neena](https://avatars.discourse-cdn.com/v4/letter/n/bc79bd/32.png) [@Neena](https://gromacs.bioexcel.eu/u/Neena)\
**Post date:** [May 10, 2021, 7:02pm UTC](https://gromacs.bioexcel.eu/t/extract-data-from-cluster-log-file/2136/1 "2021-05-10T19:02:50Z")

</div>

Hello Gromacs users,

In the cluster. log file after gmx cluster command, I can see structures at what time points belong to which cluster (shown below); currently, it is categorized according to cluster; from this is there a way to extract this information in increasing order of the trajectory time points (in an x-y format where x is trajectory time and y is cluster number?  
 ![image](https://europe1.discourse-cdn.com/flex017/uploads/bioexcel1/original/1X/54e9c0619b9ce70cbb88bffbad102cc6a606a4ad.png)

---

<div class="post-metadata">

**Author:** ![alevilla](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/alevilla/32/439_2.png) [@alevilla](https://gromacs.bioexcel.eu/u/alevilla)\
**Post date:** [May 11, 2021, 1:13pm UTC](https://gromacs.bioexcel.eu/t/extract-data-from-cluster-log-file/2136/2 "2021-05-11T13:13:04Z")

</div>

Hi,  
Please have a look at the option -clid ([gmx cluster — GROMACS 2021.2 documentation](https://manual.gromacs.org/current/onlinehelp/gmx-cluster.html))  
Alessandra

---

<div class="post-metadata">

**Author:** ![Neena](https://avatars.discourse-cdn.com/v4/letter/n/bc79bd/32.png) [@Neena](https://gromacs.bioexcel.eu/u/Neena)\
**Post date:** [May 11, 2021, 4:09pm UTC](https://gromacs.bioexcel.eu/t/extract-data-from-cluster-log-file/2136/3 "2021-05-11T16:09:38Z")

</div>

Thank you Alessandra!
