Updated docs

This commit is contained in:
Brian Kelley
2015-09-10 11:34:41 -04:00
parent 2d9a1c6791
commit 8a66860d74
4 changed files with 199 additions and 0 deletions

View File

@@ -0,0 +1,76 @@
/*
*
* Copyright (c) 2015, Novartis Institutes for BioMedical Research Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of Novartis Institutes for BioMedical Research Inc.
* nor the names of its contributors may be used to endorse or promote
* products derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
%typemap(javaimports) RDKit::FilterCatalogParams "
/**
<p>
Paramter Class for initializing a FilterCatalog with the specified set of FilterCatalogs. Current
catalogs include:
<pre><code>
FilterCatalogParams.FilterCatalogs.ALL
FilterCatalogParams.FilterCatalogs.BRENK
FilterCatalogParams.FilterCatalogs.PAINS_A
FilterCatalogParams.FilterCatalogs.PAINS_B
FilterCatalogParams.FilterCatalogs.PAINS_C
FilterCatalogParams.FilterCatalogs.PAINS
FilterCatalogParams.FilterCatalogs.ZINC
</pre></code>
Details:
<h4>Brenk</h4>
<ul>
<li>Reference: <a href=\"http://www.ncbi.nlm.nih.gov/pubmed/18064617\">Brenk</a> Lessons Learnt from Assembling Screening Libraries for Drug Discovery for Neglected Diseases</li>
<li>Scope: unwanted functionality due to potential tox reasons or unfavourable pharmacokinetic properties</li>
</ul>
<h4>NIH</h4>
<ul>
<li>Reference: <a href=\"http://pubs.rsc.org/en/Content/ArticleLanding/2015/OB/c4ob02287d#!divAbstract\">NIH</a> A Unified Lead-oriented Synthesis of over Fifty Molecular Scaffolds. </li>
<li>Reference: <a href=\"http://pubs.acs.org/doi/abs/10.1021/jm901070c\">NIH</a> Quantitative Analyses of Aggregation, Autofluorescence, and Reactivity Artifacts in a Screen for Inhibitors of a Thiol Protease</li>
<li>Scope: uannotate compounds with problematic functional groups </li>
</ul>
<h4>PAINS</h4>
<ul>
<li>Reference: <a href=\"http://pubs.rsc.org/en/Content/ArticleLanding/2015/OB/c4ob02287d#!divAbstract\">NIH</a> New Substructure Filters for Removal of Pan Assay Interference Compounds (PAINS) from Screening Libraries and for Their Exclusion in Bioassays </li>
<li>Scope: PAINS filters </li>
</ul>
<h4>ZINC</h4>
<ul>
<li>Reference: <a href=\"http://blaster.docking.org/filtering/\">ZINC</a></li>
<li>Scope: drug-likeness and unwanted functional group filters </li>
</ul>
**/"

View File

@@ -0,0 +1,63 @@
/*
*
* Copyright (c) 2015, Novartis Institutes for BioMedical Research Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of Novartis Institutes for BioMedical Research Inc.
* nor the names of its contributors may be used to endorse or promote
* products derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
%typemap(javaimports) RDKit::FilterCatalog "
/** FilterCatalog Class used to filter out undesireable molecules
<br>
Basic usage:
<pre><code>
FilterCatalog catalog = new FilterCatalog(
FilterCatalogParams.FilterCatalogs.PAINS_A);
// go through a mol supplier
while (!molSupplier.atEnd()) {
ROMol m = suppl.next();
FilterCatalogEntry_Vect matches = catalog.getMatches(mol);
if( matches.size() ) {
// reject -- get descriptions of rejection
for (int entryIdx = 0; entryIdx < matches.size(); ++entryIdx) {
entry = matches.get(entryIdx);
String description = entry.getDescription(); // why
// optional properties
String reference = entry.getProp(\"Reference\");
String scope = entry.getProp(\"Scope\");
}
}
else {
// accept
}
}
</code></pre>
**/
"

View File

@@ -0,0 +1,57 @@
/*
*
* Copyright (c) 2015, Novartis Institutes for BioMedical Research Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of Novartis Institutes for BioMedical Research Inc.
* nor the names of its contributors may be used to endorse or promote
* products derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
%typemap(javaimports) RDKit::FilterCatalogParams::FilterCatalog "
/**
<p>
Initialize a FilterCatalog with the specified set of FilterCatalogs. Current
catalogs include:
<pre><code>
FilterCatalogParams.FilterCatalogs.ALL
FilterCatalogParams.FilterCatalogs.BRENK
FilterCatalogParams.FilterCatalogs.PAINS_A
FilterCatalogParams.FilterCatalogs.PAINS_B
FilterCatalogParams.FilterCatalogs.PAINS_C
FilterCatalogParams.FilterCatalogs.PAINS
FilterCatalogParams.FilterCatalogs.ZINC
</pre></code>
Details:
<h4>Brenk</h4>
<ul>
<li><pre># Reference: Brenk R et al. Lessons Learnt from Assembling Screening Libraries for Drug Discovery for Neglected Diseases. ChemMedChem 3 (2008) 435-444. doi:10.1002/cmdc.200700139.</pre></li>
<li><Scope: unwanted functionality due to potential tox reasons or unfavourable pharmacokinetic properties</li>
</ul>
**/"

View File

@@ -141,6 +141,9 @@ typedef unsigned long long int uintmax_t;
%include "../TDTWriter_doc.i"
%include "../Transform2D_doc.i"
%include "../Transform3D_doc.i"
%include "../FilterCatalog_doc.i"
%include "../FilterCatalogParams_doc.i"
%include "../FilterCatalogs_doc.i"
// DO THIS BEFORE ANY OF THE OTHER INCLUDES
%include "../RDKitExceptions.i"