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
Chemistry::OpenSMILES::Aromaticity(3) User Contributed Perl Documentation Chemistry::OpenSMILES::Aromaticity(3)

Chemistry::OpenSMILES::Aromaticity - Aromaticity handling routines

Chemistry::OpenSMILES::Aromaticity encodes some aromaticity handling subroutines for aromatisation and kekulisation. Both implementations are experimental, handle only some specific cases and are neither stable nor bug-free, thus should be used with caution.

Mark electron cycles as aromatic.
Find nonfused even-length aromatic cycles consisting only of B, C, N, P, S and mark them with alternating single and double bonds. Subroutine as well accepts an optional subroutine reference $order_sub, providing external order for atoms. This is needed to stabilise the algorithm, as otherwise the outcomes of bond assignment may turn out different. $order_sub is called with an atom as $_[0] and is expected to return a value providing a distinct order indication for every atom. These can be any scalar values, comparable using Perl's "cmp" operator. If $order_sub is not given, initial atom order in input is consulted.
Find electron cycles according to "Finding Electron Cycles" algorithm from <https://depth-first.com/articles/2021/06/30/writing-aromatic-smiles/>. Use with caution: the implementation is experimental.
2025-07-04 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

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