teaching:progappchim:openbabel_jmol

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
teaching:progappchim:openbabel_jmol [2014/02/27 22:29] – [Exemple de programme Python] villersdteaching:progappchim:openbabel_jmol [2022/03/14 17:28] (Version actuelle) – [Jmol] villersd
Ligne 5: Ligne 5:
   * Site officiel : [[http://openbabel.org/wiki/Main_Page]]   * Site officiel : [[http://openbabel.org/wiki/Main_Page]]
   * Interfaçage en Python : [[http://openbabel.org/wiki/Python]]   * Interfaçage en Python : [[http://openbabel.org/wiki/Python]]
 +
 +Pour utiliser OpenBabel en python, il faut installer au préalable ces outils. Sous Linux (Debian, Ubuntu,...), installer les paquets openbabel et python-openbabel. Sous Windows, voir [[http://openbabel.org/docs/dev/Installation/install.html|cette page]], et [[http://openbabel.org/docs/2.3.1/UseTheLibrary/PythonInstall.html|celle-ci]] (lien avec python).
  
 ===== Jmol ===== ===== Jmol =====
Ligne 11: Ligne 13:
 C'est un programme idéal pour visualiser des molécules dont les fichiers de description ont été obtenus par OpenBabel (ou d'autres logiciels de chimie). C'est un programme idéal pour visualiser des molécules dont les fichiers de description ont été obtenus par OpenBabel (ou d'autres logiciels de chimie).
  
-  * Site officiel : [[http://jmol.sourceforge.net/index.fr.html]]+  * Site officiel : [[http://jmol.sourceforge.net]]
  
 ===== Exemple de programme Python ===== ===== Exemple de programme Python =====
  
-<sxh python; title : generate_alcohols-01.py>+<code python generate_alcohols-01.py>
 #! /usr/bin/env python #! /usr/bin/env python
 # -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
Ligne 91: Ligne 93:
         print '********'         print '********'
  
-</sxh>+</code> 
 Pour le méthanol, ce programme sort ces informations : Pour le méthanol, ce programme sort ces informations :
 <code> <code>
Ligne 104: Ligne 107:
 partial charges =  (0.28, -0.68, 0.0, 0.0, 0.0, 0.4) partial charges =  (0.28, -0.68, 0.0, 0.0, 0.0, 0.4)
 total charge =  0 total charge =  0
- 
 </code> </code>
 +
 +===== References =====
 +  * [[http://www.jcheminf.com/content/3/1/33|Open Babel: An open chemical toolbox]], Noel M O'Boyle, Michael Banck, Craig A James, Chris Morley, Tim Vandermeersch and Geoffrey R Hutchison, Journal of Cheminformatics 2011, 3:33  doi:10.1186/1758-2946-3-33
 +  * [[http://www.jcheminf.com/content/7/1/23/abstract|InChI, the IUPAC International Chemical Identifier]] Stephen R Heller, Alan McNaught, Igor Pletnev, Stephen Stein and Dmitrii Tchekhovskoi, Journal of Cheminformatics 2015, 7:23 doi:10.1186/s13321-015-0068-4
  • teaching/progappchim/openbabel_jmol.1393536574.txt.gz
  • Dernière modification : 2014/02/27 22:29
  • de villersd