RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
TautomerCatalogUtils.h
Go to the documentation of this file.
1//
2// Copyright (C) 2018-2021 Susan H. Leung and other RDKit contributors
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#ifndef RD_TAUTOMER_CATALOG_UTILS_H
12#define RD_TAUTOMER_CATALOG_UTILS_H
13
14#include <GraphMol/RDKitBase.h>
18#include <GraphMol/Bond.h>
19#include <utility>
20
21namespace RDKit {
22class ROMol;
23
24namespace MolStandardize {
26
27// typedef enum {
28// SINGLE,
29// DOUBLE,
30// TRIPLE,
31// AROMATIC,
32//} BondType;
33
34// typedef std::vector<ROMol*, std::string, std::string> tautomerTransform;
35
37 std::string bond_str);
39 std::string charge_str);
40
41RDKIT_MOLSTANDARDIZE_EXPORT std::vector<TautomerTransform> readTautomers(
42 std::string fileName);
43RDKIT_MOLSTANDARDIZE_EXPORT std::vector<TautomerTransform> readTautomers(
44 std::istream &inStream, int nToRead = -1);
45RDKIT_MOLSTANDARDIZE_EXPORT std::vector<TautomerTransform> readTautomers(
46 const std::vector<
47 std::tuple<std::string, std::string, std::string, std::string>> &data);
48} // namespace MolStandardize
49} // namespace RDKit
50
51#endif
pulls in the core RDKit functionality
#define RDKIT_MOLSTANDARDIZE_EXPORT
Definition export.h:369
RDKIT_MOLSTANDARDIZE_EXPORT std::vector< TautomerTransform > readTautomers(std::string fileName)
RDKIT_MOLSTANDARDIZE_EXPORT std::vector< Bond::BondType > stringToBondType(std::string bond_str)
RDKIT_MOLSTANDARDIZE_EXPORT std::vector< int > stringToCharge(std::string charge_str)
Std stuff.