Package Chem :: Module Fragments
[hide private]
[frames] | no frames]

Module Fragments

source code

functions to match a bunch of fragment descriptors from a file

No user-servicable parts inside.  ;-)



Functions [hide private]
 
_CountMatches(mol, patt, unique=1) source code
 
_LoadPatterns(fileName=None) source code
 
fr_Al_COO(x, y=1, z=<Chem.rdchem.Mol object at 0x8618b1c>)
Number of aliphatic carboxylic acids
source code
 
fr_Al_OH(x, y=1, z=<Chem.rdchem.Mol object at 0x861887c>)
Number of aliphatic hydroxyl groups
source code
 
fr_Al_OH_noTert(x, y=1, z=<Chem.rdchem.Mol object at 0x8670fb4>)
Number of aliphatic hydroxyl groups excluding tert-OH
source code
 
fr_ArN(x, y=1, z=<Chem.rdchem.Mol object at 0x86723e4>)
Number of N functional groups attached to aromatics
source code
 
fr_Ar_COO(x, y=1, z=<Chem.rdchem.Mol object at 0x8618ae4>)
Number of Aromatic carboxylic acide
source code
 
fr_Ar_N(x, y=1, z=<Chem.rdchem.Mol object at 0x866f33c>)
Number of aromatic nitrogens
source code
 
fr_Ar_NH(x, y=1, z=<Chem.rdchem.Mol object at 0x866f3e4>)
Number of aromatic amines
source code
 
fr_Ar_OH(x, y=1, z=<Chem.rdchem.Mol object at 0x86188ec>)
Number of aromatic hydroxyl groups
source code
 
fr_COO(x, y=1, z=<Chem.rdchem.Mol object at 0x8618c6c>)
Number of carboxylic acids
source code
 
fr_COO2(x, y=1, z=<Chem.rdchem.Mol object at 0x8618c34>)
Number of carboxylic acids
source code
 
fr_C_O(x, y=1, z=<Chem.rdchem.Mol object at 0x86187d4>)
Number of carbonyl O
source code
 
fr_C_O_noCOO(x, y=1, z=<Chem.rdchem.Mol object at 0x8618764>)
Number of carbonyl O, excluding COOH
source code
 
fr_C_S(x, y=1, z=<Chem.rdchem.Mol object at 0x867002c>)
Number of thiocarbonyl
source code
 
fr_HOCCN(x, y=1, z=<Chem.rdchem.Mol object at 0x8672454>)
Number of C(OH)CCN-Ctert-alkyl or C(OH)CCNcyclic
source code
 
fr_Imine(x, y=1, z=<Chem.rdchem.Mol object at 0x866f48c>)
Number of Imines
source code
 
fr_NH0(x, y=1, z=<Chem.rdchem.Mol object at 0x866f294>)
Number of Tertiary amines
source code
 
fr_NH1(x, y=1, z=<Chem.rdchem.Mol object at 0x866f1ec>)
Number of Secondary amines
source code
 
fr_NH2(x, y=1, z=<Chem.rdchem.Mol object at 0x866f144>)
Number of Primary amines
source code
 
fr_N_O(x, y=1, z=<Chem.rdchem.Mol object at 0x866f79c>)
Number of hydroxylamine groups
source code
 
fr_Ndealkylation1(x, y=1, z=<Chem.rdchem.Mol object at 0x8672224>)
Number of XCCNR groups
source code
 
fr_Ndealkylation2(x, y=1, z=<Chem.rdchem.Mol object at 0x8672294>)
Number of tert-alicyclic amines (no heteroatoms, not quinine-like bridged N)
source code
 
fr_Nhpyrrole(x, y=1, z=<Chem.rdchem.Mol object at 0x866fbfc>)
Number of H-pyrrole nitrogens
source code
 
fr_SH(x, y=1, z=<Chem.rdchem.Mol object at 0x866ff7c>)
Number of thiol groups
source code
 
fr_aldehyde(x, y=1, z=<Chem.rdchem.Mol object at 0x8618fb4>)
Number of aldehydes
source code
 
fr_alkyl_carbamate(x, y=1, z=<Chem.rdchem.Mol object at 0x8672304>)
Number of alkyl carbamates (subject to hydrolysis)
source code
 
fr_alkyl_halide(x, y=1, z=<Chem.rdchem.Mol object at 0x866fed4>)
Number of alkyl halides
source code
 
fr_allylic_oxid(x, y=1, z=<Chem.rdchem.Mol object at 0x8672144>)
Number of allylic oxidation sites excluding steroid dienone
source code
 
fr_amide(x, y=1, z=<Chem.rdchem.Mol object at 0x866f994>)
Number of amides
source code
 
fr_amidine(x, y=1, z=<Chem.rdchem.Mol object at 0x866fa04>)
Number of amidine groups
source code
 
fr_aniline(x, y=1, z=<Chem.rdchem.Mol object at 0x866f3ac>)
Number of anilines
source code
 
fr_aryl_methyl(x, y=1, z=<Chem.rdchem.Mol object at 0x86721b4>)
Number of aryl methyl sites for hydroxylation
source code
 
fr_azide(x, y=1, z=<Chem.rdchem.Mol object at 0x866f924>)
Number of azide groups
source code
 
fr_azo(x, y=1, z=<Chem.rdchem.Mol object at 0x866f844>)
Number of azo groups
source code
 
fr_barbitur(x, y=1, z=<Chem.rdchem.Mol object at 0x8670304>)
Number of barbiturate groups
source code
 
fr_benzene(x, y=1, z=<Chem.rdchem.Mol object at 0x8670c6c>)
Number of benzene rings
source code
 
fr_benzodiazepine(x, y=1, z=<Chem.rdchem.Mol object at 0x8672064>)
Number of benzodiazepines with no additional fused rings
source code
 
fr_bicyclic(x, y=1, z=<Chem.rdchem.Mol object at 0x8670b8c>)
Bicyclic
source code
 
fr_diazo(x, y=1, z=<Chem.rdchem.Mol object at 0x866f8b4>)
Number of diazo groups
source code
 
fr_dihydropyridine(x, y=1, z=<Chem.rdchem.Mol object at 0x8670f0c>)
Number of dihydropyridines
source code
 
fr_epoxide(x, y=1, z=<Chem.rdchem.Mol object at 0x8670a3c>)
Number of epoxide rings
source code
 
fr_ester(x, y=1, z=<Chem.rdchem.Mol object at 0x8618a74>)
Number of esters
source code
 
fr_ether(x, y=1, z=<Chem.rdchem.Mol object at 0x8618d84>)
Number of ether oxygens (including phenoxy)
source code
 
fr_furan(x, y=1, z=<Chem.rdchem.Mol object at 0x867048c>)
Number of furan rings
source code
 
fr_guanido(x, y=1, z=<Chem.rdchem.Mol object at 0x866fb54>)
Number of guanidine groups
source code
 
fr_halogen(x, y=1, z=<Chem.rdchem.Mol object at 0x866fe2c>)
Number of halogens
source code
 
fr_hdrzine(x, y=1, z=<Chem.rdchem.Mol object at 0x866f5dc>)
Number of hydrazine groups
source code
 
fr_hdrzone(x, y=1, z=<Chem.rdchem.Mol object at 0x866f6bc>)
Number of hydrazone groups
source code
 
fr_imidazole(x, y=1, z=<Chem.rdchem.Mol object at 0x86704c4>)
Number of imidazole rings
source code
 
fr_imide(x, y=1, z=<Chem.rdchem.Mol object at 0x866fbc4>)
Number of imide groups
source code
 
fr_isocyan(x, y=1, z=<Chem.rdchem.Mol object at 0x866fca4>)
Number of isocyanates
source code
 
fr_isothiocyan(x, y=1, z=<Chem.rdchem.Mol object at 0x866fd84>)
Number of isothiocyanates
source code
 
fr_ketone(x, y=1, z=<Chem.rdchem.Mol object at 0x8618cdc>)
Number of ketones
source code
 
fr_ketone_Topliss(x, y=1, z=<Chem.rdchem.Mol object at 0x8672374>)
Number of ketones excluding diaryl, a,b-unsat.
source code
 
fr_lactam(x, y=1, z=<Chem.rdchem.Mol object at 0x86708ec>)
Number of beta lactams
source code
 
fr_lactone(x, y=1, z=<Chem.rdchem.Mol object at 0x86709cc>)
Number of cyclic esters (lactones)
source code
 
fr_methoxy(x, y=1, z=<Chem.rdchem.Mol object at 0x86189cc>)
Number of methoxy groups -OCH3
source code
 
fr_morpholine(x, y=1, z=<Chem.rdchem.Mol object at 0x8670924>)
Number of morpholine rings
source code
 
fr_nitrile(x, y=1, z=<Chem.rdchem.Mol object at 0x866f4fc>)
Number of nitriles
source code
 
fr_nitro(x, y=1, z=<Chem.rdchem.Mol object at 0x866f72c>)
Number of nitro groups
source code
 
fr_nitro_arom(x, y=1, z=<Chem.rdchem.Mol object at 0x8670dbc>)
Number of nitro benzene ring substituents
source code
 
fr_nitro_arom_nonortho(x, y=1, z=<Chem.rdchem.Mol object at 0x8670e2c>)
Number of non-ortho nitro benzene ring substituents
source code
 
fr_nitroso(x, y=1, z=<Chem.rdchem.Mol object at 0x866f64c>)
Number of nitroso groups, excluding NO2
source code
 
fr_oxazole(x, y=1, z=<Chem.rdchem.Mol object at 0x867064c>)
Number of oxazole rings
source code
 
fr_oxime(x, y=1, z=<Chem.rdchem.Mol object at 0x861895c>)
Number of oxime groups
source code
 
fr_para_hydroxylation(x, y=1, z=<Chem.rdchem.Mol object at 0x86720d4>)
Number of para-hydroxylation sites
source code
 
fr_phenol(x, y=1, z=<Chem.rdchem.Mol object at 0x8618f44>)
Number of phenols
source code
 
fr_phenol_noOrthoHbond(x, y=1, z=<Chem.rdchem.Mol object at 0x8670e9c>)
Number of phenolic OH excluding ortho intramolecular Hbond substituents
source code
 
fr_phos_acid(x, y=1, z=<Chem.rdchem.Mol object at 0x8670cdc>)
Number of phosphoric acid groups
source code
 
fr_phos_ester(x, y=1, z=<Chem.rdchem.Mol object at 0x8670d4c>)
Number of phosphoric ester groups
source code
 
fr_piperdine(x, y=1, z=<Chem.rdchem.Mol object at 0x86707d4>)
Number of piperdine rings
source code
 
fr_piperzine(x, y=1, z=<Chem.rdchem.Mol object at 0x867087c>)
Number of piperzine rings
source code
 
fr_priamide(x, y=1, z=<Chem.rdchem.Mol object at 0x866fa3c>)
Number of primary amides
source code
 
fr_prisulfonamd(x, y=1, z=<Chem.rdchem.Mol object at 0x867025c>)
Number of primary sulfonamides
source code
 
fr_pyridine(x, y=1, z=<Chem.rdchem.Mol object at 0x86706bc>)
Number of pyridine rings
source code
 
fr_quatN(x, y=1, z=<Chem.rdchem.Mol object at 0x866f09c>)
Number of quarternary nitrogens
source code
 
fr_sulfide(x, y=1, z=<Chem.rdchem.Mol object at 0x866fe9c>)
Number of thioether
source code
 
fr_sulfonamd(x, y=1, z=<Chem.rdchem.Mol object at 0x8670144>)
Number of sulfonamides
source code
 
fr_sulfone(x, y=1, z=<Chem.rdchem.Mol object at 0x867009c>)
Number of sulfone groups
source code
 
fr_term_acetylene(x, y=1, z=<Chem.rdchem.Mol object at 0x867041c>)
Number of terminal acetylenes
source code
 
fr_tetrazole(x, y=1, z=<Chem.rdchem.Mol object at 0x8670aac>)
Number of tetrazole rings
source code
 
fr_thiazole(x, y=1, z=<Chem.rdchem.Mol object at 0x867056c>)
Number of thiazole rings
source code
 
fr_thiocyan(x, y=1, z=<Chem.rdchem.Mol object at 0x866fd14>)
Number of thiocyanates
source code
 
fr_thiophene(x, y=1, z=<Chem.rdchem.Mol object at 0x86705dc>)
Number of thiophene rings
source code
 
fr_unbrch_alkane(x, y=1, z=<Chem.rdchem.Mol object at 0x8670b1c>)
Number of unbranched alkanes of at least 4 members (excludes halogenated alkanes)
source code
 
fr_urea(x, y=1, z=<Chem.rdchem.Mol object at 0x86701ec>)
Number of urea groups
source code
Variables [hide private]
  defaultPatternFileName = '/scratch/RDKitBuild_24_05_08/RDKit/D...
  fns = [('fr_C_O', <function <lambda> at 0x861880c>), ('fr_C_O_...
  fn = None
  name = 'fr_HOCCN'
Function Details [hide private]

fr_ketone_Topliss(x, y=1, z=<Chem.rdchem.Mol object at 0x8672374>)

source code 
Number of ketones excluding diaryl, a,b-unsat. dienones, heteroatom on Calpha


Variables Details [hide private]

defaultPatternFileName

Value:
'/scratch/RDKitBuild_24_05_08/RDKit/Data/FragmentDescriptors.csv'

fns

Value:
[]