Expand supported file formats #109
Labels
enhancement
New feature or request
future-work
Code that should be implemented soon
good first issue
Good for newcomers
help wanted
Extra attention is needed
A parser for different file formats is needed, especially for processing csv files that contain several trajectories.
.xyz file
CSV with several trajectories - format definition
The csv should contain 5 columns: time
t
, 3 spatial (x
,y
,z
) components and the trajectory identifierid
.LAMMPS data file format
Large-scale Atomic/Molecular Massively Parallel Simulator is a molecular dynamics program from Sandia National Laboratories.
More details about the file format: https://docs.lammps.org/read_data.html
The LAMMPS data dump file format is written in yaml with the following structure:
A parser for this file format is straightforward with
yaml.load_all()
function.Protein Data Bank (PDB) format
Standard file format for protein structures containing several atoms each file at different time steps. Each pdb file can contain a screenshot of the system or several trajectories, so we need to process several pdb files at once to extract trajectories.
A possible workflow would be:
id
is the atom identifier.More information about pdb file format: https://en.wikipedia.org/wiki/Protein_Data_Bank_(file_format)
The text was updated successfully, but these errors were encountered: