view docs/scripts/html/AtomNeighborhoodsFingerprints.html @ 0:4816e4a8ae95 draft default tip

Uploaded
author deepakjadmin
date Wed, 20 Jan 2016 09:23:18 -0500
parents
children
line wrap: on
line source

<html>
<head>
<title>MayaChemTools:Documentation:AtomNeighborhoodsFingerprints.pl</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../css/MayaChemTools.css">
</head>
<body leftmargin="20" rightmargin="20" topmargin="10" bottommargin="10">
<br/>
<center>
<a href="http://www.mayachemtools.org" title="MayaChemTools Home"><img src="../../images/MayaChemToolsLogo.gif" border="0" alt="MayaChemTools"></a>
</center>
<br/>
<div class="DocNav">
<table width="100%" border=0 cellpadding=0 cellspacing=2>
<tr align="left" valign="top"><td width="33%" align="left"><a href="./AnalyzeTextFilesData.html" title="AnalyzeTextFilesData.html">Previous</a>&nbsp;&nbsp;<a href="./index.html" title="Table of Contents">TOC</a>&nbsp;&nbsp;<a href="./AtomTypesFingerprints.html" title="AtomTypesFingerprints.html">Next</a></td><td width="34%" align="middle"><strong>AtomNeighborhoodsFingerprints.pl</strong></td><td width="33%" align="right"><a href="././code/AtomNeighborhoodsFingerprints.html" title="View source code">Code</a>&nbsp;|&nbsp;<a href="./../pdf/AtomNeighborhoodsFingerprints.pdf" title="PDF US Letter Size">PDF</a>&nbsp;|&nbsp;<a href="./../pdfgreen/AtomNeighborhoodsFingerprints.pdf" title="PDF US Letter Size with narrow margins: www.changethemargins.com">PDFGreen</a>&nbsp;|&nbsp;<a href="./../pdfa4/AtomNeighborhoodsFingerprints.pdf" title="PDF A4 Size">PDFA4</a>&nbsp;|&nbsp;<a href="./../pdfa4green/AtomNeighborhoodsFingerprints.pdf" title="PDF A4 Size with narrow margins: www.changethemargins.com">PDFA4Green</a></td></tr>
</table>
</div>
<p>
</p>
<h2>NAME</h2>
<p>AtomNeighborhoodsFingerprints.pl - Generate atom neighborhoods fingerprints for SD files</p>
<p>
</p>
<h2>SYNOPSIS</h2>
<p>AtomNeighborhoodsFingerprints.pl SDFile(s)...</p>
<p>AtomNeighborhoodsFingerprints.pl [<strong>--AromaticityModel</strong> <em>AromaticityModelType</em>]
[<strong>-a, --AtomIdentifierType</strong> <em>AtomicInvariantsAtomTypes |
DREIDINGAtomTypes | EStateAtomTypes | MMFF94AtomTypes | SLogPAtomTypes | SYBYLAtomTypes | TPSAAtomTypes | UFFAtomTypes</em>]
[<strong>--AtomicInvariantsToUse</strong> <em>&quot;AtomicInvariant,AtomicInvariant...&quot;</em>]
[<strong>--FunctionalClassesToUse</strong> <em>&quot;FunctionalClass1,FunctionalClass2...&quot;</em>]
[<strong>--CompoundID</strong> <em>DataFieldName or LabelPrefixString</em>] [<strong>--CompoundIDLabel</strong> <em>text</em>]
[<strong>--CompoundIDMode</strong>] [<strong>--DataFields</strong> <em>&quot;FieldLabel1,FieldLabel2,...&quot;</em>]
[<strong>-d, --DataFieldsMode</strong> <em>All | Common | Specify | CompoundID</em>] [<strong>-f, --Filter</strong> <em>Yes | No</em>]
[<strong>--FingerprintsLabel</strong> <em>text</em>] [<strong>-h, --help</strong>] [<strong>-k, --KeepLargestComponent</strong> <em>Yes | No</em>]
[<strong>--MinNeighborhoodRadius</strong> <em>number</em>] [<strong>--MaxNeighborhoodRadius</strong> <em>number</em>]
[<strong>--OutDelim</strong> <em>comma | tab | semicolon</em>] [<strong>--output</strong> <em>SD | FP | text | all</em>] [<strong>-o, --overwrite</strong>]
[<strong>-q, --quote</strong> <em>Yes | No</em>] [<strong>-r, --root</strong> <em>RootName</em>]
[<strong>-w, --WorkingDir</strong> dirname] SDFile(s)...</p>
<p>
</p>
<h2>DESCRIPTION</h2>
<p>Generate atom neighborhoods fingerprints  [ Ref 53-56, Ref 73 ] for <em>SDFile(s)</em> and create appropriate
SD, FP or CSV/TSV text file(s) containing fingerprints vector strings corresponding to molecular fingerprints.</p>
<p>Multiple SDFile names are separated by spaces. The valid file extensions are <em>.sdf</em>
and <em>.sd</em>. All other file names are ignored. All the SD files in a current directory
can be specified either by <em>*.sdf</em> or the current directory name.</p>
<p>The current release of MayaChemTools supports generation of atom neighborhoods fingerprints
corresponding to following <strong>-a, --AtomIdentifierTypes</strong>:</p>
<div class="OptionsBox">
    AtomicInvariantsAtomTypes, DREIDINGAtomTypes, EStateAtomTypes,
<br/>    FunctionalClassAtomTypes, MMFF94AtomTypes, SLogPAtomTypes,
<br/>    SYBYLAtomTypes, TPSAAtomTypes, UFFAtomTypes</div>
<p>Based on the values specified for <strong>-a, --AtomIdentifierType</strong> and <strong>--AtomicInvariantsToUse</strong>,
initial atom types are assigned to all non-hydrogen atoms in a molecule. Using atom neighborhoods
around each non-hydrogen central atom corresponding to radii between specified values
<strong>--MinNeighborhoodRadius</strong> and <strong>--MaxNeighborhoodRadius</strong>, unique atom types at
each radii level are counted and an atom neighborhood identifier is generated.</p>
<p>The format of an atom neighborhood identifier around a central non-hydrogen atom at a
specific radius is:</p>
<div class="OptionsBox">
    NR&lt;n&gt;-&lt;AtomType&gt;-ATC&lt;n&gt;</div>
<div class="OptionsBox">
    NR: Neighborhood radius
<br/>    AtomType: Assigned atom type
<br/>    ATC: Atom type count</div>
<p>The atom neighborhood identifier for a non-hydrogen central atom corresponding to all specified radii
is generated by concatenating neighborhood identifiers at each radii by colon as a delimiter:</p>
<div class="OptionsBox">
    NR&lt;n&gt;-&lt;AtomType&gt;-ATC&lt;n&gt;:NR&lt;n&gt;-&lt;AtomType&gt;-ATC&lt;n&gt;:...</div>
<p>The atom neighborhood identifiers for all non-hydrogen central atoms at all specified radii are
concatenated using space as a delimiter and constitute atom neighborhood fingerprint of the molecule.</p>
<p>Example of <em>SD</em> file containing atom neighborhood fingerprints string data:</p>
<div class="OptionsBox">
    ... ...
<br/>    ... ...
<br/>    $$$$
<br/>    ... ...
<br/>    ... ...
<br/>    ... ...
<br/>    41 44  0  0  0  0  0  0  0  0999 V2000
     -3.3652    1.4499    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
<br/>    ... ...
<br/>    2  3  1  0  0  0  0
<br/>    ... ...
<br/>    M  END
<br/>    &gt;  &lt;CmpdID&gt;
<br/>    Cmpd1</div>
<div class="OptionsBox">
    &gt;  &lt;AtomNeighborhoodsFingerprints&gt;
<br/>    FingerprintsVector;AtomNeighborhoods:AtomicInvariantsAtomTypes:MinRadiu
<br/>    s0:MaxRadius2;41;AlphaNumericalValues;ValuesString;NR0-C.X1.BO1.H3-ATC1
<br/>    :NR1-C.X3.BO3.H1-ATC1:NR2-C.X1.BO1.H3-ATC1:NR2-C.X3.BO4-ATC1 NR0-C.X1.B
<br/>    O1.H3-ATC1:NR1-C.X3.BO3.H1-ATC1:NR2-C.X1.BO1.H3-ATC1:NR2-C.X3.BO4-ATC1
<br/>    NR0-C.X2.BO2.H2-ATC1:NR1-C.X2.BO2.H2-ATC1:NR1-C.X3.BO3.H1-ATC1:NR2-C...</div>
<div class="OptionsBox">
    $$$$
<br/>    ... ...
<br/>    ... ...</div>
<p>Example of <em>FP</em> file containing atom neighborhood fingerprints string data:</p>
<div class="OptionsBox">
    #
<br/>    # Package = MayaChemTools 7.4
<br/>    # Release Date = Oct 21, 2010
<br/>    #
<br/>    # TimeStamp = Fri Mar 11 14:15:27 2011
<br/>    #
<br/>    # FingerprintsStringType = FingerprintsVector
<br/>    #
<br/>    # Description = AtomNeighborhoods:AtomicInvariantsAtomTypes:MinRadiu...
<br/>    # VectorStringFormat = ValuesString
<br/>    # VectorValuesType = AlphaNumericalValues
<br/>    #
<br/>    Cmpd1 41;NR0-C.X1.BO1.H3-ATC1:NR1-C.X3.BO3.H1-ATC1:NR2-C.X1.BO1.H3-A...
<br/>    Cmpd2 23;NR0-C.X1.BO1.H3-ATC1:NR1-C.X2.BO2.H2-ATC1:NR2-C.X3.BO3.H1-A...
<br/>    ... ...
<br/>    ... ..</div>
<p>Example of CSV <em>Text</em> file containing atom neighborhood fingerprints string data:</p>
<div class="OptionsBox">
    &quot;CompoundID&quot;,&quot;AtomNeighborhoodsFingerprints&quot;
<br/>    &quot;Cmpd1&quot;,&quot;FingerprintsVector;AtomNeighborhoods:AtomicInvariantsAtomTypes
<br/>    :MinRadius0:MaxRadius2;41;AlphaNumericalValues;ValuesString;NR0-C.X1.B
<br/>    O1.H3-ATC1:NR1-C.X3.BO3.H1-ATC1:NR2-C.X1.BO1.H3-ATC1:NR2-C.X3.BO4-ATC1
<br/>    NR0-C.X1.BO1.H3-ATC1:NR1-C.X3.BO3.H1-ATC1:NR2-C.X1.BO1.H3-ATC1:NR2-C.X3
<br/>    .BO4-ATC1 NR0-C.X2.BO2.H2-ATC1:NR1-C.X2.BO2.H2-ATC1:NR1-C.X3.BO3.H1...&quot;
<br/>    ... ...
<br/>    ... ...</div>
<p>The current release of MayaChemTools generates the following types of atom neighborhoods
fingerprints vector strings:</p>
<div class="OptionsBox">
    FingerprintsVector;AtomNeighborhoods:AtomicInvariantsAtomTypes:MinRadi
<br/>    us0:MaxRadius2;41;AlphaNumericalValues;ValuesString;NR0-C.X1.BO1.H3-AT
<br/>    C1:NR1-C.X3.BO3.H1-ATC1:NR2-C.X1.BO1.H3-ATC1:NR2-C.X3.BO4-ATC1 NR0-C.X
<br/>    1.BO1.H3-ATC1:NR1-C.X3.BO3.H1-ATC1:NR2-C.X1.BO1.H3-ATC1:NR2-C.X3.BO4-A
<br/>    TC1 NR0-C.X2.BO2.H2-ATC1:NR1-C.X2.BO2.H2-ATC1:NR1-C.X3.BO3.H1-ATC1:NR2
<br/>    -C.X2.BO2.H2-ATC1:NR2-N.X3.BO3-ATC1:NR2-O.X1.BO1.H1-ATC1 NR0-C.X2.B...</div>
<div class="OptionsBox">
    FingerprintsVector;AtomNeighborhoods:DREIDINGAtomTypes:MinRadius0:MaxR
<br/>    adius2;41;AlphaNumericalValues;ValuesString;NR0-C_2-ATC1:NR1-C_3-ATC1:
<br/>    NR1-O_2-ATC1:NR1-O_3-ATC1:NR2-C_3-ATC1 NR0-C_2-ATC1:NR1-C_R-ATC1:NR1-N
<br/>    _3-ATC1:NR1-O_2-ATC1:NR2-C_R-ATC3 NR0-C_3-ATC1:NR1-C_2-ATC1:NR1-C_3-AT
<br/>    C1:NR2-C_3-ATC1:NR2-O_2-ATC1:NR2-O_3-ATC2 NR0-C_3-ATC1:NR1-C_3-ATC1:NR
<br/>    1-N_R-ATC1:NR2-C_3-ATC1:NR2-C_R-ATC2 NR0-C_3-ATC1:NR1-C_3-ATC1:NR2-...</div>
<div class="OptionsBox">
    FingerprintsVector;AtomNeighborhoods:EStateAtomTypes:MinRadius0:MaxRad
<br/>    ius2;41;AlphaNumericalValues;ValuesString;NR0-aaCH-ATC1:NR1-aaCH-ATC1:
<br/>    NR1-aasC-ATC1:NR2-aaCH-ATC1:NR2-aasC-ATC1:NR2-sF-ATC1 NR0-aaCH-ATC1:NR
<br/>    1-aaCH-ATC1:NR1-aasC-ATC1:NR2-aaCH-ATC1:NR2-aasC-ATC1:NR2-sF-ATC1 NR0-
<br/>    aaCH-ATC1:NR1-aaCH-ATC1:NR1-aasC-ATC1:NR2-aaCH-ATC1:NR2-aasC-ATC2 NR0-
<br/>    aaCH-ATC1:NR1-aaCH-ATC1:NR1-aasC-ATC1:NR2-aaCH-ATC1:NR2-aasC-ATC2 N...</div>
<div class="OptionsBox">
    FingerprintsVector;AtomNeighborhoods:FunctionalClassAtomTypes:MinRadiu
<br/>    s0:MaxRadius2;41;AlphaNumericalValues;ValuesString;NR0-Ar-ATC1:NR1-Ar-
<br/>    ATC1:NR1-Ar.HBA-ATC1:NR1-None-ATC1:NR2-Ar-ATC2:NR2-None-ATC4 NR0-Ar-AT
<br/>    C1:NR1-Ar-ATC2:NR1-Ar.HBA-ATC1:NR2-Ar-ATC5:NR2-None-ATC1 NR0-Ar-ATC1:N
<br/>    R1-Ar-ATC2:NR1-HBD-ATC1:NR2-Ar-ATC2:NR2-None-ATC1 NR0-Ar-ATC1:NR1-Ar-A
<br/>    TC2:NR1-Hal-ATC1:NR2-Ar-ATC2 NR0-Ar-ATC1:NR1-Ar-ATC2:NR1-None-ATC1:...</div>
<div class="OptionsBox">
    FingerprintsVector;AtomNeighborhoods:MMFF94AtomTypes:MinRadius0:MaxRad
<br/>    ius2;41;AlphaNumericalValues;ValuesString;NR0-C5A-ATC1:NR1-C5B-ATC1:NR
<br/>    1-CB-ATC1:NR1-N5-ATC1:NR2-C5A-ATC1:NR2-C5B-ATC1:NR2-CB-ATC3:NR2-CR-ATC
<br/>    1 NR0-C5A-ATC1:NR1-C5B-ATC1:NR1-CR-ATC1:NR1-N5-ATC1:NR2-C5A-ATC1:NR2-C
<br/>    5B-ATC1:NR2-C=ON-ATC1:NR2-CR-ATC3 NR0-C5B-ATC1:NR1-C5A-ATC1:NR1-C5B-AT
<br/>    C1:NR1-C=ON-ATC1:NR2-C5A-ATC1:NR2-CB-ATC1:NR2-CR-ATC1:NR2-N5-ATC1:N...</div>
<div class="OptionsBox">
    FingerprintsVector;AtomNeighborhoods:SLogPAtomTypes:MinRadius0:MaxRadi
<br/>    us2;41;AlphaNumericalValues;ValuesString;NR0-C1-ATC1:NR1-C10-ATC1:NR1-
<br/>    CS-ATC1:NR2-C1-ATC1:NR2-N11-ATC1:NR2-O2-ATC1 NR0-C1-ATC1:NR1-C11-ATC1:
<br/>    NR2-C1-ATC1:NR2-C21-ATC1 NR0-C1-ATC1:NR1-C11-ATC1:NR2-C1-ATC1:NR2-C21-
<br/>    ATC1 NR0-C1-ATC1:NR1-C5-ATC1:NR1-CS-ATC1:NR2-C1-ATC1:NR2-O2-ATC2:NR2-O
<br/>    9-ATC1 NR0-C1-ATC1:NR1-CS-ATC2:NR2-C1-ATC2:NR2-O2-ATC2 NR0-C10-ATC1...</div>
<div class="OptionsBox">
    FingerprintsVector;AtomNeighborhoods:SYBYLAtomTypes:MinRadius0:MaxRadi
<br/>    us2;41;AlphaNumericalValues;ValuesString;NR0-C.2-ATC1:NR1-C.3-ATC1:NR1
<br/>    -O.co2-ATC2:NR2-C.3-ATC1 NR0-C.2-ATC1:NR1-C.ar-ATC1:NR1-N.am-ATC1:NR1-
<br/>    O.2-ATC1:NR2-C.ar-ATC3 NR0-C.3-ATC1:NR1-C.2-ATC1:NR1-C.3-ATC1:NR2-C.3-
<br/>    ATC1:NR2-O.3-ATC1:NR2-O.co2-ATC2 NR0-C.3-ATC1:NR1-C.3-ATC1:NR1-N.ar-AT
<br/>    C1:NR2-C.3-ATC1:NR2-C.ar-ATC2 NR0-C.3-ATC1:NR1-C.3-ATC1:NR2-C.3-ATC...</div>
<div class="OptionsBox">
    FingerprintsVector;AtomNeighborhoods:TPSAAtomTypes:MinRadius0:MaxRadiu
<br/>    s2;41;AlphaNumericalValues;ValuesString;NR0-N21-ATC1:NR1-None-ATC3:NR2
<br/>    -None-ATC5 NR0-N7-ATC1:NR1-None-ATC2:NR2-None-ATC3:NR2-O3-ATC1 NR0-Non
<br/>    e-ATC1:NR1-N21-ATC1:NR1-None-ATC1:NR2-None-ATC3 NR0-None-ATC1:NR1-N21-
<br/>    ATC1:NR1-None-ATC2:NR2-None-ATC6 NR0-None-ATC1:NR1-N21-ATC1:NR1-None-A
<br/>    TC2:NR2-None-ATC6 NR0-None-ATC1:NR1-N7-ATC1:NR1-None-ATC1:NR1-O3-AT...</div>
<div class="OptionsBox">
    FingerprintsVector;AtomNeighborhoods:UFFAtomTypes:MinRadius0:MaxRadius
<br/>    2;41;AlphaNumericalValues;ValuesString;NR0-C_2-ATC1:NR1-C_3-ATC1:NR1-O
<br/>    _2-ATC1:NR1-O_3-ATC1:NR2-C_3-ATC1 NR0-C_2-ATC1:NR1-C_R-ATC1:NR1-N_3-AT
<br/>    C1:NR1-O_2-ATC1:NR2-C_R-ATC3 NR0-C_3-ATC1:NR1-C_2-ATC1:NR1-C_3-ATC1:NR
<br/>    2-C_3-ATC1:NR2-O_2-ATC1:NR2-O_3-ATC2 NR0-C_3-ATC1:NR1-C_3-ATC1:NR1-N_R
<br/>    -ATC1:NR2-C_3-ATC1:NR2-C_R-ATC2 NR0-C_3-ATC1:NR1-C_3-ATC1:NR2-C_3-A...</div>
<p>
</p>
<h2>OPTIONS</h2>
<dl>
<dt><strong><strong>--AromaticityModel</strong> <em>MDLAromaticityModel | TriposAromaticityModel | MMFFAromaticityModel | ChemAxonBasicAromaticityModel | ChemAxonGeneralAromaticityModel | DaylightAromaticityModel | MayaChemToolsAromaticityModel</em></strong></dt>
<dd>
<p>Specify aromaticity model to use during detection of aromaticity. Possible values in the current
release are: <em>MDLAromaticityModel, TriposAromaticityModel, MMFFAromaticityModel,
ChemAxonBasicAromaticityModel, ChemAxonGeneralAromaticityModel, DaylightAromaticityModel
or MayaChemToolsAromaticityModel</em>. Default value: <em>MayaChemToolsAromaticityModel</em>.</p>
<p>The supported aromaticity model names along with model specific control parameters
are defined in <strong>AromaticityModelsData.csv</strong>, which is distributed with the current release
and is available under <strong>lib/data</strong> directory. <strong>Molecule.pm</strong> module retrieves data from
this file during class instantiation and makes it available to method <strong>DetectAromaticity</strong>
for detecting aromaticity corresponding to a specific model.</p>
</dd>
<dt><strong><strong>-a, --AtomIdentifierType</strong> <em>AtomicInvariantsAtomTypes | DREIDINGAtomTypes | EStateAtomTypes | FunctionalClassAtomTypes | MMFF94AtomTypes | SLogPAtomTypes | SYBYLAtomTypes | TPSAAtomTypes | UFFAtomTypes</em></strong></dt>
<dd>
<p>Specify atom identifier type to use for assignment of initial atom identifier to non-hydrogen
atoms during calculation of atom neighborhoods fingerprints. Possible values in the current
release are: <em>AtomicInvariantsAtomTypes, DREIDINGAtomTypes, EStateAtomTypes,
FunctionalClassAtomTypes, MMFF94AtomTypes, SLogPAtomTypes, SYBYLAtomTypes,
TPSAAtomTypes, UFFAtomTypes</em>. Default value: <em>AtomicInvariantsAtomTypes</em>.</p>
</dd>
<dt><strong><strong>--AtomicInvariantsToUse</strong> <em>&quot;AtomicInvariant,AtomicInvariant...&quot;</em></strong></dt>
<dd>
<p>This value is used during <em>AtomicInvariantsAtomTypes</em> value of <strong>a, --AtomIdentifierType</strong>
option. It's a list of comma separated valid atomic invariant atom types.</p>
<p>Possible values for atomic invariants are: <em>AS, X, BO,  LBO, SB, DB, TB,
H, Ar, RA, FC, MN, SM</em>. Default value: <em>AS,X,BO,H,FC</em>.</p>
<p>The atomic invariants abbreviations correspond to:</p>
<div class="OptionsBox">
    AS = Atom symbol corresponding to element symbol</div>
<div class="OptionsBox">
    X&lt;n&gt;   = Number of non-hydrogen atom neighbors or heavy atoms
<br/>    BO&lt;n&gt; = Sum of bond orders to non-hydrogen atom neighbors or heavy atoms
<br/>    LBO&lt;n&gt; = Largest bond order of non-hydrogen atom neighbors or heavy atoms
<br/>    SB&lt;n&gt; = Number of single bonds to non-hydrogen atom neighbors or heavy atoms
<br/>    DB&lt;n&gt; = Number of double bonds to non-hydrogen atom neighbors or heavy atoms
<br/>    TB&lt;n&gt; = Number of triple bonds to non-hydrogen atom neighbors or heavy atoms
<br/>    H&lt;n&gt;   = Number of implicit and explicit hydrogens for atom
<br/>    Ar     = Aromatic annotation indicating whether atom is aromatic
<br/>    RA     = Ring atom annotation indicating whether atom is a ring
<br/>    FC&lt;+n/-n&gt; = Formal charge assigned to atom
<br/>    MN&lt;n&gt; = Mass number indicating isotope other than most abundant isotope
<br/>    SM&lt;n&gt; = Spin multiplicity of atom. Possible values: 1 (singlet), 2 (doublet) or
            3 (triplet)</div>
<p>Atom type generated by AtomTypes::AtomicInvariantsAtomTypes class corresponds to:</p>
<div class="OptionsBox">
    AS.X&lt;n&gt;.BO&lt;n&gt;.LBO&lt;n&gt;.&lt;SB&gt;&lt;n&gt;.&lt;DB&gt;&lt;n&gt;.&lt;TB&gt;&lt;n&gt;.H&lt;n&gt;.Ar.RA.FC&lt;+n/-n&gt;.MN&lt;n&gt;.SM&lt;n&gt;</div>
<p>Except for AS which is a required atomic invariant in atom types, all other atomic invariants are
optional. Atom type specification doesn't include atomic invariants with zero or undefined values.</p>
<p>In addition to usage of abbreviations for specifying atomic invariants, the following descriptive words
are also allowed:</p>
<div class="OptionsBox">
    X : NumOfNonHydrogenAtomNeighbors or NumOfHeavyAtomNeighbors
<br/>    BO : SumOfBondOrdersToNonHydrogenAtoms or SumOfBondOrdersToHeavyAtoms
<br/>    LBO : LargestBondOrderToNonHydrogenAtoms or LargestBondOrderToHeavyAtoms
<br/>    SB :  NumOfSingleBondsToNonHydrogenAtoms or NumOfSingleBondsToHeavyAtoms
<br/>    DB : NumOfDoubleBondsToNonHydrogenAtoms or NumOfDoubleBondsToHeavyAtoms
<br/>    TB : NumOfTripleBondsToNonHydrogenAtoms or NumOfTripleBondsToHeavyAtoms
<br/>    H :  NumOfImplicitAndExplicitHydrogens
<br/>    Ar : Aromatic
<br/>    RA : RingAtom
<br/>    FC : FormalCharge
<br/>    MN : MassNumber
<br/>    SM : SpinMultiplicity</div>
<p><em>AtomTypes::AtomicInvariantsAtomTypes</em> module is used to assign atomic invariant
atom types.</p>
</dd>
<dt><strong><strong>--FunctionalClassesToUse</strong> <em>&quot;FunctionalClass1,FunctionalClass2...&quot;</em></strong></dt>
<dd>
<p>This value is used during <em>FunctionalClassAtomTypes</em> value of <strong>a, --AtomIdentifierType</strong>
option. It's a list of comma separated valid functional classes.</p>
<p>Possible values for atom functional classes are: <em>Ar, CA, H, HBA, HBD, Hal, NI, PI, RA</em>.
Default value [ Ref 24 ]: <em>HBD,HBA,PI,NI,Ar,Hal</em>.</p>
<p>The functional class abbreviations correspond to:</p>
<div class="OptionsBox">
    HBD: HydrogenBondDonor
<br/>    HBA: HydrogenBondAcceptor
<br/>    PI :  PositivelyIonizable
<br/>    NI : NegativelyIonizable
<br/>    Ar : Aromatic
<br/>    Hal : Halogen
<br/>    H : Hydrophobic
<br/>    RA : RingAtom
<br/>    CA : ChainAtom</div>
<div class="OptionsBox">
 Functional class atom type specification for an atom corresponds to:</div>
<div class="OptionsBox">
    Ar.CA.H.HBA.HBD.Hal.NI.PI.RA</div>
<p><em>AtomTypes::FunctionalClassAtomTypes</em> module is used to assign functional class atom
types. It uses following definitions [ Ref 60-61, Ref 65-66 ]:</p>
<div class="OptionsBox">
    HydrogenBondDonor: NH, NH2, OH
<br/>    HydrogenBondAcceptor: N[!H], O
<br/>    PositivelyIonizable: +, NH2
<br/>    NegativelyIonizable: -, C(=O)OH, S(=O)OH, P(=O)OH</div>
</dd>
<dt><strong><strong>--CompoundID</strong> <em>DataFieldName or LabelPrefixString</em></strong></dt>
<dd>
<p>This value is <strong>--CompoundIDMode</strong> specific and indicates how compound ID is generated.</p>
<p>For <em>DataField</em> value of <strong>--CompoundIDMode</strong> option, it corresponds to datafield label name
whose value is used as compound ID; otherwise, it's a prefix string used for generating compound
IDs like LabelPrefixString&lt;Number&gt;. Default value, <em>Cmpd</em>, generates compound IDs which
look like Cmpd&lt;Number&gt;.</p>
<p>Examples for <em>DataField</em> value of <strong>--CompoundIDMode</strong>:</p>
<div class="OptionsBox">
    MolID
<br/>    ExtReg</div>
<p>Examples for <em>LabelPrefix</em> or <em>MolNameOrLabelPrefix</em> value of <strong>--CompoundIDMode</strong>:</p>
<div class="OptionsBox">
    Compound</div>
<p>The value specified above generates compound IDs which correspond to Compound&lt;Number&gt;
instead of default value of Cmpd&lt;Number&gt;.</p>
</dd>
<dt><strong><strong>--CompoundIDLabel</strong> <em>text</em></strong></dt>
<dd>
<p>Specify compound ID column label for FP or CSV/TSV text file(s) used during <em>CompoundID</em> value
of <strong>--DataFieldsMode</strong> option. Default: <em>CompoundID</em>.</p>
</dd>
<dt><strong><strong>--CompoundIDMode</strong> <em>DataField | MolName | LabelPrefix | MolNameOrLabelPrefix</em></strong></dt>
<dd>
<p>Specify how to generate compound IDs and write to FP or CSV/TSV text file(s) along with generated
fingerprints for <em>FP | text | all</em> values of <strong>--output</strong> option: use a <em>SDFile(s)</em> datafield value;
use molname line from <em>SDFile(s)</em>; generate a sequential ID with specific prefix; use combination
of both MolName and LabelPrefix with usage of LabelPrefix values for empty molname lines.</p>
<p>Possible values: <em>DataField | MolName | LabelPrefix | MolNameOrLabelPrefix</em>.
Default: <em>LabelPrefix</em>.</p>
<p>For <em>MolNameAndLabelPrefix</em> value of <strong>--CompoundIDMode</strong>, molname line in <em>SDFile(s)</em> takes
precedence over sequential compound IDs generated using <em>LabelPrefix</em> and only empty molname
values are replaced with sequential compound IDs.</p>
<p>This is only used for <em>CompoundID</em> value of <strong>--DataFieldsMode</strong> option.</p>
</dd>
<dt><strong><strong>--DataFields</strong> <em>&quot;FieldLabel1,FieldLabel2,...&quot;</em></strong></dt>
<dd>
<p>Comma delimited list of <em>SDFiles(s)</em> data fields to extract and write to CSV/TSV text file(s) along
with generated fingerprints for <em>text | all</em> values of <strong>--output</strong> option.</p>
<p>This is only used for <em>Specify</em> value of <strong>--DataFieldsMode</strong> option.</p>
<p>Examples:</p>
<div class="OptionsBox">
    Extreg
<br/>    MolID,CompoundName</div>
</dd>
<dt><strong><strong>-d, --DataFieldsMode</strong> <em>All | Common | Specify | CompoundID</em></strong></dt>
<dd>
<p>Specify how data fields in <em>SDFile(s)</em> are transferred to output CSV/TSV text file(s) along
with generated fingerprints for <em>text | all</em> values of <strong>--output</strong> option: transfer all SD
data field; transfer SD data files common to all compounds; extract specified data fields;
generate a compound ID using molname line, a compound prefix, or a combination of both.
Possible values: <em>All | Common | specify | CompoundID</em>. Default value: <em>CompoundID</em>.</p>
</dd>
<dt><strong><strong>-f, --Filter</strong> <em>Yes | No</em></strong></dt>
<dd>
<p>Specify whether to check and filter compound data in SDFile(s). Possible values: <em>Yes or No</em>.
Default value: <em>Yes</em>.</p>
<p>By default, compound data is checked before calculating fingerprints and compounds containing
atom data corresponding to non-element symbols or no atom data are ignored.</p>
</dd>
<dt><strong><strong>--FingerprintsLabel</strong> <em>text</em></strong></dt>
<dd>
<p>SD data label or text file column label to use for fingerprints string in output SD or
CSV/TSV text file(s) specified by <strong>--output</strong>. Default value: <em>AtomNeighborhoodsFingerprints</em>.</p>
</dd>
<dt><strong><strong>-h, --help</strong></strong></dt>
<dd>
<p>Print this help message.</p>
</dd>
<dt><strong><strong>-k, --KeepLargestComponent</strong> <em>Yes | No</em></strong></dt>
<dd>
<p>Generate fingerprints for only the largest component in molecule. Possible values:
<em>Yes or No</em>. Default value: <em>Yes</em>.</p>
<p>For molecules containing multiple connected components, fingerprints can be generated
in two different ways: use all connected components or just the largest connected
component. By default, all atoms except for the largest connected component are
deleted before generation of fingerprints.</p>
</dd>
<dt><strong><strong>--MinNeighborhoodRadius</strong> <em>number</em></strong></dt>
<dd>
<p>Minimum atom neighborhood radius for generating atom neighborhoods. Default value: <em>0</em>.
Valid values: positive integers and less than <strong>--MaxNeighborhoodRadius</strong>. Neighborhood
radius of zero corresponds to list of non-hydrogen atoms.</p>
</dd>
<dt><strong><strong>--MaxNeighborhoodRadius</strong> <em>number</em></strong></dt>
<dd>
<p>Maximum atom neighborhood radius for generating atom neighborhoods. Default value: <em>2</em>.
Valid values: positive integers and greater than <strong>--MineighborhoodRadius</strong>.</p>
</dd>
<dt><strong><strong>--OutDelim</strong> <em>comma | tab | semicolon</em></strong></dt>
<dd>
<p>Delimiter for output CSV/TSV text file(s). Possible values: <em>comma, tab, or semicolon</em>
Default value: <em>comma</em>.</p>
</dd>
<dt><strong><strong>--output</strong> <em>SD | FP | text | all</em></strong></dt>
<dd>
<p>Type of output files to generate. Possible values: <em>SD, FP, text, or all</em>. Default value: <em>text</em>.</p>
</dd>
<dt><strong><strong>-o, --overwrite</strong></strong></dt>
<dd>
<p>Overwrite existing files.</p>
</dd>
<dt><strong><strong>-q, --quote</strong> <em>Yes | No</em></strong></dt>
<dd>
<p>Put quote around column values in output CSV/TSV text file(s). Possible values:
<em>Yes or No</em>. Default value: <em>Yes</em>.</p>
</dd>
<dt><strong><strong>-r, --root</strong> <em>RootName</em></strong></dt>
<dd>
<p>New file name is generated using the root: &lt;Root&gt;.&lt;Ext&gt;. Default for new file names:
&lt;SDFileName&gt;&lt;AtomNeighborhoodsFP&gt;.&lt;Ext&gt;. The file type determines &lt;Ext&gt;
value. The sdf, fpf, csv, and tsv &lt;Ext&gt; values are used for SD, comma/semicolon, and tab
delimited text files, respectively.This option is ignored for multiple input files.</p>
</dd>
<dt><strong><strong>-w, --WorkingDir</strong> <em>DirName</em></strong></dt>
<dd>
<p>Location of working directory. Default: current directory.</p>
</dd>
</dl>
<p>
</p>
<h2>EXAMPLES</h2>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using atomic invariants atom types in vector string format and create a SampleANFP.csv
file containing sequential compound IDs along with fingerprints vector strings data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -r SampleANFP -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using DREIDING atom types in vector string format and create a SampleANFP.csv
file containing sequential compound IDs along with fingerprints vector strings data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a DREIDINGAtomTypes -r SampleANFP
      -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using EStateAtomTypes types in vector string format and create a SampleANFP.csv
file containing sequential compound IDs along with fingerprints vector strings data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a EStateAtomTypes -r SampleANFP
      -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using SYBYL atom types in vector string format and create a SampleANFP.csv
file containing sequential compound IDs along with fingerprints vector strings data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a SYBYLAtomTypes -r SampleANFP
      -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using FunctionalClass atom types in vector string format and create a SampleANFP.csv
file containing sequential compound IDs along with fingerprints vector strings data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a FunctionalClassAtomTypes
      -r SampleANFP -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using MMFF94 atom types in vector string format and create a SampleANFP.csv
file containing sequential compound IDs along with fingerprints vector strings data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a MMFF94AtomTypes -r SampleANFP
      -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using SLogP atom types in vector string format and create a SampleANFP.csv
file containing sequential compound IDs along with fingerprints vector strings data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a SLogPAtomTypes -r SampleANFP
      -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using SYBYL atom types in vector string format and create a SampleANFP.csv
file containing sequential compound IDs along with fingerprints vector strings data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a SYBYLAtomTypes -r SampleANFP
      -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using TPSA atom types in vector string format and create a SampleANFP.csv
file containing sequential compound IDs along with fingerprints vector strings data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a TPSAAtomTypes -r SampleANFP
      -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using UFF atom types in vector string format and create a SampleANFP.csv
file containing sequential compound IDs along with fingerprints vector strings data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a UFFAtomTypes -r SampleANFP
      -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using atomic invariants atom types in vector string format and create SampleANFP.sdf,
SampleANFP.fpf and SampleANFP.csv files containing sequential compound IDs in CSV file along
with fingerprints vector strings data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl --output all -r SampleANFP
      -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 1 to
3 using atomic invariants atom types in vector string format and create a SampleANFP.csv
file containing sequential compound IDs along with fingerprints vector strings data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a AtomicInvariantsAtomTypes
      --MinNeighborhoodRadius 1 --MaxNeighborhoodRadius 3 -r SampleANFP
      -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using only AS,X atomic invariants atom types in vector string format and create a SampleANFP.csv
file containing sequential compound IDs along with fingerprints vector strings data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a AtomicInvariantsAtomTypes
      --AtomicInvariantsToUse &quot;AS,X&quot; --MinNeighborhoodRadius 0
      --MaxNeighborhoodRadius 3 -r SampleANFP -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using atomic invariants atom types in vector string format and create a SampleANFP.csv
file containing compound ID from molecule name line along with fingerprints vector strings data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a AtomicInvariantsAtomTypes
      --DataFieldsMode CompoundID --CompoundIDMode MolName
      -r SampleANFP -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using atomic invariants atom types in vector string format and create a SampleANFP.csv
file containing compound IDs using specified data field along with fingerprints vector strings
data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a AtomicInvariantsAtomTypes
      --DataFieldsMode CompoundID --CompoundIDMode DataField --CompoundID
      Mol_ID -r SampleANFP -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using atomic invariants atom types in vector string format and create a SampleANFP.csv
file containing compound ID using combination of molecule name line and an explicit compound
prefix along with fingerprints vector strings data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a AtomicInvariantsAtomTypes
      --DataFieldsMode CompoundID --CompoundIDMode MolnameOrLabelPrefix
      --CompoundID Cmpd --CompoundIDLabel MolID -r SampleANFP -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using atomic invariants atom types in vector string format and create a SampleANFP.csv
file containing specific data fields columns along with fingerprints vector strings
data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a AtomicInvariantsAtomTypes
      --DataFieldsMode Specify --DataFields Mol_ID -r SampleANFP
      -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using atomic invariants atom types in vector string format and create a SampleANFP.csv
file containing common data fields columns along with fingerprints vector strings
data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a AtomicInvariantsAtomTypes
      --DataFieldsMode Common -r SampleANFP -o Sample.sdf</div>
<p>To generate atom neighborhoods fingerprints corresponding to atom neighborhood radii from 0 to
2 using atomic invariants atom types in vector string format and create SampleANFP.sdf,
 SampleANFP.fpf and SampleANFP.csv files containing all data fields columns in CSV file along with
fingerprints data, type:</p>
<div class="ExampleBox">
    % AtomNeighborhoodsFingerprints.pl -a AtomicInvariantsAtomTypes
      --DataFieldsMode All  --output all -r SampleANFP
      -o Sample.sdf</div>
<p>
</p>
<h2>AUTHOR</h2>
<p><a href="mailto:msud@san.rr.com">Manish Sud</a></p>
<p>
</p>
<h2>SEE ALSO</h2>
<p><a href="./InfoFingerprintsFiles.html">InfoFingerprintsFiles.pl</a>,&nbsp<a href="./SimilarityMatricesFingerprints.html">SimilarityMatricesFingerprints.pl</a>,&nbsp<a href="./SimilaritySearchingFingerprints.html">SimilaritySearchingFingerprints.pl</a>,&nbsp
<a href="./ExtendedConnectivityFingerprints.html">ExtendedConnectivityFingerprints.pl</a>,&nbsp<a href="./MACCSKeysFingerprints.html">MACCSKeysFingerprints.pl</a>,&nbsp<a href="./PathLengthFingerprints.html">PathLengthFingerprints.pl</a>,&nbsp
<a href="./TopologicalAtomPairsFingerprints.html">TopologicalAtomPairsFingerprints.pl</a>,&nbsp<a href="./TopologicalAtomTorsionsFingerprints.html">TopologicalAtomTorsionsFingerprints.pl</a>,&nbsp
<a href="./TopologicalPharmacophoreAtomPairsFingerprints.html">TopologicalPharmacophoreAtomPairsFingerprints.pl</a>,&nbsp<a href="./TopologicalPharmacophoreAtomTripletsFingerprints.html">TopologicalPharmacophoreAtomTripletsFingerprints.pl</a>
</p>
<p>
</p>
<h2>COPYRIGHT</h2>
<p>Copyright (C) 2015 Manish Sud. All rights reserved.</p>
<p>This file is part of MayaChemTools.</p>
<p>MayaChemTools is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at your option)
any later version.</p>
<p>&nbsp</p><p>&nbsp</p><div class="DocNav">
<table width="100%" border=0 cellpadding=0 cellspacing=2>
<tr align="left" valign="top"><td width="33%" align="left"><a href="./AnalyzeTextFilesData.html" title="AnalyzeTextFilesData.html">Previous</a>&nbsp;&nbsp;<a href="./index.html" title="Table of Contents">TOC</a>&nbsp;&nbsp;<a href="./AtomTypesFingerprints.html" title="AtomTypesFingerprints.html">Next</a></td><td width="34%" align="middle"><strong>March 29, 2015</strong></td><td width="33%" align="right"><strong>AtomNeighborhoodsFingerprints.pl</strong></td></tr>
</table>
</div>
<br />
<center>
<img src="../../images/h2o2.png">
</center>
</body>
</html>