GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CHEMISTRY::3DBUILDER (3)

.ds Aq ’

NAME

Chemistry::3DBuilder - Generate 3D coordinates from a connection table

CONTENTS

SYNOPSIS



    # example: convert SMILES to MDL molfile
    use Chemistry::3DBuilder qw(build_3d);
    use Chemistry::File::SMILES;
    use Chemistry::File::MDLMol;

    my $s = [O-]C(=O)C(N)C(C)CC;
    my $mol = Chemistry::Mol->parse($s, format => smiles);

    build_3d($mol);

    print $mol->print(format => mdl);



DESCRIPTION

This module generates a three-dimensional molecular structure from a connection table, such as that obtained by a 2D representation of the molecule or from a SMILES string.

<B>NOTEB>: this module is still at a very early stage of development so it has important limitations. 1) It doesn’t handle rings or stereochemistry yet! 2) The bond lengths and atoms are very approximate as they don’t really account for different elements. 3) Only the sp3, sp2, and sp hybridizations are supported.

SUBROUTINES

These subroutines may be exported; to export all, use the ’:all’ tag.
build_3d($mol) Add internal and cartesian coordinates to the molecule $mol.

VERSION

0.10

SEE ALSO

Chemistry::Mol, Chemistry::InternalCoords.

The PerlMol website <http://www.perlmol.org/>

AUTHOR

Ivan Tubert-Brohman <itub@cpan.org>

COPYRIGHT

Copyright (c) 2005 Ivan Tubert-Brohman. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CHEMISTRY::3DBUILDER (3) 2005-05-06

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.