RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
FileParsers.h File Reference
#include <RDGeneral/export.h>
#include <RDGeneral/types.h>
#include <GraphMol/RDKitBase.h>
#include <GraphMol/FileParsers/FileWriters.h>
#include "CDXMLParser.h"
#include <string>
#include <string_view>
#include <iostream>
#include <vector>
#include <exception>
#include <boost/shared_ptr.hpp>

Go to the source code of this file.

Classes

class  RDKit::v2::FileParsers::MolFileUnhandledFeatureException
 
struct  RDKit::v2::FileParsers::MolFileParserParams
 
struct  RDKit::v2::FileParsers::TPLParserParams
 
struct  RDKit::v2::FileParsers::Mol2ParserParams
 
struct  RDKit::v2::FileParsers::PDBParserParams
 

Namespaces

namespace  RDKit
 Std stuff.
 
namespace  RDKit::v2
 
namespace  RDKit::v2::FileParsers
 
namespace  RDKit::v1
 

Enumerations

enum  RDKit::v2::FileParsers::Mol2Type { RDKit::v2::FileParsers::CORINA = 0 }
 

Functions

RDKIT_FILEPARSERS_EXPORT std::string RDKit::strip (const std::string &orig)
 
RDKIT_FILEPARSERS_EXPORT std::unique_ptr< RWMolRDKit::v2::FileParsers::MolFromMolDataStream (std::istream &inStream, unsigned int &line, const MolFileParserParams &params=MolFileParserParams())
 
RDKIT_FILEPARSERS_EXPORT std::unique_ptr< RWMolRDKit::v2::FileParsers::MolFromMolBlock (const std::string &molBlock, const MolFileParserParams &params=MolFileParserParams())
 
RDKIT_FILEPARSERS_EXPORT std::unique_ptr< RWMolRDKit::v2::FileParsers::MolFromMolFile (const std::string &fName, const MolFileParserParams &params=MolFileParserParams())
 
RWMolRDKit::v1::MolDataStreamToMol (std::istream *inStream, unsigned int &line, bool sanitize=true, bool removeHs=true, bool strictParsing=true)
 
RWMolRDKit::v1::MolDataStreamToMol (std::istream &inStream, unsigned int &line, bool sanitize=true, bool removeHs=true, bool strictParsing=true)
 
RWMolRDKit::v1::MolBlockToMol (const std::string &molBlock, bool sanitize=true, bool removeHs=true, bool strictParsing=true)
 
RWMolRDKit::v1::MolFileToMol (const std::string &fName, bool sanitize=true, bool removeHs=true, bool strictParsing=true)
 
RDKIT_FILEPARSERS_EXPORT std::unique_ptr< RWMolRDKit::v2::FileParsers::MolFromTPLDataStream (std::istream &inStream, unsigned int &line, const TPLParserParams &params=TPLParserParams())
 
RDKIT_FILEPARSERS_EXPORT std::unique_ptr< RWMolRDKit::v2::FileParsers::MolFromTPLFile (const std::string &fName, const TPLParserParams &params=TPLParserParams())
 
RWMolRDKit::v1::TPLDataStreamToMol (std::istream *inStream, unsigned int &line, bool sanitize=true, bool skipFirstConf=false)
 translate TPL data (BioCad format) into a multi-conf molecule
 
RWMolRDKit::v1::TPLFileToMol (const std::string &fName, bool sanitize=true, bool skipFirstConf=false)
 construct a multi-conf molecule from a TPL (BioCad format) file
 
RDKIT_FILEPARSERS_EXPORT std::unique_ptr< RWMolRDKit::v2::FileParsers::MolFromMol2DataStream (std::istream &inStream, const Mol2ParserParams &params=Mol2ParserParams())
 
RDKIT_FILEPARSERS_EXPORT std::unique_ptr< RWMolRDKit::v2::FileParsers::MolFromMol2Block (const std::string &molBlock, const Mol2ParserParams &params=Mol2ParserParams())
 
RDKIT_FILEPARSERS_EXPORT std::unique_ptr< RWMolRDKit::v2::FileParsers::MolFromMol2File (const std::string &fName, const Mol2ParserParams &params=Mol2ParserParams())
 
RWMolRDKit::v1::Mol2FileToMol (const std::string &fName, bool sanitize=true, bool removeHs=true, Mol2Type variant=Mol2Type::CORINA, bool cleanupSubstructures=true)
 
RWMolRDKit::v1::Mol2DataStreamToMol (std::istream &inStream, bool sanitize=true, bool removeHs=true, Mol2Type variant=Mol2Type::CORINA, bool cleanupSubstructures=true)
 
RWMolRDKit::v1::Mol2DataStreamToMol (std::istream *inStream, bool sanitize=true, bool removeHs=true, Mol2Type variant=Mol2Type::CORINA, bool cleanupSubstructures=true)
 
RWMolRDKit::v1::Mol2BlockToMol (const std::string &molBlock, bool sanitize=true, bool removeHs=true, Mol2Type variant=Mol2Type::CORINA, bool cleanupSubstructures=true)
 
RDKIT_FILEPARSERS_EXPORT std::unique_ptr< RWMolRDKit::v2::FileParsers::MolFromXYZDataStream (std::istream &inStream)
 
RDKIT_FILEPARSERS_EXPORT std::unique_ptr< RWMolRDKit::v2::FileParsers::MolFromXYZBlock (const std::string &xyzBlock)
 
RDKIT_FILEPARSERS_EXPORT std::unique_ptr< RWMolRDKit::v2::FileParsers::MolFromXYZFile (const std::string &fName)
 
RWMolRDKit::v1::XYZDataStreamToMol (std::istream &inStream)
 
RWMolRDKit::v1::XYZBlockToMol (const std::string &xyzBlock)
 
RWMolRDKit::v1::XYZFileToMol (const std::string &fName)
 
RDKIT_FILEPARSERS_EXPORT std::unique_ptr< RWMolRDKit::v2::FileParsers::MolFromPDBDataStream (std::istream &inStream, const PDBParserParams &params=PDBParserParams())
 
RDKIT_FILEPARSERS_EXPORT std::unique_ptr< RWMolRDKit::v2::FileParsers::MolFromPDBFile (const std::string &fname, const PDBParserParams &params=PDBParserParams())
 
RDKIT_FILEPARSERS_EXPORT std::unique_ptr< RWMolRDKit::v2::FileParsers::MolFromPDBBlock (const std::string &str, const PDBParserParams &params=PDBParserParams())
 
RWMolRDKit::v1::PDBBlockToMol (const std::string &str, bool sanitize=true, bool removeHs=true, unsigned int flavor=0, bool proximityBonding=true)
 
RWMolRDKit::v1::PDBBlockToMol (const char *str, bool sanitize=true, bool removeHs=true, unsigned int flavor=0, bool proximityBonding=true)
 
RWMolRDKit::v1::PDBFileToMol (const std::string &fname, bool sanitize=true, bool removeHs=true, unsigned int flavor=0, bool proximityBonding=true)
 
RWMolRDKit::v1::PDBDataStreamToMol (std::istream &inStream, bool sanitize=true, bool removeHs=true, unsigned int flavor=0, bool proximityBonding=true)
 
RWMolRDKit::v1::PDBDataStreamToMol (std::istream *inStream, bool sanitize=true, bool removeHs=true, unsigned int flavor=0, bool proximityBonding=true)
 
RDKIT_FILEPARSERS_EXPORT RWMolRDKit::RDKitSVGToMol (const std::string &svg, bool sanitize=true, bool removeHs=true)
 
RDKIT_FILEPARSERS_EXPORT RWMolRDKit::RDKitSVGToMol (std::istream *instream, bool sanitize=true, bool removeHs=true)
 
std::unique_ptr< RDKit::RWMolRDKit::operator""_ctab (const char *text, size_t len)
 
std::unique_ptr< RDKit::RWMolRDKit::operator""_mol2 (const char *text, size_t len)
 
std::unique_ptr< RDKit::RWMolRDKit::operator""_pdb (const char *text, size_t len)