Molecular queries

MolecularGraph.remove_hydrogens!Method
remove_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.

source
MolecularGraph.find_queriesMethod
find_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.

source