Molecule Class |
Namespace: Scilligence.MolEngine
public class Molecule : MolBase
The Molecule type exposes the following members.
| Name | Description | |
|---|---|---|
| Molecule |
Construct a blank Molecule object.
| |
| Molecule(ABSet) |
Construct a Molecule object and initialize it with atoms and bonds from src.
|
| Name | Description | |
|---|---|---|
| Atoms |
The collection contains all atoms.
(Overrides MolBaseAtoms.) | |
| Bonds |
The collection contains all bonds.
(Overrides MolBaseBonds.) | |
| CanonicalCode |
Canonical Code of the structure
(Inherited from MolBase.) | |
| Chiralities | ||
| Composition |
Returns element composition
| |
| ExactMass |
Returns the molecular exact mass
| |
| ExSMILES |
Extended SMILES string
(Inherited from MolBase.) | |
| Fingerprints |
The fingerprints of the structure. (documents)
(Inherited from MolBase.) | |
| FingerprintsAsString |
The string version of the fingerprints of the structure. (link)
(Inherited from MolBase.) | |
| Formula |
Formula in plain-text
(Inherited from MolBase.) | |
| FormulaHtml |
Formula in HTML
(Inherited from MolBase.) | |
| FormulaSearchable |
Normalized searchable formula
(Inherited from MolBase.) | |
| HashCode |
Compute the topological hash code of molecule. Each identical chemical structure has its own hash code.
| |
| HashCodeRelax |
Compute the topological hash code of molecule, but ignore stereochemistry.
| |
| InChI |
Returns the InChI (The IUPAC International Chemical Identifier).
InChI extension has to be installed to call this function. If not installed, it always return null.
| |
| InChIKey |
InChIKey is hashed InChI, which is more efficient to be used as structure key.
| |
| IsEmpty |
Test if the Molecule is empty.
(Overrides MolBaseIsEmpty.) | |
| IUPACName | ||
| IUPACNameHtml | ||
| MolWeight |
Returns the molecular weight
| |
| MolWeightKnown | ||
| OrderedAtoms |
Get ordered atom list.
| |
| PSA |
Returns the molecule t-PSA (Topological Polar Surface Area), which is invented by Peter Ertl etc.
| |
| Set |
The collection contains all atoms and bonds.
| |
| SMILES |
SMILES string
(Inherited from MolBase.) | |
| SSSR |
Returns Smallest Set of Smallest Rings (SSSR) from the molecule topological graph.
| |
| StructureKeys |
A higher level of structure characterization (link)
(Inherited from MolBase.) | |
| StructureKeysAsString |
The string version of StructureKeys
(Inherited from MolBase.) |
| Name | Description | |
|---|---|---|
| AddMixtureBracket | ||
| Aromatize | (Inherited from MolBase.) | |
| BondedAtoms |
Find all connected bonds of a given atom
| |
| BreakMetalBonds |
Break metal bonds
| |
| CheckHELMMonomer | ||
| Cleanup |
Change atoms' position to make the structure looks nicer.
If no coordinates, new 2D coordinates will be assigned.
If it is a reaction, it also re-layout the reaction components.
(Inherited from MolBase.) | |
| Cleanup(SetAtom) |
Change atoms's position to make the structure looks nicers
(Inherited from MolBase.) | |
| CleanupIfNoCoordinates | (Inherited from MolBase.) | |
| Clear |
Clear all contained objects, including atoms and bonds.
| |
| ClearColor |
Clear Atom/Bond colors
| |
| ClearRxnMapping | (Inherited from MolBase.) | |
| CLogP | ||
| Clone |
Clone the molecule.
| |
| Clone2 | ||
| ComputeHashCode | ||
| ConnectFragments | ||
| ConnectMulticenter | ||
| ConvertAttachPoints2Rs | ||
| ConvertRs2AttachPoints | ||
| ConvertTo3D |
Generate 3D coordinates.
ForceField extension has to be installed.
| |
| CopyTo(Molecule) |
Copy all objects, including atoms and bonds, to another molecule.
| |
| CopyTo(Molecule, DictionaryBaseObj, BaseObj) | ||
| CopyToImp | ||
| CorrectMolChiral | ||
| CorrectNitroGroup | ||
| CountAtoms(Int32) |
Count atoms
| |
| CountAtoms(String) |
Count atoms
| |
| CountRings |
Count atoms
| |
| Dekekulize |
Convert rings to aromatic
(Inherited from MolBase.) | |
| DetectChirality | ||
| Dump |
Dump all contents to console for debugging purpose
| |
| ElementalAnalysis | ||
| Equals | (Inherited from Object.) | |
| EqualsTo |
Test if this molecule is topologically identical to the query molecule
| |
| ExpandAllBios | (Inherited from MolBase.) | |
| ExpandSuperAtoms(Boolean) | ||
| ExpandSuperAtoms(DictionaryAtom, ABSet) | ||
| ExpandSuperAtoms(DictionaryAtom, ABSet, Boolean) | ||
| ExpandSuperAtoms(DictionaryAtom, ABSet, DictionaryBaseObj, BaseObj) | ||
| ExpandSuperAtoms(DictionaryAtom, ABSet, DictionaryBaseObj, BaseObj, Boolean) | ||
| ExpandSuperAtomsAndCleanup | ||
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FindBond | (Inherited from MolBase.) | |
| FindBonds | (Inherited from MolBase.) | |
| FindFirstBond | (Inherited from MolBase.) | |
| FlattenMol | ||
| FormalCharge |
Compute the neat formal charges of the molecule, which actually add all atom formal charges together.
| |
| Formula2ExactMass | ||
| Formula2MolWeight | ||
| GetAllChiralCenters | ||
| GetAllMarkedChiralCenters | ||
| GetAllUnmarkedChiralCenters | ||
| GetAtomByAtomMap | ||
| GetAtomByAtomType | ||
| GetAtomCIP |
Returns Atom stereochemistry CIP
| |
| GetBound |
Get the 3D bounds of this molecule.
(Overrides MolBaseGetBound.) | |
| GetCanonicalCode |
Create the canonical code
(Inherited from MolBase.) | |
| GetExtinctionCoefficient | ||
| GetFingerprints | (Overrides MolBaseGetFingerprints.) | |
| GetFormula | ||
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetHelm | ||
| GetInChI | (Inherited from MolBase.) | |
| GetIsotopicAtoms | ||
| GetJSDraw | (Inherited from MolBase.) | |
| GetMFwithSalt | ||
| GetMolfile | (Inherited from MolBase.) | |
| GetMolWeight | ||
| GetMWwithSalt | ||
| GetRadar(Int32, Single) |
Draw a radar chart to visualize druglikeness of the molecular using MW, CLogP, NoHA, NoHD, NoRB, tPSA
| |
| GetRadar(Int32, Int32, Single) | ||
| GetRadar(Int32, Int32, Single, MolDrawingFormat) |
Return the image bytes of the radar chart
| |
| GetRGroups |
Find all R groups.
| |
| GetSequence | ||
| GetSequenceComments | ||
| GetSequences | ||
| GetSequences(Boolean) | ||
| GetSMILES | (Inherited from MolBase.) | |
| GetStructureKeys | (Overrides MolBaseGetStructureKeys.) | |
| GetTexts | (Overrides MolBaseGetTexts.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetUnknownBonds | ||
| GetVariableAtoms | ||
| GuessBond | ||
| GuessSuperAtoms | ||
| HasAromaticBonds | ||
| HasBio | ||
| HasCoordinates | (Overrides MolBaseHasCoordinates.) | |
| HasEnhancedStereochemistry | ||
| HasEnhancedStereochemistry(String, Boolean) | ||
| HasHelmNodes | ||
| HasQueryAtoms | ||
| HasRGroups |
Test if the molecule contains any R group. R group defines a structure variable.
| |
| HasStereoCenter | ||
| HasSuperAtom | ||
| HasUnmarkedChiralCenter | ||
| HasUnmarkedChiralCenter(Boolean) | ||
| HasZCoordinates |
Test if the atoms have Z coordaintes
(Overrides MolBaseHasZCoordinates.) | |
| Highlight |
Highlight scaffold with a given color
| |
| IsGenericStructure | ||
| IsMacroMolecule | ||
| Kekulize |
Convert aromatic rings into kekule form
(Inherited from MolBase.) | |
| LayoutScaffold | ||
| MarkLockedAtomExcluded | ||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Merge(Molecule) |
Merge from all contents of a molecule
| |
| Merge(DictionaryAtom, Atom, ABSet) | ||
| Merge(Atom, Atom, ABSet) | ||
| mZ | ||
| NeedV3000 | (Overrides MolBaseNeedV3000.) | |
| Neutralize |
Neutrialize atom charges
| |
| NeutralizeIonBonds |
Neutralize ionic bonds
| |
| NeutralizeIonBonds(SetAtom) | ||
| NormalizeFormula |
Normalize the molecular formula
| |
| NormalizeFormulaWithCharges | ||
| NumberOfHydrogenAcceptors |
Compute the total number of hydrogen bond acceptors.
| |
| NumberOfHydrogenDonors |
Compute the total number of hydrogen bond donors.
| |
| NumberOfRotableBonds | ||
| NumberOfRotatableBonds |
Compute the total number of rotable bonds.
Rotatable bond is defined as any single non-ring bond, bounded to nonterminal heavy (i.e., non-hydrogen) atom
| |
| ParseChirality | ||
| ParseMoleculeType | ||
| Read(Byte) |
Try to open a binary data, which could be a binary file, for a compress file
| |
| Read(Stream) |
Read from a stream, which can be any chemical file format
| |
| Read(String) |
Try to parse a generic chemical string, which could be SMILES, InChI, MolFile or other chemical string
| |
| Read(Byte, String) |
Try to open a known binary data
| |
| Read(Byte, String) |
Try to open a binary data, which could be a binary file, for a compress file
| |
| Read(Stream, String) |
Read from a stream, and the file format is known
| |
| Read(Stream, String) |
Read from a stream, which can be any chemical file format
| |
| Read(String, String) |
Parse a known chemical string
| |
| Read(String, String) |
Try to parse a chemical string
| |
| ReadFile |
Try to open a file
| |
| ReadHelm(String) | ||
| ReadHelm(String, String) | ||
| ReadInChI |
Parse a InChI string
| |
| ReadName(String) |
Parse a chemical name string
| |
| ReadName(String, Boolean) | ||
| ReadSMILES |
Parse a SMILES string
| |
| RelayoutMols | ||
| RemoveAtomIsotopes | ||
| RemoveAtomMaps | (Overrides MolBaseRemoveAtomMaps.) | |
| RemoveDummyBonds | ||
| RemoveHydrogens | (Inherited from MolBase.) | |
| RemoveHydrogens(Boolean) |
Remove all explicit hydrogen atoms
(Overrides MolBaseRemoveHydrogens(Boolean).) | |
| ResetAtomID |
Reset atom ID, starting from 1
| |
| ResetAtomID(Int32) |
Reset atom ID, starting from a given number
| |
| SaltStripping |
Strip salts and solvates
| |
| SaveImage(String) |
Generate an image for the structure
(Inherited from MolBase.) | |
| SaveImage(Stream, String, Double) | (Inherited from MolBase.) | |
| SaveImage(Stream, String, Boolean, Boolean) |
Generate an image for the structure
(Inherited from MolBase.) | |
| SaveImage(String, Int32, Int32, Int32) | (Inherited from MolBase.) | |
| SaveImage(String, Int32, Int32, Int32, Boolean) | (Inherited from MolBase.) | |
| SaveImage(Stream, String, Int32, Int32, Int32, Int32, Int32) |
Generate structure image
(Inherited from MolBase.) | |
| SaveImage(Stream, String, Int32, Int32, Int32, Int32, Int32, Single) | (Inherited from MolBase.) | |
| SaveImage(Stream, String, Int32, Int32, Int32, Int32, Int32, Boolean, Boolean) |
Generate structure image
(Inherited from MolBase.) | |
| SaveImage(Stream, String, Int32, Int32, Int32, Int32, Int32, Single, Boolean, Boolean) | (Inherited from MolBase.) | |
| SaveImage(Stream, String, Double, Int32, Int32, Int32, Int32, Int32, Single, Boolean, Boolean) | (Inherited from MolBase.) | |
| SetColor | ||
| SetModified |
Mark this molecule modified, so cached topological data, such as SSSR, will be invalidated.
| |
| SplitAsMol |
Split fragments to different Molecule
| |
| SplitAsSet |
Split fragments to different atom-bond set
| |
| StripSalts | ||
| SubstructureOf |
Test if the molecule is a substructure of the input query
| |
| SuperstructureOf |
Test if the molecule is a super structure of the input query
| |
| TanimotoSimilarity(Byte, Byte) |
Compute the Tanimoto Coefficient of two fingerprints.
| |
| TanimotoSimilarity(Molecule, Molecule) | ||
| ToHtmlImgData | (Inherited from MolBase.) | |
| ToHtmlImgTag | (Inherited from MolBase.) | |
| ToImage |
Generate an image of the structure
(Inherited from MolBase.) | |
| ToImage(Int32, Int32, Int32) |
Generate an image of the structure
(Inherited from MolBase.) | |
| ToImage(Int32, Int32, Int32, Boolean) |
Generate an image of the structure
(Inherited from MolBase.) | |
| ToMetafile |
Generate a vector image, which is resizable
(Inherited from MolBase.) | |
| ToMetafile(Boolean) |
Generate a vector image, which is resizable
(Inherited from MolBase.) | |
| ToMetafile(Single, Boolean) | (Inherited from MolBase.) | |
| ToString | (Inherited from MolBase.) | |
| ToString(String) |
Serialize the object to a string
(Inherited from MolBase.) | |
| Translate |
Translate the whole structure
(Inherited from MolBase.) | |
| Write(String) |
Write object into a file
(Inherited from MolBase.) | |
| Write(Stream, String) |
Store the object into a stream
(Inherited from MolBase.) | |
| Write(Stream, String, Boolean) |
Store the object into a stream
(Inherited from MolBase.) | |
| XLogP |
Compute XLogP of the molcule.
ForceField extension has to be installed. It returns NaN if not installed.
|
| Name | Description | |
|---|---|---|
| Attributes | (Inherited from MolBase.) | |
| cano | (Inherited from MolBase.) | |
| chiral | ||
| MolName | (Inherited from MolBase.) | |
| NotSearchable | (Inherited from MolBase.) | |
| set | ||
| Source | (Inherited from MolBase.) | |
| Tag | (Inherited from MolBase.) |
Molecule reactant = Molecule.ReadSMILES("c1ccccc1Cl");