rdkit.Chem.rdinchi module

rdkit.Chem.rdinchi.InchiToInchiKey((str)inchi) str :

return the InChI key for an InChI string

C++ signature :

std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > InchiToInchiKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)

rdkit.Chem.rdinchi.InchiToMol((str)inchi[, (bool)sanitize=True[, (bool)removeHs=True]]) tuple :
return a ROMol for a InChI string
Returns:
a tuple with:
  • the molecule

  • the return code from the InChI conversion

  • a string with any messages from the InChI conversion

  • a string with any log messages from the InChI conversion

C++ signature :

boost::python::tuple InchiToMol(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > [,bool=True [,bool=True]])

rdkit.Chem.rdinchi.MolBlockToInchi((str)molblock[, (str)options='']) tuple :

return the InChI for a ROMol molecule.

Arguments:
Returns:
a tuple with:
  • the InChI

  • the return code from the InChI conversion

  • a string with any messages from the InChI conversion

  • a string with any log messages from the InChI conversion

  • a string with the InChI AuxInfo

C++ signature :

boost::python::tuple MolBlockToInchi(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > [,std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >=’’])

rdkit.Chem.rdinchi.MolToInchi((Mol)mol[, (str)options='']) tuple :

return the InChI for a ROMol molecule.

Arguments:
Returns:
a tuple with:
  • the InChI

  • the return code from the InChI conversion

  • a string with any messages from the InChI conversion

  • a string with any log messages from the InChI conversion

  • a string with the InChI AuxInfo

C++ signature :

boost::python::tuple MolToInchi(RDKit::ROMol [,std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >=’’])

rdkit.Chem.rdinchi.MolToInchiKey((Mol)mol[, (str)options='']) str :

return the InChI key for a ROMol molecule.

Arguments:

Returns: the InChI key

C++ signature :

std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > MolToInchiKey(RDKit::ROMol [,char const*=’’])