posts - 431,  comments - 344,  trackbacks - 0
          mol2ps is a freely available command-line utility program which reads molecular structure files in different formats (see below) and generates Postscript output for 2D display. The Postscript file can then be used e.g. for creating a bitmap file, using a Postscript interpreter like Ghostscript.

          As an example, the following 2D representation of caffeine in PNG (Portable Network Graphics) format was created from the corresponding MDL molfile (PubChem CID 2519), using mol2ps in combination with Ghostscript:

          Caffeine 2D structure

          As input files, MDL molfiles and SD files (*.mol, *.sdf; 2D and 3D), Alchemy molfiles (*.mol), and Sybyl mol2 files (*.mol2) are accepted by mol2ps, the preferred format is the MDL molfile format. At present, it is not intended to extend the number of supported input file formats, as there are powerful file format converters available, such as OpenBabel.

          The main purpose of mol2ps is to create small, but high-quality 2D pictures of molecules for display on web pages. Especially for web-based molecular structure databases it is quite useful to have pre-built pictures for display in hitlists instead of invoking browser plugins, Java applets, or server-side programs for display of the individual structures. A description of how such structure databases can be created with free software is given here.

          Availability

          mol2ps is freely available under the terms of the GNU General Public License (GPL), for a detailed description of this license, please visit http://www.gnu.org/copyleft/gpl.html.
          It is written in Pascal and it was compiled with the Free Pascal compiler for the following platforms: Linux i386, FreeBSD i386, Windows (Win32 console application). You may use it on your own risk, there is no warranty for anything.

          Download

          source code: mol2ps.pas (approx. 139 KB)
          Linux (i386) executable: mol2ps-latest-linux-i386.gz (approx. 81 KB)
          FreeBSD (i386) executable: mol2ps-latest-freebsd-i386.gz (approx. 114 KB)
          Win32 console application: mol2ps-latest-win32.zip (approx. 62 KB)
          example color definition file: color.conf
          posted on 2009-11-20 15:26 周銳 閱讀(419) 評論(0)  編輯  收藏 所屬分類: ChemistryOpenbabel
          主站蜘蛛池模板: 区。| 北川| 榆中县| 微山县| 长春市| 中阳县| 沐川县| 社旗县| 东乌珠穆沁旗| 左贡县| 锡林郭勒盟| 衡阳市| 洪雅县| 彭水| 松原市| 抚远县| 高碑店市| 遵化市| 温宿县| 错那县| 平昌县| 唐河县| 河南省| 泗阳县| 朝阳市| 霍州市| 延长县| 伊金霍洛旗| 常熟市| 阿克| 庄浪县| 焦作市| 昌宁县| 杭锦后旗| 通榆县| 镇雄县| 嘉峪关市| 濉溪县| 正阳县| 云林县| 太湖县|