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 周銳 閱讀(418) 評論(0)  編輯  收藏 所屬分類: Chemistry 、Openbabel
          主站蜘蛛池模板: 开平市| 宜阳县| 临湘市| 竹北市| 建平县| 泽库县| 新巴尔虎左旗| 永平县| 海城市| 淮阳县| SHOW| 惠州市| 绵阳市| 双牌县| 恩施市| 临潭县| 鄂温| 伊吾县| 古浪县| 织金县| 石门县| 唐河县| 金山区| 泸定县| 洞口县| 孝义市| 德格县| 泰州市| 万源市| 蚌埠市| 清涧县| 齐齐哈尔市| 台中市| 江源县| 韶关市| 开平市| 邻水| 晋宁县| 苍溪县| 广东省| 泰州市|