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 周銳 閱讀(414) 評論(0)  編輯  收藏 所屬分類: ChemistryOpenbabel
          主站蜘蛛池模板: 普兰店市| 沧州市| 武汉市| 靖远县| 长葛市| 孝昌县| 治多县| 阿城市| 泸溪县| 盈江县| 木里| 金平| 怀仁县| 恩平市| 得荣县| 昌都县| 榆林市| 三穗县| 德昌县| 邵武市| 宜兴市| 遵化市| 姚安县| 于田县| 冕宁县| 额济纳旗| 怀远县| 焉耆| 墨竹工卡县| 吴川市| 台安县| 开江县| 诸暨市| 汉中市| 家居| 准格尔旗| 宜君县| 禄劝| 山阴县| 清水河县| 宝应县|