RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
Pattern.h
Go to the documentation of this file.
1//
2// Copyright (C) 2016 Novartis Institutes for BioMedical Research
3//
4// @@ All Rights Reserved @@
5// This file is part of the RDKit.
6// The contents are covered by the terms of the BSD license
7// which is included in the file license.txt, found at the root
8// of the RDKit source tree.
9//
10#include <RDGeneral/export.h>
11#pragma once
12#include "StructChecker.h"
13#include "Utilites.h"
14
15namespace RDKit {
16namespace StructureCheck {
17
21
24 const std::string pattern);
26 const Ligand &l,
27 bool use_charge = false);
31 const AugmentedAtom &aa,
32 const std::vector<Neighbourhood> &nbp,
33 bool verbose);
35 const ROMol &mol, unsigned i, const AugmentedAtom &aa,
36 const std::vector<unsigned> &atom_ring_status,
37 const std::vector<Neighbourhood> &nbp, bool verbose);
38
40 RWMol &mol,
41 const std::vector<std::pair<AugmentedAtom, AugmentedAtom>> &aapair,
42 bool verbose);
44 const ROMol &mol, const std::vector<AugmentedAtom> &good_atoms,
45 bool verbose);
46} // namespace StructureCheck
47} // namespace RDKit
Contains the public API of the StructChecker.
The class for representing atoms.
Definition Atom.h:75
class for representing a bond
Definition Bond.h:47
BondType
the type of Bond
Definition Bond.h:56
RWMol is a molecule class that is intended to be edited.
Definition RWMol.h:32
#define RDKIT_STRUCTCHECKER_EXPORT
Definition export.h:489
static const char * symbol[119]
Definition mf.h:257
RDKIT_STRUCTCHECKER_EXPORT bool AtomSymbolMatch(const std::string symbol, const std::string pattern)
RDKIT_STRUCTCHECKER_EXPORT RDKit::Bond::BondType convertBondType(AABondType bt)
RDKIT_STRUCTCHECKER_EXPORT bool LigandMatches(const Atom &a, const Bond &b, const Ligand &l, bool use_charge=false)
RDKIT_STRUCTCHECKER_EXPORT bool TransformAugmentedAtoms(RWMol &mol, const std::vector< std::pair< AugmentedAtom, AugmentedAtom > > &aapair, bool verbose)
RDKIT_STRUCTCHECKER_EXPORT bool CheckAtoms(const ROMol &mol, const std::vector< AugmentedAtom > &good_atoms, bool verbose)
RDKIT_STRUCTCHECKER_EXPORT bool AAMatch(const ROMol &mol, unsigned i, const AugmentedAtom &aa, const std::vector< unsigned > &atom_ring_status, const std::vector< Neighbourhood > &nbp, bool verbose)
RDKIT_STRUCTCHECKER_EXPORT bool isBondTypeMatch(const RDKit::Bond &b, AABondType lbt)
RDKIT_STRUCTCHECKER_EXPORT bool RecMatch(const ROMol &mol, unsigned atomIdx, const AugmentedAtom &aa, const std::vector< Neighbourhood > &nbp, bool verbose)
RDKIT_STRUCTCHECKER_EXPORT unsigned getAtomicNumber(const std::string symbol)
Std stuff.
bool rdvalue_is(const RDValue_cast_t)