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 <iostream>
20#include <utility>
21
22namespace RDKit {
23class ROMol;
24
25namespace MolStandardize {
27
28// typedef enum {
29// SINGLE,
30// DOUBLE,
31// TRIPLE,
32// AROMATIC,
33//} BondType;
34
35// typedef std::vector<ROMol*, std::string, std::string> tautomerTransform;
36
38 std::string bond_str);
40 std::string charge_str);
41
42RDKIT_MOLSTANDARDIZE_EXPORT std::vector<TautomerTransform> readTautomers(
43 std::string fileName);
44RDKIT_MOLSTANDARDIZE_EXPORT std::vector<TautomerTransform> readTautomers(
45 std::istream &inStream, int nToRead = -1);
46RDKIT_MOLSTANDARDIZE_EXPORT std::vector<TautomerTransform> readTautomers(
47 const std::vector<
48 std::tuple<std::string, std::string, std::string, std::string>> &data);
49} // namespace MolStandardize
50} // namespace RDKit
51
52#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.