Package chemaxon.descriptors
Class ECFPFeature
java.lang.Object
chemaxon.descriptors.ECFPFeature
Class for representing the substructural features of ECFP fingerprints.
 An ECFP feature captures a circular atom neighborhood in the input molecule
 by recording a central atom and a diameter.
- Since:
- JChem 5.5
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionintGets the generated bit position for this ECFP feature.Gets the center atom of the represented substructure.intGets the diameter of the represented substructure.intGets the generated integer identifier for this ECFP feature.Gets the corresponding substructure as aMoleculeobject.
- 
Method Details- 
getCenterAtomGets the center atom of the represented substructure.- Returns:
- the center atom
 
- 
getDiameterpublic int getDiameter()Gets the diameter of the represented substructure.- Returns:
- the diameter
 
- 
getSubstructureGets the corresponding substructure as aMoleculeobject. The returned structure contains a copy of the represented circular atom neighborhood from the original input molecule. The designated center atom and its neighboring atoms and bonds are stored up to the given diameter. The "borders" of the substructure are represented by ANY atoms and ANY bonds.Note that the ECFP generation method does not recognize rings in the molecule. However, this function is intended to give back a real substructure of the input molecule, so it handles rings as they appear in the molecule. It means that the returned substructure can contain more structural information than actually captured by the ECFP feature. For example, let us consider a carbon atom of a cyclohexane. The corresponding substructural features with diameter 0, 2, 4, 6 are represented as follows (in SMARTS format): *~[#6]~*;*~[#6]C[#6]~*;*~1~[#6]CCC[#6]~1;C1CCCCC1, respectively.This function builds a new Moleculeobject each time it is called. You should store its result instead of multiple calls.- Returns:
- the represented substructural feature as a molecule
 
- 
getIdentifierpublic int getIdentifier()Gets the generated integer identifier for this ECFP feature. This is signed value, it can be either positive or negative.- Returns:
- the identifier
 
- 
getBitPositionpublic int getBitPosition()Gets the generated bit position for this ECFP feature. It is a non-negative index between0andlength - 1, wherelengthdenotes the length of the binary representation according to the current ECFP configuration.- Returns:
- the bit position
 
 
-