A comprehensive Python application for automatically generating input files for quantum chemistry software packages (Gaussian and ORCA). Available as both a desktop GUI application and a web-based interface that works on iOS, Android, and desktop browsers.
- Beautiful modern interface with tabbed navigation and scrollable frames
- Dual software support: Gaussian (G16/G09) and ORCA with unified interface
- Multiple input types:
.comfiles (Gaussian input format).logfiles (extract geometry from completed calculations).xyzfiles (XYZ coordinate format)- SMILES strings with ChemDraw SVG name extraction
- Full workflow generation (steps 1-7 for Gaussian, steps 1,2,4,7,9 for ORCA)
- TICT Rotation: Advanced torsional/dihedral scan generation
- AI Assistant: Conversational AI for generating input files (Ollama & Gemini support)
- PySOC integration for Spin-Orbit Coupling calculations
- Scheduler support: PBS, SLURM, and Local with customizable resources
- Advanced features:
- TD-DFT with Singlet/Triplet/Mixed states
- Solvent models (PCM, SMD, IEFPCM, CPCM)
- Custom routes and keywords per step
- Redundant coordinates
- Geometry chaining
- Bulk file processing (folders and glob patterns)
- Cross-platform: Works on iOS Safari, Android Chrome, and desktop browsers
- No installation required: Just open in browser
- File upload/download: Easy file handling via web interface
- Same powerful features as desktop version
- Responsive design: Optimized for mobile and desktop
-
Clone the repository:
git clone https://github.com/abedisyedaliabbas/Quantum-Chemistry-Software-Input-Generator.git cd Quantum-Chemistry-Software-Input-Generator -
Install dependencies:
pip install -r requirements.txt
-
Run the application:
python quantum_steps_gui.py
-
Install web dependencies:
pip install -r requirements_web.txt
-
Start the web server:
python quantum_steps_web.py
-
Open in browser:
- Local:
http://localhost:5000 - Network:
http://YOUR_IP:5000(for sharing with friends on same WiFi)
- Local:
Gaussian:
- Ground state geometry optimization
- Vertical excitation (Franck-Condon state)
- cLR correction of vertical excitation energy
- Excited state geometry optimization
- Density calculation at optimized excited state geometry
- cLR correction of excited state energy
- Ground state energy at excited state geometry
ORCA:
- Ground state optimization
- Vertical excitation (Franck-Condon state)
- Excited state optimization
- Ground state at excited state geometry
- Custom step (user-defined)
.comfiles: Standard Gaussian input files - automatically extracts geometry, charge, and multiplicity.logfiles: Completed Gaussian calculations - extracts final optimized geometry.xyzfiles: Standard XYZ coordinate format- SMILES strings: Chemical structure input with automatic 3D coordinate generation using RDKit
- Format:
name:SMILESor justSMILES - Supports ChemDraw SVG name extraction
- Format:
- Modes: Full (all steps), Single (one step), Multiple (selected steps)
- TD-DFT Options: Singlet, Triplet, Mixed (50-50) states
- Solvent Models: PCM, SMD, IEFPCM, CPCM, or gas phase
- TICT Rotation: Generate torsional/dihedral scans with automatic branch detection
- AI Assistant: Natural language interface for generating input files
- PySOC Integration: Automatic preparation for Spin-Orbit Coupling calculations
- Schedulers: PBS, SLURM, and Local execution scripts
Generate rotated geometries for torsional/dihedral scans. Supports:
- Automatic branch detection
- Multiple rotation axes
- Custom step sizes
- Bulk file processing
Conversational interface powered by Ollama (local, free) or Google Gemini:
- Natural language input file generation
- Automatic parameter detection
- Bulk file processing support
- TICT scan generation from descriptions
Setup AI Assistant:
- Ollama (Recommended): Install from ollama.com, then run
ollama pull llama3.1:8b - Google Gemini: Get API key from makersuite.google.com and enter in AI Assistant tab
Automatic preparation for Spin-Orbit Coupling calculations:
- Generates
.comfiles with%rwfand6D 10F GFInput - Creates bash scripts for running PySOC
- Combines results into Excel files
Quantum-Chemistry-Software-Input-Generator/
├── quantum_steps_gui.py # Main desktop GUI application
├── quantum_steps_web.py # Flask web server
├── gaussian_steps_gui.py # Gaussian backend logic
├── ai_assistant.py # AI assistant integration
├── ai_file_generator.py # AI-driven file generation
├── tict_rotation.py # TICT rotation module
├── templates/ # Web UI templates
│ └── index.html
├── static/ # Web static files
│ ├── css/style.css
│ └── js/app.js
├── requirements.txt # Desktop dependencies
├── requirements_web.txt # Web dependencies
└── README.md # This file
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Gaussian: For the powerful quantum chemistry software
- ORCA: For the open-source quantum chemistry package
- RDKit: For SMILES processing and 3D coordinate generation
- PySOC: For Spin-Orbit Coupling calculations
- ChemDraw: For structure drawing and SMILES export
- Ollama: For local AI capabilities
- Google Gemini: For cloud AI capabilities
For questions, issues, or contributions, please open an issue on GitHub.
Made with ❤️ for the quantum chemistry community