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
          主站蜘蛛池模板: 原阳县| 绥江县| 土默特右旗| 咸宁市| 柘城县| 张家港市| 沙河市| 墨竹工卡县| 南京市| 瑞昌市| 和硕县| 明光市| 兴山县| 佛山市| 肥乡县| 巴楚县| 凌云县| 商水县| 虞城县| 曲阜市| 简阳市| 岗巴县| 连城县| 平潭县| 随州市| 车致| 洪雅县| 铜鼓县| 宁强县| 乳山市| 加查县| 东明县| 水城县| 侯马市| 南通市| 淮阳县| 上思县| 永康市| 闽清县| 武冈市| 宜州市|