GMX_RRCS
Molecular Dynamics Conformational Analysis Tool
Unlocking the secrets of molecular dynamics simulations just got easier with gmx_RRCS. This tool provides a unique computational workflow to help researchers analyze conformational changes in molecular systems.
Introduction

Figure: GMX_RRCS algorithm workflow and application
Key Features
Introducing RRCS
gmx_RRCS introduces the innovative Residue-Residue Contact Score (RRCS). Using the Adenosine A2A receptor (A2AR) as an example, RRCS precisely quantifies conformational differences between active (PDB ID: 6GDG) and inactive (PDB ID: 8RQQ) states by analyzing residue pairs like V45-Y288.
Superior Comparative Analysis
gmx_RRCS outperforms traditional methods when assessing conformational differences in A2AR. It captures subtle changes and provides comprehensive analysis, helping researchers quickly identify critical transformations.
Streamlined Workflow
- Preparation: Import your MD simulation trajectory and select residue pairs of interest.
- Calculation: Efficiently compute RRCS by parallel evaluation of residue distances and contact thresholds.
- Output: Choose from three options - filtered results, raw data, or visualized outcomes.
Applications
gmx_RRCS is perfect for biochemistry and pharmaceutical research. Whether you're studying protein folding mechanisms or drug-target interactions, this tool will revolutionize your molecular dynamics analysis and unlock new possibilities.
Installation
To install GMX_RRCS, simply run:
pip install gmx-RRCS
Requires Python version >= 3.9
Usage
For help information, execute:
gmx_RRCS --help
Available Arguments:
Argument | Description |
---|---|
--top_file |
Topology file path (required) |
--traj_file |
Trajectory file path (required) |
--res_file |
Path to residue information file |
--radius_min |
Minimum distance threshold in Ångström, default is 3.23 |
--radius_max |
Maximum distance threshold in Ångström, default is 4.63 |
--output_dir |
Directory path where output files will be saved |
--output_file |
Output file name, default is 'RRCS_output.txt' |
--begin_time |
Start time for calculation in picoseconds, default is 0.0 |
--end_time |
End time for calculation in picoseconds, default is 9999999.0 |
--freq_step |
Time step for analysis, default is 0.1 ps |
--plot |
Generate a plot if specified (default: False) |
--filter_threshold |
Choose whether to output the high-scoring results that have been filtered, default is 3.0 |
--num_processes |
Number of processes for parallel execution. If None, use all available CPU cores |
--print_freq |
Print the elapsed time every N frames, default is 1000 frames |
gmx_RRCS --top_file your_topology_file --traj_file your_trajectory_file --res_file your_residue_pair_indices_file --output_file your_output_file --output_file your_output_dir
File Formats
We use the MDAnalysis library to read and process GROMACS trajectories. Therefore, the --top_file and --traj_file parameters accept file formats supported by MDAnalysis. Ensure that your input files conform to MDAnalysis format requirements.
In our tests, there have been occasional issues with reading .tpr files, so we recommend using .pdb or .gro files as the input topology files for the --top_file parameter. For trajectory files, we recommend using the .xtc format.
It is crucial to check the completeness and correctness of your protein and trajectory in the input files before running gmx_RRCS to ensure accurate results.
This file format is custom-defined. Each line specifies a pair of residue indices separated by the $ symbol, where the content before $ is the first member, and the content after $ is the second member. A simple example is as follows:
15 $ 28 ; This line defines a residue pair (15, 28), where the first member is residue 15 and the second member is residue 28.
The content after the ; character is considered a comment and will be ignored during parsing.
Multiple residue pairs can be specified on the same line by separating them with spaces:
15 16 $ 28 ; This line defines two residue pairs: (15, 28) and (16, 28).
Similarly, multiple residues can be specified for the second member:
15 $ 28 29 ; This line defines residue pairs (15, 28) and (15, 29).
Both members can specify multiple residues:
15 16 $ 28 29 ; This line defines residue pairs (15, 28), (15, 29), (16, 28), and (16, 29).
You can also specify a range of residues using the - symbol:
15-17 20 $ 28 ; This line defines residue pairs (15, 28), (16, 28), (17, 28), and (20, 28).
If a line does not contain the $ symbol, the residues on that line will pair with each other:
15 28 40 ; This line defines residue pairs (15, 28), (15, 40), and (28, 40).
Additionally, you can specify the chain ID for each residue using the format chainID:residueID
:
A:15 $ B:28 ; This line defines a residue pair (A:15, B:28).
If you do not specify a chain, the default chain is "A".
The residue pair indices file allows multiple lines to define residue pairs:
15 $ 28
32 35 $ 10
46 $ 55 16
78 58 $ 98 61
99-102 $ 293-299
A:15 $ B:28
Regardless of the number of lines, they will all be merged into a single list of residue pairs.
For gmx_RRCS, the residue pair indices file is not a required parameter. If you do not provide this file, gmx_RRCS will automatically generate a list of all possible residue pairs in the protein, which will significantly increase computation time. Hence, it is generally not recommended.
Suggested Operating Environment
- Linux: Recommended platform, very convenient for installation and operation
- Mac: Not extensively tested, but you can try
- Windows: Tested and confirmed working, but may require manual PATH configuration
For Windows users, you might need to use the absolute path, for example:
c:\users\mycomputer\appdata\roaming\python\python311\scripts\gmx_RRCS.exe -h