class_docstr: A featurizer that featurizes an RDKit mol object as a GraphData object with 3D coordinates. The 3D coordinates are represented in the node_pos_features attribute of the GraphData object of shape [num_atoms * num_conformers, 3].
  
  The ETKDGv2 algorithm is used to generate 3D coordinates for the molecule.
  The RDKit source for this algorithm can be found in RDkit/Code/GraphMol/DistGeomHelpers/Embedder.cpp
  The documentation can be found here:
  https://rdkit.org/docs/source/rdkit.Chem.rdDistGeom.html#rdkit.Chem.rdDistGeom.ETKDGv2
  
  This featurization requires RDKit.
  
  Examples
  --------
  >>> from deepchem.feat.molecule_featurizers.conformer_featurizer import RDKitConformerFeaturizer
  >>> featurizer = RDKitConformerFeaturizer()
  >>> molecule = "CCO"
  >>> conformer = featurizer.featurize(molecule)
  >>> print (type(conformer[0]))
  <class 'deepchem.feat.graph_data.GraphData'>
class_docstr_tok: ["A","featurizer","that","featurizes","an","RDKit","mol","object","as","a","GraphData","object","with","3D","coordinates",".","The","3D","coordinates","are","represented","in","the","node_pos_features","attribute","of","the","GraphData","object","of","shape","[","num_atoms","*","num_conformers",",","3","]",".","The","ETKDGv2","algorithm","is","used","to","generate","3D","coordinates","for","the","molecule",".","The","RDKit","source","for","this","algorithm","can","be","found","in","RDkit\/Code\/GraphMol\/DistGeomHelpers\/Embedder.cpp","The","documentation","can","be","found","here",":","https",":","\/\/rdkit.org\/docs\/source\/rdkit.Chem.rdDistGeom.html","#","rdkit.Chem.rdDistGeom.ETKDGv2","This","featurization","requires","RDKit",".","Examples","--","--","--","--",">",">",">","from","deepchem.feat.molecule_featurizers.conformer_featurizer","import","RDKitConformerFeaturizer",">",">",">","featurizer","=","RDKitConformerFeaturizer","(",")",">",">",">","molecule","=","``","CCO","''",">",">",">","conformer","=","featurizer.featurize","(","molecule",")",">",">",">","print","(","type","(","conformer","[","0","]",")",")","<","class","'deepchem.feat.graph_data.GraphData","'",">"]
docstr: Converts an RDKit atom object to a feature list of indices.
  
  Parameters
  ----------
  atom : Chem.rdchem.Atom
      RDKit atom object.
  
  Returns
  -------
  List[int]
      List of feature indices for the given atom.
docstr_tok: ["Converts","an","RDKit","atom","object","to","a","feature","list","of","indices",".","Parameters","--","--","--","--","--","atom",":","Chem.rdchem.Atom","RDKit","atom","object",".","Returns","--","--","--","-","List","[","int","]","List","of","feature","indices","for","the","given","atom","."]
code: def atom_to_feature_vector(self, atom):
      """
      Converts an RDKit atom object to a feature list of indices.
  
      Parameters
      ----------
      atom : Chem.rdchem.Atom
          RDKit atom object.
  
      Returns
      -------
      List[int]
          List of feature indices for the given atom.
      """
      atom_feature = [
          safe_index(
              allowable_features["possible_atomic_num_list"],
              atom.GetAtomicNum(),
          ),
          safe_index(
              allowable_features["possible_chirality_list"],
              str(atom.GetChiralTag()),
          ),
          safe_index(
              allowable_features["possible_degree_list"],
              atom.GetTotalDegree(),
          ),
          safe_index(
              allowable_features["possible_formal_charge_list"],
              atom.GetFormalCharge(),
          ),
          safe_index(
              allowable_features["possible_numH_list"],
              atom.GetTotalNumHs(),
          ),
          safe_index(
              allowable_features["possible_number_radical_e_list"],
              atom.GetNumRadicalElectrons(),
          ),
          safe_index(
              allowable_features["possible_hybridization_list"],
              str(atom.GetHybridization()),
          ),
          allowable_features["possible_is_aromatic_list"].index(
              atom.GetIsAromatic()
          ),
          allowable_features["possible_is_in_ring_list"].index(
              atom.IsInRing()
          ),
      ]
      return atom_feature
  
file_path: deepchem/deepchem/feat/molecule_featurizers/conformer_featurizer.py
imports: import numpy
  from rdkit import Chem
  from rdkit.Chem import AllChem
  from deepchem.feat.graph_data import GraphData
  from deepchem.feat import MolecularFeaturizer
label_desc: Use image node_id 1 for calling the RDKitConformerFeaturizer obj's underlying member method code with example usage: obj.atom_to_feature_vector(atom) and returns: atom_feature