Supported File Formats

CHARMM crd file format. (charmm)

See iodata.formats.charmm for details.

Filename patterns: *.crd

iodata.formats.charmm.load_one()

  • Always loads atcoords, atffparams, atmasses, extra

  • May load title

VASP 5 CHGCAR file format. (chgcar)

See iodata.formats.chgcar for details.

Filename patterns: CHGCAR*, AECCAR*

iodata.formats.chgcar.load_one()

  • Always loads atcoords, atnums, cellvecs, cube, title

CP2K ATOM output file format. (cp2klog)

See iodata.formats.cp2klog for details.

Filename patterns: *.cp2k.out

iodata.formats.cp2klog.load_one()

  • Always loads atcoords, atcorenums, atnums, energy, mo, obasis

This function assumes that the following subsections are present in the CP2K ATOM input file, in the section ATOM%PRINT:

&PRINT
  &POTENTIAL
  &END POTENTIAL
  &BASIS_SET
  &END BASIS_SET
  &ORBITALS
  &END ORBITALS
&END PRINT

Gaussian Cube file format. (cube)

See iodata.formats.cube for details.

Filename patterns: *.cube, *.cub

iodata.formats.cube.load_one()

  • Always loads atcoords, atcorenums, atnums, cellvecs, cube

iodata.formats.cube.dump_one()

  • Requires atcoords, atnums, cube

  • May dump title, atcorenums

Extended XYZ file format. (extxyz)

See iodata.formats.extxyz for details.

Filename patterns: *.extxyz

iodata.formats.extxyz.load_one()

  • Always loads title

  • May load atcoords, atgradient, atmasses, atnums, cellvecs, charge, energy, extra

iodata.formats.extxyz.load_many()

  • Always loads title

  • May load atcoords, atgradient, atmasses, atnums, cellvecs, charge, energy, extra

Gaussian FCHK file format. (fchk)

See iodata.formats.fchk for details.

Filename patterns: *.fchk, *.fch

iodata.formats.fchk.load_one()

  • Always loads atcharges, atcoords, atnums, atcorenums, lot, mo, obasis, obasis_name, run_type, title

  • May load energy, atfrozen, atgradient, athessian, atmasses, one_rdms, extra, moments

iodata.formats.fchk.dump_one()

  • Requires atnums, atcorenums

  • May dump atcharges, atcoords, atfrozen, atgradient, athessian, atmasses, charge, energy, lot, mo, one_rdms, obasis_name, extra, moments

iodata.formats.fchk.load_many()

  • Always loads atcoords, atgradient, atnums, atcorenums, energy, extra, title

Trajectories from a Gaussian optimization, relaxed scan or IRC calculation are written in groups of frames, called “points” in the Gaussian world, e.g. to discrimininate between different values of the constraint in a relaxed geometry. In most cases, e.g. IRC or conventional optimization, there is only one “point”. Within one “point”, one can have multiple geometries and their properties. This information is stored in the extra attribute:

  • ipoint is the counter for a point

  • npoint is the total number of points.

  • istep is the counter within one “point”

  • nstep is the total number of geometries within in a “point”.

  • reaction_coordinate is only present in case of an IRC calculation.

Molpro 2012 FCIDUMP file format. (fcidump)

See iodata.formats.fcidump for details.

Filename patterns: *FCIDUMP*

iodata.formats.fcidump.load_one()

  • Always loads core_energy, one_ints, nelec, spinpol, two_ints

iodata.formats.fcidump.dump_one()

  • Requires one_ints, two_ints

  • May dump core_energy, nelec, spinpol

The dictionary one_ints must contain a field core_mo. Similarly, two_ints must contain two_mo.

GAMESS punch file format. (gamess)

See iodata.formats.gamess for details.

Filename patterns: *.dat

iodata.formats.gamess.load_one()

  • Always loads title, energy, grot, atgradient, athessian, atmasses, atnums, atcoords

Gaussian input format. (gaussianinput)

See iodata.formats.gaussianinput for details.

Filename patterns: *.com, *.gjf

iodata.formats.gaussianinput.load_one()

  • Always loads atcoords, atnums, title

Gaussian Log file format. (gaussianlog)

See iodata.formats.gaussianlog for details.

Filename patterns: *.log

iodata.formats.gaussianlog.load_one()

  • Always loads

  • May load one_ints, two_ints

GROMACS gro file format. (gromacs)

See iodata.formats.gromacs for details.

Filename patterns: *.gro

iodata.formats.gromacs.load_one()

  • Always loads atcoords, atffparams, cellvecs, extra, title

iodata.formats.gromacs.load_many()

  • Always loads atcoords, atffparams, cellvecs, extra, title

QCSchema JSON file format. (json)

See iodata.formats.json for details.

Filename patterns: *.json

iodata.formats.json.load_one()

  • Always loads atnums, atcorenums, atcoords, charge, nelec, spinpol

  • May load atmasses, bonds, energy, g_rot, lot, obasis, obasis_name, title, extra

iodata.formats.json.dump_one()

  • Requires atnums, atcoords, charge, spinpol

  • May dump title, atcorenums, atmasses, bonds, g_rot, extra

VASP 5 LOCPOT file format. (locpot)

See iodata.formats.locpot for details.

Filename patterns: LOCPOT*

iodata.formats.locpot.load_one()

  • Always loads atcoords, atnums, cellvecs, cube, title

MOL2 file format. (mol2)

See iodata.formats.mol2 for details.

Filename patterns: *.mol2

iodata.formats.mol2.load_one()

  • Always loads atcoords, atnums, atcharges, atffparams

  • May load title

iodata.formats.mol2.dump_one()

  • Requires atcoords, atnums

  • May dump atcharges, atffparams, title

iodata.formats.mol2.load_many()

  • Always loads atcoords, atnums, atcharges, atffparams

  • May load title

iodata.formats.mol2.dump_many()

  • Requires atcoords, atnums, atcharges

  • May dump title

Molden file format. (molden)

See iodata.formats.molden for details.

Filename patterns: *.molden.input, *.molden

iodata.formats.molden.load_one()

  • Always loads atcoords, atnums, atcorenums, mo, obasis

  • May load title

  • Keyword arguments norm_threshold

iodata.formats.molden.dump_one()

  • Requires atcoords, atnums, mo, obasis

  • May dump atcorenums, title

Molekel file format. (molekel)

See iodata.formats.molekel for details.

Filename patterns: *.mkl

iodata.formats.molekel.load_one()

  • Always loads atcoords, atnums, mo, obasis

  • May load atcharges

  • Keyword arguments norm_threshold

iodata.formats.molekel.dump_one()

  • Requires atcoords, atnums, mo, obasis

  • May dump atcharges

Multiwfn MWFN file format. (mwfn)

See iodata.formats.mwfn for details.

Filename patterns: *.mwfn

iodata.formats.mwfn.load_one()

  • Always loads atcoords, atnums, atcorenums, energy, mo, obasis, extra, title

Orca output file format. (orcalog)

See iodata.formats.orcalog for details.

Filename patterns: *.out

iodata.formats.orcalog.load_one()

  • Always loads atcoords, atnums, energy, moments, extra

PDB file format. (pdb)

See iodata.formats.pdb for details.

Filename patterns: *.pdb

iodata.formats.pdb.load_one()

  • Always loads atcoords, atnums, atffparams, extra

  • May load title, bonds

iodata.formats.pdb.dump_one()

  • Requires atcoords, atnums, extra

  • May dump atffparams, title, bonds

iodata.formats.pdb.load_many()

  • Always loads atcoords, atnums, atffparams, extra

  • May load title

iodata.formats.pdb.dump_many()

  • Requires atcoords, atnums, extra

  • May dump atffparams, title

VASP 5 POSCAR file format. (poscar)

See iodata.formats.poscar for details.

Filename patterns: POSCAR*

iodata.formats.poscar.load_one()

  • Always loads atcoords, atnums, cellvecs, title

iodata.formats.poscar.dump_one()

  • Requires atcoords, atnums, cellvecs

  • May dump title

Q-Chem Log file format. (qchemlog)

See iodata.formats.qchemlog for details.

Filename patterns: *.qchemlog

iodata.formats.qchemlog.load_one()

  • Always loads atcoords, atmasses, atnums, energy, g_rot, mo, lot, obasis_name, run_type, extra

  • May load athessian

SDF file format. (sdf)

See iodata.formats.sdf for details.

Filename patterns: *.sdf

iodata.formats.sdf.load_one()

  • Always loads atcoords, atnums, bonds, title

iodata.formats.sdf.dump_one()

  • Requires atcoords, atnums

  • May dump title, bonds

iodata.formats.sdf.load_many()

  • Always loads atcoords, atnums, bonds, title

iodata.formats.sdf.dump_many()

  • Requires atcoords, atnums

  • May dump title, bonds

Gaussian/GAMESS-US WFN file format. (wfn)

See iodata.formats.wfn for details.

Filename patterns: *.wfn

iodata.formats.wfn.load_one()

  • Always loads atcoords, atnums, energy, mo, obasis, title, extra

iodata.formats.wfn.dump_one()

  • Requires atcoords, atnums, mo, obasis

  • May dump energy, title, extra

AIM/AIMAll WFX file format. (wfx)

See iodata.formats.wfx for details.

Filename patterns: *.wfx

iodata.formats.wfx.load_one()

  • Always loads atcoords, atgradient, atnums, energy, extra, mo, obasis, title

iodata.formats.wfx.dump_one()

  • Requires atcoords, atnums, atcorenums, mo, obasis, charge

  • May dump title, energy, spinpol, lot, atgradient, extra

XYZ file format. (xyz)

See iodata.formats.xyz for details.

Filename patterns: *.xyz

iodata.formats.xyz.load_one()

  • Always loads atcoords, atnums, title

  • Keyword arguments atom_columns

iodata.formats.xyz.dump_one()

  • Requires atcoords, atnums

  • May dump title

  • Keyword arguments atom_columns

iodata.formats.xyz.load_many()

  • Always loads atcoords, atnums, title

  • Keyword arguments atom_columns

iodata.formats.xyz.dump_many()

  • Requires atcoords, atnums

  • May dump title

  • Keyword arguments atom_columns