.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16. .TH MDCONVERT "1" "October 2020" "MDTRAJ" "User Commands" .SH NAME mdconvert-mdtraj \- use mdtraj to convert molecular dynamics trajectories between formats .SH DESCRIPTION usage: mdconvert-mdtraj [\-h] \fB\-o\fR OUTPUT [\-c CHUNK] [\-f] [\-s STRIDE] [\-i INDEX] .IP [\-a ATOM_INDICES] [\-t TOPOLOGY] input [input ...] .PP Convert molecular dynamics trajectories between formats. The DCD, XTC, TRR, PDB, binpos, NetCDF, binpos, LH5, and HDF5 formats are supported (.dcd, .xtc, \&.trr, .binpos, .nc, .netcdf, .h5, .lh5, .pdb) .SS "positional arguments:" .TP input path to one or more trajectory files. Multiple trajectories, if supplied, will be concatenated together in the output file in the order supplied. all of the trajectories should be in the same format. the format will be detected based on the file extension .SS "required arguments:" .TP \fB\-o\fR OUTPUT, \fB\-\-output\fR OUTPUT path to the save the output. the output format will chosen based on the file extension (.dcd, .xtc, .trr, \&.binpos, .nc, .netcdf, .h5, .lh5, .pdb) .SS "optional arguments:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-c\fR CHUNK, \fB\-\-chunk\fR CHUNK number of frames to read in at once. this determines the memory requirements of this code. default=1000 .TP \fB\-f\fR, \fB\-\-force\fR force overwrite if output already exsits .TP \fB\-s\fR STRIDE, \fB\-\-stride\fR STRIDE load only every stride\-th frame from the input file(s), to subsample. .TP \fB\-i\fR INDEX, \fB\-\-index\fR INDEX load a *specific* set of frames. flexible, but inefficient for a large trajectory. specify your selection using (pythonic) "slice notation" e.g. '\-i N' to load the the Nth frame, '\-i \fB\-1\fR' will load the last frame, '\-i N:M to load frames N to M, etc. see http://bit.ly/143kloq for details on the notation .TP \fB\-a\fR ATOM_INDICES, \fB\-\-atom_indices\fR ATOM_INDICES load only specific atoms from the input file(s). provide a path to file containing a space, tab or newline separated list of the (zero\-based) integer indices corresponding to the atoms you wish to keep. .TP \fB\-t\fR TOPOLOGY, \fB\-\-topology\fR TOPOLOGY path to a PDB/prmtop file. this will be used to parse the topology of the system. it's optional, but useful. if specified, it enables you to output the coordinates of your dcd/xtc/trr/netcdf/binpos as a PDB file. If you're converting *to* .h5, the topology will be stored inside the h5 file.