Input formats and interoperability¶
vibe-view is a viewer and conversion tool for quantum-chemistry data. QVF is its richest input, but the producer does not have to be vibe-qc. You can open common structure and volume files directly or turn them into a persistent QVF archive.
The three names¶
The spelling depends on where you use the name:
Context |
Name |
Example |
|---|---|---|
Product and shell command |
vibe-view |
|
Python distribution |
vibeview |
a wheel named |
Python import package |
vibeview |
|
Directory in the source checkout |
vibe-view/ |
|
The distribution is not on PyPI yet. A bare pip install vibeview or
pipx install vibeview therefore does not install it today. Use the checkout
installer or the downloadable wheel described in
Getting started with vibe-view alone.
Important
The immutable hosted 2.14.1 wheel predates the Unreleased formats,
persistent import, and importer-plugin workflow on this page. Use a current
source checkout for these commands today; the next versioned wheel will carry
them. vibe-view --help is the source of truth for an installed version.
Open now or import once¶
Use open when you only want to look at a file:
vibe-view open molecule.xyz
vibe-view open density.cube
vibe-view open POSCAR
The conversion exists in memory for that viewer session. The source file is not changed and no QVF is written.
Use import when you want a reusable, checksummed QVF:
vibe-view import molecule.xyz
# writes molecule.qvf beside molecule.xyz
vibe-view import density.cube -o density.qvf
vibe-view import ./results/*.xyz -o ./qvf-results/
vibe-view import ./results -o ./qvf-results/
One input defaults to a sibling file with the .qvf suffix. Multiple inputs,
or a recursively searched directory, default to separate archives under
./vibe-view-imports.
Existing outputs are protected; pass --force only when replacing them is
intentional. If an extension is ambiguous, select an importer explicitly:
vibe-view import calculation.data --from xyz -o calculation.qvf
An import processes each source independently. It does not merge an XYZ, Cube, log, and wavefunction sidecar into one calculation archive. A producer that wants the full viewer surface should write QVF directly; see Adopting QVF in another code.
List the importers available in the current environment with:
vibe-view formats
The list includes built-ins, optional importers whose dependencies are
missing, and third-party importers registered through the
vibeview.importers Python entry-point group. The command is the source of
truth for the installed version.
Built-in format and capability matrix¶
“Kept” means the information reaches the temporary or persistent QVF. It does not mean every possible record in the source format is interpreted.
Input |
Extra |
Kept |
Important limits |
|---|---|---|---|
QVF ( |
none |
All valid sections, metadata, and checksums |
This is the only built-in path for a complete calculation record. |
XYZ ( |
none |
One molecular geometry, coordinates treated as Å |
No cell, bonds, properties, or reliable multi-frame trajectory import. |
CIF ( |
none |
Explicit atom sites and cell parameters |
Symmetry operations are not expanded. Supply an already expanded cell when the CIF stores only an asymmetric unit. |
Gaussian Cube ( |
none |
Structure and one scalar volume |
The volume kind is inferred from comments and defaults to density. No wavefunction, spectra, or calculation provenance. |
PDB ( |
none |
Coordinates, atom/residue/chain names, B factors, and |
Explicit connectivity is not imported. Use a cleaned single model; alternate locations and multiple models are not resolved. |
Tripos Mol2 ( |
none |
Molecular geometry and explicit bond orders |
Charges, force-field types beyond element recognition, and most substructure metadata are not retained. |
Gaussian input ( |
none |
Cartesian molecular geometry |
Route, basis, constraints, and Z-matrix input are not interpreted. Gaussian output, checkpoint, and formatted-checkpoint files are not supported. |
GROMACS ( |
none |
Coordinates and a three-length orthorhombic box |
Velocities and residue metadata are not retained; triclinic box terms are not imported. |
MDL Mol/SDF ( |
none |
First V2000 molecule and bond orders |
Later SDF records and data fields are ignored; V3000 is not supported. |
vibe-qc Python input ( |
none |
Statically parsed structure and selected calculation settings |
The script is not executed. This parser is for vibe-qc input syntax, not arbitrary Python. |
ASE trajectory ( |
|
One ASE-readable geometry, cell, and periodic flags |
Only these names are routed to ASE. Per-atom arrays, trajectories, calculator results, and other ASE formats are not retained by the built-in importer. |
The browser can infer display bonds when a format carries no connectivity. Those visual bonds are not evidence that the source contained bond orders.
Routes from common chemistry programs¶
Producer |
Best route today |
Not imported directly |
|---|---|---|
Gaussian |
Open/import |
|
ORCA |
Export |
|
VASP |
Install |
|
CP2K, Quantum ESPRESSO, Psi4, PySCF, and similar codes |
Export XYZ/CIF for structure or Cube for one volume; alternatively add a QVF writer |
Native logs, restart files, and code-specific wavefunction files |
Molecular-dynamics tools |
Use PDB, GRO, Mol2, SDF, XYZ, or one of the explicitly listed ASE routes |
Multi-frame trajectories are not yet a general import path |
For loose Molden, XSF, formatted-checkpoint, and GBW-style terminal workflows, MolTUI may be a better fit. It is a separate format-oriented viewer. For rich portable results, use the QVF toolkit, whose reference writers are independent of vibe-qc.
Which commands accept loose inputs?¶
open accepts the built-in loose formats and converts them in memory.
import creates a QVF that every QVF-oriented command can consume:
vibe-view import calculation.cube -o calculation.qvf
vibe-view show calculation.qvf
vibe-view capture calculation.qvf -o calculation.png
vibe-view validate calculation.qvf
Commands such as show, tui, capture, info, validate, export,
slice, and merge operate on QVF archives. Import first when your source is
a loose file.
Diagnose an environment before blaming the file¶
vibe-view doctor
vibe-view formats
vibe-view capture-selftest
doctor reports the installed version, Python environment, packaged
resources, optional modes, and source-desktop support. formats reports
built-in, optional, and plugin importer availability.
capture-selftest isolates the VTK/OpenGL capture path from the contents of a
particular archive. Browser server logs default to
~/.cache/vibe-view/vibe-view.log unless XDG_CACHE_HOME is set.