RDKit
Open-source cheminformatics and machine learning.
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
z
Typedefs
a
b
c
d
f
g
i
l
m
o
p
q
r
s
t
u
v
Enumerations
a
b
c
d
e
f
h
i
l
m
n
o
r
s
t
w
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
w
x
y
z
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
i
k
m
o
p
q
r
s
t
v
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Symbols
Files
File List
File Members
All
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
v
z
Functions
a
b
c
d
f
i
k
m
n
o
r
s
t
u
Variables
b
c
f
i
l
m
n
o
p
r
s
t
v
z
Typedefs
Macros
a
b
c
d
f
i
m
n
p
r
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
MolProcessing.h
Go to the documentation of this file.
1
//
2
// Copyright (C) 2024 Greg Landrum 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_MOLPROCESSING_H
12
#define RD_MOLPROCESSING_H
13
14
#include <vector>
15
#include <boost/dynamic_bitset.hpp>
16
#include <
DataStructs/BitVects.h
>
17
#include <
GraphMol/RDKitBase.h
>
18
#include <
GraphMol/FileParsers/GeneralFileReader.h
>
19
#include <
GraphMol/Fingerprints/FingerprintGenerator.h
>
20
#include <
GraphMol/Fingerprints/MorganGenerator.h
>
21
22
#ifdef RDK_BUILD_THREADSAFE_SSS
23
#include <thread>
24
#include <mutex>
25
#endif
26
27
namespace
RDKit
{
28
namespace
MolProcessing {
29
namespace
details {
30
RDKIT_MOLPROCESSING_EXPORT
extern
GeneralMolSupplier::SupplierOptions
31
defaultSupplierOptions
;
32
}
29
namespace
details {
…
}
33
template
<
typename
OutputType = std::u
int
32_t>
34
std::vector<std::unique_ptr<ExplicitBitVect>>
getFingerprintsForMolsInFile
(
35
const
std::string &
fileName
,
36
const
GeneralMolSupplier::SupplierOptions
&options =
37
details::defaultSupplierOptions
,
38
FingerprintGenerator<OutputType>
*
generator
=
nullptr
);
39
40
}
// namespace MolProcessing
28
namespace
MolProcessing {
…
}
41
}
// namespace RDKit
42
#endif
BitVects.h
Pulls in all the BitVect classes.
FingerprintGenerator.h
GeneralFileReader.h
MorganGenerator.h
RDKitBase.h
pulls in the core RDKit functionality
RDKit::FingerprintGenerator
class that generates same fingerprint style for different output formats
Definition
FingerprintGenerator.h:301
export.h
RDKIT_MOLPROCESSING_EXPORT
#define RDKIT_MOLPROCESSING_EXPORT
Definition
export.h:345
RDKit::MolProcessing::details::defaultSupplierOptions
RDKIT_MOLPROCESSING_EXPORT GeneralMolSupplier::SupplierOptions defaultSupplierOptions
RDKit::MolProcessing::getFingerprintsForMolsInFile
std::vector< std::unique_ptr< ExplicitBitVect > > getFingerprintsForMolsInFile(const std::string &fileName, const GeneralMolSupplier::SupplierOptions &options=details::defaultSupplierOptions, FingerprintGenerator< OutputType > *generator=nullptr)
RDKit
Std stuff.
Definition
Abbreviations.h:19
RDKit::rdvalue_is
bool rdvalue_is(const RDValue_cast_t)
Definition
RDValue-doublemagic.h:372
RDKit::GeneralMolSupplier::SupplierOptions
Definition
GeneralFileReader.h:28
GraphMol
MolProcessing
MolProcessing.h
Generated on Thu Apr 10 2025 08:37:15 for RDKit by
1.9.8