cif2cell

**cif2cell** is a tool to generate the geometrical setup for various electronic structure codes from a CIF (Crystallographic Information Framework) file. It converts crystallographic data to input formats for DFT codes, bridging experime…

8. POST-PROCESSING 8.7 Visualization VERIFIED 1 paper
Back to Mind Map Official Website

Overview

**cif2cell** is a tool to generate the geometrical setup for various electronic structure codes from a CIF (Crystallographic Information Framework) file. It converts crystallographic data to input formats for DFT codes, bridging experimental crystallography and computational workflows.

Reference Papers (1)

Full Documentation

Official Resources

  • Source Repository: https://github.com/torbjornbjorkman/cif2cell
  • Documentation: Included in repository
  • License: GNU General Public License v3

Overview

cif2cell is a tool to generate the geometrical setup for various electronic structure codes from a CIF (Crystallographic Information Framework) file. It converts crystallographic data to input formats for DFT codes, bridging experimental crystallography and computational workflows.

Scientific domain: Crystal structure conversion, DFT input preparation
Target user community: Researchers converting CIF crystallographic data to DFT code input formats

Theoretical Methods

  • Crystallographic information parsing (CIF format)
  • Space group symmetry operations
  • Primitive and conventional cell generation
  • k-point grid generation
  • Structure format conversion

Capabilities (CRITICAL)

  • CIF to DFT code input conversion
  • Support for: VASP, Quantum ESPRESSO, ABINIT, SIESTA, CP2K, FHI-aims, GPAW, Elk, FPLO, OpenMX, Octopus, Castep, RSPt, SPR-KKR, Wien2k, DFTB+, ATK, CRYSTAL, EMC
  • Primitive cell generation
  • Conventional cell generation
  • Automatic k-point grid generation
  • Space group handling

Sources: GitHub repository, Comput. Phys. Commun.

Key Strengths

Wide Code Support:

  • 20+ DFT code output formats
  • Single CIF input for all codes
  • Consistent structure across codes
  • No manual format conversion

Crystallographic Accuracy:

  • Proper space group handling
  • Correct symmetry operations
  • Primitive vs conventional cell
  • Standardized settings

Automated:

  • k-point grid generation
  • Structure optimization
  • No manual editing needed
  • Batch processing possible

Inputs & Outputs

  • Input formats:

    • CIF files (from ICSD, COD, etc.)
    • Command-line parameters
  • Output data types:

    • VASP POSCAR
    • QE input
    • ABINIT input
    • SIESTA input
    • And 15+ other formats

Interfaces & Ecosystem

  • Crystallographic databases: ICSD, COD, Materials Project
  • DFT codes: 20+ supported
  • Python: Scripting

Performance Characteristics

  • Speed: Instant (format conversion)
  • Accuracy: High (crystallographic standard)
  • System size: Any crystal structure
  • Memory: Low

Computational Cost

  • Conversion: Seconds
  • Typical: Negligible

Limitations & Known Constraints

  • CIF only: No other input formats
  • No relaxation: Structure conversion only
  • Limited magnetic structure support: Primarily non-magnetic
  • Python 2 origins: Some legacy code

Comparison with Other Codes

  • vs pymatgen: cif2cell is specialized for CIF→DFT, pymatgen is general
  • vs ASE: cif2cell is CIF-focused, ASE is general
  • vs VESTA: cif2cell converts to DFT, VESTA visualizes
  • Unique strength: CIF to 20+ DFT code format conversion, automated k-point generation

Application Areas

DFT Input Preparation:

  • From experimental CIF to VASP
  • From database CIF to QE
  • Structure standardization
  • Batch structure conversion

Crystallographic Databases:

  • ICSD structure conversion
  • COD structure processing
  • Materials Project integration
  • High-throughput setup

Teaching:

  • Crystal structure understanding
  • Space group visualization
  • DFT input preparation
  • Structure comparison

Best Practices

CIF Selection:

  • Use standardized CIF files
  • Check for correct space group
  • Verify atomic positions
  • Compare primitive vs conventional

Output Selection:

  • Choose appropriate DFT format
  • Set reasonable k-point density
  • Check structure in visualization tool
  • Validate against original CIF

Community and Support

  • Open source (GPL v3)
  • Developed by Torbjörn Björkman
  • Widely used in DFT community
  • Simple command-line tool

Verification & Sources

Primary sources:

  1. GitHub: https://github.com/torbjornbjorkman/cif2cell
  2. T. Björkman, related publications

Confidence: VERIFIED

Verification status: ✅ VERIFIED

  • Source code: ACCESSIBLE (GitHub)
  • Documentation: Included in repository
  • Widely used: DFT community standard
  • Active development: Maintained
  • Specialized strength: CIF to 20+ DFT code format conversion, automated k-point generation

Related Tools in 8.7 Visualization