Molecular queries
MolecularGraph.remove_hydrogens!
— Methodremove_hydrogens!(q::MolGraph) -> Nothing
Remove hydrogens from the molecular query.
Should be applied after specialize_nonaromatic!
. This function is intended for generalization of PAINS query in PubChem dataset.
MolecularGraph.QueryMolGraph
— TypeQueryMolGraph{T,V,E} <: ReactiveMolGraph{T,V,E}
Basic molecular graph type.
MolecularGraph.find_queries
— Methodfind_queries(mol::MolGraph, query_diagram; subsets=[], filtering=true
) -> DictDiGraph, vprops, eprops
Find query relationship diagram by the given molecule. The filtered diagram represents query relationship that the molecule have.
MolecularGraph.query_containment_diagram
— Methodquery_containment_diagram(;sourcefile=DEFAULT_QUERIES
) -> DictDiGraph, vprops, eprops
Generate query containment diagram.