Uploading Structure Files
Clavis accepts browser-local structure inputs for hydrate structures, water networks, guest-containing systems, and mixed material systems. Supported text formats:- GROMACS
.gro - Protein Data Bank
.pdb - CIF/mmCIF
.cifand.mmcif
.xtcand.trrtrajectory files.tprrun-input/topology files
.gro topology or a supported .tpr topology with the matching .xtc or .trr trajectory in the same upload action. Clavis decodes the paired files locally in a browser worker, opens the first frame in the scene, and provides selected-frame PREV, NEXT, and JUMP controls for dense native sessions. Native frames render with the full instanced-sphere molecular style — the same appearance as a static .gro of the same system, including bonds at rest. Streaming each frame’s coordinates into the existing geometry keeps frame jumps responsive; during the brief in-flight fetch the viewport is momentarily lightened, then the full structure is shown when the frame settles. Continuous scrubber playback is disabled for native binary trajectories; use the frame controls, then run current-frame analysis on the selected frame.
For exact mixed-residue labels, .gro + .xtc/.trr is the preferred path because the GRO atom table is preserved by atom index. Supported .tpr + .xtc/.trr pairs still open natively, but unsupported mixed TPR layouts fail with guidance instead of being relabeled as generic water. Standalone .tpr files are topology metadata only. Orphan .xtc or .trr files need the matching .gro or .tpr before Clavis can build atom and residue labels for native playback.
File Requirements
Your structure file should contain:- Water molecules with supported residue names such as
SOL,HOH,WAT,H2O,TIP*,SPC*, or hydrate-water aliases such asHSL,ICE, andHYD - Periodic boundary information where available (
.grobox vectors, PDBCRYST1, or coordinates sufficient for a fallback scene box) - Coordinate records in a supported text format
- Optional non-water guest residues such as methane, cyclopentane, THF, or other guest molecules
- Optional metal/slab or geologic residues such as
SLAB,Fe,MMT, orMONT - One or more
.groframes for browser-local trajectory workflows
Upload Process
- Click UPLOAD STRUCTURE in the app header
- Select your file, or select a paired
.gro + .xtc,.gro + .trr,.tpr + .xtc, or.tpr + .trrtrajectory set - Wait for parsing or streaming initialization
- Confirm the molecule count, frame count, and current frame summary in the app panel
Normal Files vs. Large Trajectories
Clavis uses two paths depending on file size:| Mode | Behavior | Best for |
|---|---|---|
| Normal scene | Parses the file into browser memory and enables session recovery | Single .gro, .pdb, .cif, .mmcif structures and moderate .gro trajectories |
| Large trajectory | Streams frames through a browser worker and anchors frame navigation on demand | Very large multi-frame .gro files |
| Native binary GROMACS | Decodes paired topology/trajectory files in a browser worker and renders full instanced-sphere frames with responsive selected-frame controls | .gro + .xtc/.trr exact metadata inspection and supported .tpr + .xtc/.trr inspection |
Guest Molecules
Guest molecules can be included in the same structure file as water or loaded as a separate layer. Clavis treats non-water, non-material residues as candidate guests for occupancy analysis and occupied-guest visualization. Hydrate-water aliases such asHSL are treated as cage-forming water, not as guests. Metal/slab and geologic residues are acknowledged as material structures and receive deterministic residue coloring.
Troubleshooting
File not recognized
File not recognized
Use
.gro, .pdb, .cif, .mmcif, .xtc, .trr, or .tpr. For native GROMACS binary playback, select the matching .gro or supported .tpr topology and .xtc or .trr trajectory together. Standalone .tpr files and orphan .xtc/.trr files cannot open a trajectory session by themselves.TPR opened, but residue labels look wrong or unsupported
TPR opened, but residue labels look wrong or unsupported
Load the matching
.gro structure as the topology with the same .xtc/.trr trajectory. The browser TPR reader is a targeted decoder and cannot parse every TPR binary — newer or mixed layouts (for example newer TPX format versions) fail safely with on-screen guidance instead of being relabeled as generic water. The .gro topology carries full atom and residue names by atom index and renders identically, so it is the reliable path whenever a TPR is rejected.No water molecules detected
No water molecules detected
Verify that cage-forming waters use a supported residue name: SOL, HOH, WAT, H2O, TIP*, SPC*, HSL, ICE, or HYD.
Guests are missing from occupancy analysis
Guests are missing from occupancy analysis
Confirm that guest residues are non-water residue names and that TRACE, GRADE, or complete-cage HTR analysis has been run for the current frame or trajectory.
Scene did not recover after refresh
Scene did not recover after refresh
Recovery is session-local and normal-size only. Private browsing, cleared browser storage, a new device, or large streaming mode can prevent restoration.