|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openscience.cdk.qsar.descriptors.molecular.ALOGPDescriptor
@TestClass(value="org.openscience.cdk.qsar.descriptors.molecular.ALOGPDescriptorTest") public class ALOGPDescriptor
This class calculates ALOGP (Ghose-Crippen LogKow) and the Ghose-Crippen molar refractivity [Ghose, A.K. and Crippen, G.M. , Atomic physicochemical parameters for three-dimensional structure-directed quantitative structure-activity relationships. I. Partition coefficients as a measure of hydrophobicity, Journal of Computational Chemistry, 1986, 7:565-577, Ghose, A.K. and Crippen, G.M. , Atomic physicochemical parameters for three-dimensional-structure-directed quantitative structure-activity relationships. 2. Modeling dispersive and hydrophobic interactions, Journal of Chemical Information and Computer Science, 1987, 27:21-35]. Note The code assumes that aromaticity has been detected before evaluating this descriptor. The code also expects that the molecule will have hydrogens explicitly set. For SD files, this is usually not a problem since hydrogens are explicit. But for the case of molecules obtained from SMILES, hydrogens must be made explicit.
TODO: what should sub return if have missing fragment? Just report sum for other fragments? Or report as -9999 and then do not use descriptor if have this value for any chemicals in cluster?
This descriptor uses these parameters:
| Name | Default | Description |
| no parameters |
CDKHydrogenAdder,
CDKHueckelAromaticityDetector| Field Summary | |
|---|---|
int[] |
alogpfrag
|
| Constructor Summary | |
|---|---|
ALOGPDescriptor()
|
|
| Method Summary | |
|---|---|
DescriptorValue |
calculate(IAtomContainer atomContainer)
The AlogP descriptor. |
String[] |
getDescriptorNames()
Returns an array of names for each descriptor value calculated. |
IDescriptorResult |
getDescriptorResultType()
Returns the specific type of the DescriptorResult object. |
String[] |
getParameterNames()
Returns the names of the parameters for this descriptor. |
Object[] |
getParameters()
Returns the current parameter values. |
Object |
getParameterType(String name)
Returns a class matching that of the parameter with the given name. |
DescriptorSpecification |
getSpecification()
Returns a Map which specifies which descriptor
is implemented by this class. |
void |
setParameters(Object[] params)
Sets the parameters for this descriptor. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int[] alogpfrag
| Constructor Detail |
|---|
public ALOGPDescriptor()
throws CDKException
CDKException| Method Detail |
|---|
@TestMethod(value="testCalculate_IAtomContainer,testChloroButane") public DescriptorValue calculate(IAtomContainer atomContainer)
calculate in interface IMolecularDescriptoratomContainer - the molecule to calculate on
@TestMethod(value="testGetDescriptorResultType") public IDescriptorResult getDescriptorResultType()
DescriptorValue object. Note that the same result
can be achieved by interrogating the DescriptorValue object; this method
allows you to do the same thing, without actually calculating the descriptor.
getDescriptorResultType in interface IMolecularDescriptorIDescriptorResult interface indicating
the actual type of values returned by the descriptor in the DescriptorValue object@TestMethod(value="testGetSpecification") public DescriptorSpecification getSpecification()
IDescriptorMap which specifies which descriptor
is implemented by this class.
These fields are used in the map:
getSpecification in interface IDescriptor@TestMethod(value="testGetParameterNames") public String[] getParameterNames()
IDescriptor
getParameterNames in interface IDescriptor@TestMethod(value="testGetParameterType_String") public Object getParameterType(String name)
IDescriptor
getParameterType in interface IDescriptorname - The name of the parameter whose type is requested
@TestMethod(value="testSetParameters_arrayObject")
public void setParameters(Object[] params)
throws CDKException
IDescriptor
setParameters in interface IDescriptorparams - An array of Object containing the parameters for this descriptor
CDKException - if invalid number of type of parameters are passed to itIDescriptor.getParameters()@TestMethod(value="testGetParameters") public Object[] getParameters()
IDescriptor
getParameters in interface IDescriptorIDescriptor.setParameters(java.lang.Object[])@TestMethod(value="testNamesConsistency") public String[] getDescriptorNames()
IDescriptorALOGPDescriptor
the return array will have a single element
getDescriptorNames in interface IDescriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||