mordred.AcidBase module

References

class mordred.AcidBase.AcidicGroupCount[source]

Bases: mordred.AcidBase.SmartsCountBase

acidic group count descriptor.

SMARTS = (‘[O;H1]-[C,S,P]=O’, ‘[*;-;!$(*~[*;+])]’, ‘[NH](S(=O)=O)C(F)(F)F’, ‘n1nnnc1’)
explicit_hydrogens = True
from_json(obj)

create Descriptor instance from json dict.

Parameters:obj (dict) – descriptor dict
Returns:descriptor
Return type:Descriptor
get_parameter_dict()
kekulize = False
parameter_names = ()
require_3D = False
require_connected = False
rtype

alias of int

to_json()

convert to json serializable dictionary.

Returns:dictionary of descriptor
Return type:dict
class mordred.AcidBase.BasicGroupCount[source]

Bases: mordred.AcidBase.SmartsCountBase

basic group count descriptor.

SMARTS = (‘[NH2]-[CX4]’, ‘[NH](-[CX4])-[CX4]’, ‘N(-[CX4])(-[CX4])-[CX4]’, ‘[*;+;!$(*~[*;-])]’, ‘N=C-N’, ‘N-C=N’)
explicit_hydrogens = True
from_json(obj)

create Descriptor instance from json dict.

Parameters:obj (dict) – descriptor dict
Returns:descriptor
Return type:Descriptor
get_parameter_dict()
kekulize = False
parameter_names = ()
require_3D = False
require_connected = False
rtype

alias of int

to_json()

convert to json serializable dictionary.

Returns:dictionary of descriptor
Return type:dict