Utility for converting Gromacs XTC trajectory step numbers to frame numbers.
- Install Rust
- Clone or download the repository.
- Navigate to the repository.
- Build using
cargo:
cargo build --release- A binary file
step2framewill be built insidetarget/release/.
./step2frame -s GRO/TPR/PDB_FILE -f INPUT_XTC_FILE(S) -o OUTPUT_XTC_FILEExample:
./step2frame -s system.tpr -f md.xtc -o md_with_frame_numbers.xtcstep2frame will iterate through md.xtc and write a new trajectory file, md_with_frame_numbers.xtc, which will contain the same information as the original trajectory file, but the step numbers will be replaced with frame numbers.