.. highlight:: rst .. _input_formats: Input file formats ================== The computation of continuous shape or symmetry measures for molecules requires the input of information on the geometry and the electronic structure of molecules which may be provided in different formats. While the information on the molecular geometry is mandatory, providing data on the electronic structure is optional and if this is not present, **cosymlib** may be used to generate an approximate electronic structure (extended Hückel molecular orbitals or a promolecular electronic density) using the molecular structure. At this moment **cosymlib** is able to load structural data from files written in the following formats: 1. Cartesian coordinate files (.xyz file) 2. Protein Data Bank Format (.pdb file) 3. Atomic coordinates generated by CSD's ConQuest (.cor file) Information about the electronic structure can be supplied as a Gaussian formatted checkpoint file (.fchk file) which can be generated by different quantum chemistry programs besides Gaussian. In particular, the **Huckelpy** program developed within the **cosymlib** project can be used to provide directly an electronic electronic structure for **cosymlib** or to generate a .fchk file that can be used afterwards as an input for the scripts included in the **cosymlib**. More detailed information on the file formats above is given in the sections below and the corresponding links. xyz files ^^^^^^^^^ The xyz format (``_) is possybly the simplest format used in computational chemistry to indicate a molecular geometry. To do so you need just to specify the number of atoms, a descriptive label and the cartesian coordinates for each atom in the molecule, according to the following block structure: ::