-
Notifications
You must be signed in to change notification settings - Fork 0
/
rdmol.h
41 lines (26 loc) · 1.16 KB
/
rdmol.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include <string>
#include "GraphMol/GraphMol.h"
#include "GraphMol/SmilesParse/SmilesParse.h"
#include "GraphMol/SmilesParse/SmilesWrite.h"
#include "GraphMol/Descriptors/MolDescriptors.h"
#include "GraphMol/Descriptors/MolSurf.h"
#include "GraphMol/ChemTransforms/ChemTransforms.h"
namespace RDKit
{
std::shared_ptr<ROMol> mol_from_smiles(const std::string &smiles);
uint num_atoms(std::shared_ptr<ROMol> mol);
std::unique_ptr<std::string> to_smiles(std::shared_ptr<ROMol> mol);
std::unique_ptr<std::string> to_svg(std::shared_ptr<ROMol> mol);
// Functions from module Descriptors
double avg_mw(std::shared_ptr<ROMol> mol);
uint num_hbd(std::shared_ptr<ROMol> mol);
uint num_hba(std::shared_ptr<ROMol> mol);
uint num_hbd_lip(std::shared_ptr<ROMol> mol);
uint num_hba_lip(std::shared_ptr<ROMol> mol);
uint num_rotb(std::shared_ptr<ROMol> mol);
uint num_het_atoms(std::shared_ptr<ROMol> mol);
double fraction_csp3(std::shared_ptr<ROMol> mol);
double clogp(std::shared_ptr<ROMol> mol);
double tpsa(std::shared_ptr<ROMol> mol);
std::shared_ptr<ROMol> murcko_mol(std::shared_ptr<ROMol> mol);
} // namespace RDKit