You have a molecular structure and a simulation trajectory, but they arrive as separate files—and the extensions do not match. Is one file missing? Is the trajectory itself a complete molecular model? These are common points of confusion when moving molecular data between tools.
A useful first step is to distinguish structure files from trajectory files. A structure file describes molecular coordinates and related structural information; a trajectory stores coordinate snapshots across a simulation. Some formats can serve both roles, but many are intended for only one. Checking the format before importing can save time and help you choose the right files.
Start with the data you have
- One molecular structure: Formats listed for molecular structures include PDB, GRO, MOL2, SDF, and XYZ. SAMSON can read and write these formats according to the supported-formats reference.
- A simulation trajectory: Formats listed for trajectories include DCD, AMBER NetCDF (NC), TRR, XTC, and PDB. Some are read-only in the listed support table: for example, TNG, TRJ, LAMMPSTRJ, and ARC.
- A structure plus a trajectory: Check whether your simulation’s trajectory format has a companion topology or structure file. For AMBER NetCDF trajectories, the documentation specifically notes that an AMBER topology file—PARM7 or PRMTOP—is used when loading the trajectory.
That last point is especially useful when an NC file does not appear to contain enough information on its own: look for the corresponding AMBER topology file rather than treating the trajectory as a standalone structure.
Quick format map
| What you are working with | Formats in the reference | Useful detail |
|---|---|---|
| Common molecular structures | PDB, GRO, MOL2, SDF, XYZ | Several are listed for both reading and writing. |
| Simulation trajectories | DCD, NC, TRR, XTC | These are listed for both reading and writing. |
| Other trajectory inputs | TNG, TRJ, LAMMPSTRJ, ARC | These are listed for reading, not writing. |
| GROMACS project files | TOP, TPR | The GROMACS Wizard extension can generate these project files. |
There are useful overlaps. PDB and XYZ appear in both the molecular-structure and molecular-trajectory sections. That does not mean every file with one of those extensions should be treated the same way: consider what the file contains and what you want to do with it. For example, a sequence of coordinate frames is a trajectory, even if its extension is also used for structures.
Check read and write support separately
Importing a format does not automatically mean you can export it in that same format. The supported-formats page lists reading and writing separately. DCD, NC, TRR, and XTC are shown as readable and writable, while TNG, TRJ, and LAMMPSTRJ are shown as readable without a write mark. Use this distinction when planning a round trip to another application: confirm the intended output format before you build your workflow around it.
Some capabilities depend on extensions. The page describes its list as non-comprehensive, and notes that extensions may support formats not shown. In particular, the GROMACS Wizard can generate GROMACS project files, while the core table marks TOP and TPR writing with “GW.” If a format is essential to your workflow, check the linked extension information rather than assuming it is available by default.
A practical pre-import checklist
- Identify whether each file is a structure, topology, or trajectory.
- Check the format’s read status—and its write status if you need to export later.
- Look for any companion file called for by the format, such as the AMBER topology used with NetCDF trajectories.
- Check whether the capability requires an extension, especially for specialized project formats.
This small check helps separate a format mismatch from a missing companion file and makes it easier to choose a compatible export. For the complete, non-comprehensive list and extension notes, see the SAMSON supported formats reference.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.
