You have a molecular dynamics trajectory ready to inspect. You load the file, but the atoms appear without useful context—or you are unsure which file to try next. This is a common format-matching problem: a trajectory stores changing coordinates, while a structure or topology file may be needed to describe the atoms those coordinates belong to.
SAMSON supports several molecular trajectory formats, but they do not all have the same capabilities. Checking whether a format can be read, written, or both before you start can save time and help you choose a practical route between simulation output and visualization.
Start by identifying what you have
Look at the file extension and identify whether the file contains a structure/topology or a sequence of coordinates. The supported-formats reference lists trajectory formats separately from molecular structures. That distinction is useful: a trajectory is not automatically a self-contained molecular model.
For example, the page specifically notes that an AMBER topology file—PARM7 or PRMTOP—is used when loading AMBER NetCDF trajectories. If you have an NC trajectory, keep the corresponding topology file available rather than treating the trajectory as the only input. More generally, when a trajectory does not provide the structural context you expect, check whether its associated structure or topology file is also required.
Use the read/write list to choose a route
The documentation marks which formats SAMSON can read and write. Among the listed trajectory formats, DCD, NC, PDB, TRR, and XTC are marked for both reading and writing. This makes them useful candidates when your workflow includes opening a trajectory and later exporting one in a supported format.
Other formats in the list are marked for reading, but not writing: ARC, LAMMPSTRJ, TNG, TRJ, and XYZ. If your simulation produces one of these, you can use SAMSON to read it, but the table does not indicate a built-in trajectory export for that same format. Plan any conversion or onward handoff accordingly, and check whether an extension provides additional functionality.
A practical check before importing
- Confirm the file’s role. Is it a coordinate trajectory, a molecular structure, or a topology?
- Check the extension. Compare it with the trajectory and molecular-structure sections of the supported-formats page. Remember that some formats have aliases—for example, AMBER NetCDF can be read as
NC, withNCDFandNCTRAJlisted as read aliases. - Gather related files. For AMBER NetCDF, the documentation calls out the associated
PARM7orPRMTOPtopology. - Decide whether you need export. A format marked read-only may be suitable for inspection but not for writing a trajectory back out in that format.
One detail worth knowing: SAMSON uses the chemfiles library to read and write some trajectory formats. The documentation does not specify that every format uses this library, so treat it as information about some formats rather than all of them.
When a format is missing
The supported list is explicitly non-comprehensive. Some formats need an extension, and extensions may support formats not shown in the reference. If the format you need is absent, check the relevant extension options or contact the team through the SAMSON Connect Forum. Developers can also create importers and exporters for SAMSON.
The useful habit is simple: identify the trajectory, locate its structural context, and verify read/write support before building the rest of your workflow around a file extension. For the complete format tables and notes, see the supported formats reference.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.
